diff --git a/404.html b/404.html index 78fee1d..74cbf82 100644 --- a/404.html +++ b/404.html @@ -1,19 +1,16 @@ - + - -Page Not Found | React Native Android Widget + +Page Not Found | React Native Android Widget - - - + + + -
-
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

\ No newline at end of file diff --git a/assets/css/styles.5d1560fa.css b/assets/css/styles.324d1268.css similarity index 58% rename from assets/css/styles.5d1560fa.css rename to assets/css/styles.324d1268.css index a08448e..43c71fb 100644 --- a/assets/css/styles.5d1560fa.css +++ b/assets/css/styles.324d1268.css @@ -1 +1 @@ -.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#0077b6;--ifm-color-primary-dark:#006ba4;--ifm-color-primary-darker:#00659b;--ifm-color-primary-darkest:#00537f;--ifm-color-primary-light:#0083c8;--ifm-color-primary-lighter:#0089d1;--ifm-color-primary-lightest:#009bed;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none,.tabItem_LNqP{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul,.tabList__CuJ{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.image-caption,.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q>:last-child,.footer__items,.image-caption p,.tabItem_Ymn6>:last-child{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right,.videoContainer_ViX2{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#3498db;--ifm-color-primary-dark:#258bcf;--ifm-color-primary-darker:#2383c4;--ifm-color-primary-darkest:#1d6ca1;--ifm-color-primary-light:#4ba4df;--ifm-color-primary-lighter:#57aae1;--ifm-color-primary-lightest:#79bbe7;--docusaurus-highlighted-code-line-bg:#0000004d}#docusaurus-base-url-issue-banner-container,#namespaces,#namespaces+ul,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,a[href="#namespaces"],html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}div[class^=announcementBar_]{--site-primary-hue-saturation:201 100%;--site-announcement-bar-stripe-color1:hsl(var(--site-primary-hue-saturation) 85%);--site-announcement-bar-stripe-color2:hsl(var(--site-primary-hue-saturation) 95%);background:repeating-linear-gradient(145deg,var(--site-announcement-bar-stripe-color1),var(--site-announcement-bar-stripe-color1) 20px,var(--site-announcement-bar-stripe-color2) 10px,var(--site-announcement-bar-stripe-color2) 40px);font-weight:700}.header-buymeacoffee-link{background-image:url(https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png);background-size:contain;height:44px!important;width:156px!important}.image-caption>figcaption{color:#828282;font-style:italic}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.docPage__5DB{flex:1 0}.docsWrapper_BCFX{display:flex;flex:1 0 auto}.features_t9lD{align-items:center;display:flex;padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.headerWrapper_sCgD{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center}.container_bfhl{flex:2}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{align-items:center;display:flex;justify-content:center;margin-bottom:2rem}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media screen and (min-width:600px){.headerWrapper_sCgD{flex-direction:row}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_Xe31{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#0077b6;--ifm-color-primary-dark:#006ba4;--ifm-color-primary-darker:#00659b;--ifm-color-primary-darkest:#00537f;--ifm-color-primary-light:#0083c8;--ifm-color-primary-lighter:#0089d1;--ifm-color-primary-lightest:#009bed;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none,.tabItem_LNqP{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul,.tabList__CuJ{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.image-caption,.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_Gvgb,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_BuS1>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child,.footer__items,.image-caption p,.tabItem_Ymn6>:last-child{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{content:"";height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter)}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right,.videoContainer_ViX2{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#3498db;--ifm-color-primary-dark:#258bcf;--ifm-color-primary-darker:#2383c4;--ifm-color-primary-darkest:#1d6ca1;--ifm-color-primary-light:#4ba4df;--ifm-color-primary-lighter:#57aae1;--ifm-color-primary-lightest:#79bbe7;--docusaurus-highlighted-code-line-bg:#0000004d}#__docusaurus-base-url-issue-banner-container,#namespaces,#namespaces+ul,.themedComponent_mlkZ,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,a[href="#namespaces"],html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}div[class^=announcementBar_]{--site-primary-hue-saturation:201 100%;--site-announcement-bar-stripe-color1:hsl(var(--site-primary-hue-saturation) 85%);--site-announcement-bar-stripe-color2:hsl(var(--site-primary-hue-saturation) 95%);background:repeating-linear-gradient(145deg,var(--site-announcement-bar-stripe-color1),var(--site-announcement-bar-stripe-color1) 20px,var(--site-announcement-bar-stripe-color2) 10px,var(--site-announcement-bar-stripe-color2) 40px);font-weight:700}.header-buymeacoffee-link{background-image:url(https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png);background-size:contain;height:44px!important;width:156px!important}.image-caption>figcaption{color:#828282;font-style:italic}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_X3D1:hover{background:var(--ifm-color-gray-800)}[data-theme=dark] .themedComponent--dark_xIcU,[data-theme=light] .themedComponent--light_NVdE,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.dropdownNavbarItemMobile_S0Fm{cursor:pointer}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}@supports selector(:has(*)){.navbarSearchContainer_Bca1:not(:has(>*)){display:none}}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_ev3q{height:auto}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.features_t9lD{align-items:center;display:flex;padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.headerWrapper_sCgD{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:center}.container_bfhl{flex:2}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{align-items:center;display:flex;justify-content:center;margin-bottom:2rem}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_PEFL{display:none;margin:0}.docSidebarContainer_YfHR,.sidebarLogo_isFc{display:none}.docMainContainer_TBSr,.docRoot_UBD9{display:flex;width:100%}.docsWrapper_hBAB{display:flex;flex:1 0 auto}@media screen and (min-width:600px){.headerWrapper_sCgD{flex-direction:row}}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.navbarSearchContainer_Bca1{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_TmdG:focus,.expandButton_TmdG:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{opacity:0;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_Bca1{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/0124b8bf.1d413b6c.js b/assets/js/0124b8bf.1d413b6c.js deleted file mode 100644 index 5b1952e..0000000 --- a/assets/js/0124b8bf.1d413b6c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2934],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>k});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),d=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=d(e.components);return n.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=d(r),k=a,m=s["".concat(p,".").concat(k)]||s[k]||u[k]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function k(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=s;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,i[1]=l;for(var d=2;d{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>l,toc:()=>d});var n=r(7462),a=(r(7294),r(3905));const o={id:"BackgroundStyleProps",title:"Interface: BackgroundStyleProps",sidebar_label:"BackgroundStyleProps",sidebar_position:0,custom_edit_url:null},i=void 0,l={unversionedId:"public-api/interfaces/BackgroundStyleProps",id:"public-api/interfaces/BackgroundStyleProps",title:"Interface: BackgroundStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/BackgroundStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BackgroundStyleProps",title:"Interface: BackgroundStyleProps",sidebar_label:"BackgroundStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"Exports",permalink:"/react-native-android-widget/docs/public-api/"},next:{title:"BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"}},p={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4}],c={toc:d};function u(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"BackgroundStyleProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"ListWidgetStyle"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Object")),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"from")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"to")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"orientation")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0124b8bf.e95477ab.js b/assets/js/0124b8bf.e95477ab.js new file mode 100644 index 0000000..bc3735f --- /dev/null +++ b/assets/js/0124b8bf.e95477ab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2934],{6583:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>d,metadata:()=>l,toc:()=>s});var n=t(5893),i=t(1151);const d={id:"BackgroundStyleProps",title:"Interface: BackgroundStyleProps",sidebar_label:"BackgroundStyleProps",sidebar_position:0,custom_edit_url:null},c=void 0,l={id:"public-api/interfaces/BackgroundStyleProps",title:"Interface: BackgroundStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/BackgroundStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BackgroundStyleProps",title:"Interface: BackgroundStyleProps",sidebar_label:"BackgroundStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"Exports",permalink:"/react-native-android-widget/docs/public-api/"},next:{title:"BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"}},o={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"BackgroundStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",children:(0,n.jsx)(r.code,{children:"ListWidgetStyle"})})]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]})]})}function h(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1151:(e,r,t)=>{t.d(r,{Z:()=>l,a:()=>c});var n=t(7294);const i={},d=n.createContext(i);function c(e){const r=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),n.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/01e0afe4.195da2d6.js b/assets/js/01e0afe4.195da2d6.js deleted file mode 100644 index fd48303..0000000 --- a/assets/js/01e0afe4.195da2d6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7291],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>m});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=r.createContext({}),l=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=l(e.components);return r.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,s=e.parentName,c=d(e,["components","mdxType","originalType","parentName"]),g=l(n),m=i,u=g["".concat(s,".").concat(m)]||g[m]||p[m]||a;return n?r.createElement(u,o(o({ref:t},c),{},{components:n})):r.createElement(u,o({ref:t},c))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=g;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:i,o[1]=d;for(var l=2;l{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>d,toc:()=>l});var r=n(7462),i=(n(7294),n(3905));const a={sidebar_position:1},o="Widget Design",d={unversionedId:"tutorial/widget-design",id:"tutorial/widget-design",title:"Widget Design",description:"This library provides a few primitives that we can use to create widgets.",source:"@site/docs/tutorial/widget-design.md",sourceDirName:"tutorial",slug:"/tutorial/widget-design",permalink:"/react-native-android-widget/docs/tutorial/widget-design",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/widget-design.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Getting Started",permalink:"/react-native-android-widget/docs/"},next:{title:"Widget Preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview"}},s={},l=[],c={toc:l};function p(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"widget-design"},"Widget Design"),(0,i.kt)("p",null,"This library provides a few primitives that we can use to create widgets."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/flex-widget"},"FlexWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/overlap-widget"},"OverlapWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/list-widget"},"ListWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/text-widget"},"TextWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/image-widget"},"ImageWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/icon-widget"},"IconWidget")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/primitives/svg-widget"},"SvgWidget"))),(0,i.kt)("p",null,"You can read more about them and their props in their respective pages."),(0,i.kt)("admonition",{title:"Hooks",type:"danger"},(0,i.kt)("p",{parentName:"admonition"},"Widgets ",(0,i.kt)("strong",{parentName:"p"},"must not")," use any hooks. They ",(0,i.kt)("strong",{parentName:"p"},"must")," be functions that return some of the primitives."),(0,i.kt)("p",{parentName:"admonition"},"We can create custom components, but at the end they must use only the primitives, not ",(0,i.kt)("inlineCode",{parentName:"p"},"View"),", ",(0,i.kt)("inlineCode",{parentName:"p"},"Text"),", or any other React Native component."),(0,i.kt)("p",{parentName:"admonition"},"We can also use conditions, for/map, standard jsx. They cannot be async.")),(0,i.kt)("p",null,'We\'ll start with a Basic widget that says "Hello".'),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="HelloWidget.tsx"',title:'"HelloWidget.tsx"'},"import React from 'react';\nimport { FlexWidget, TextWidget } from 'react-native-android-widget';\n\nexport function HelloWidget() {\n return (\n \n \n \n );\n}\n")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/01e0afe4.34057d77.js b/assets/js/01e0afe4.34057d77.js new file mode 100644 index 0000000..60676c0 --- /dev/null +++ b/assets/js/01e0afe4.34057d77.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7291],{4060:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>g,frontMatter:()=>d,metadata:()=>o,toc:()=>c});var n=i(5893),r=i(1151);const d={sidebar_position:1},s="Widget Design",o={id:"tutorial/widget-design",title:"Widget Design",description:"This library provides a few primitives that we can use to create widgets.",source:"@site/docs/tutorial/widget-design.md",sourceDirName:"tutorial",slug:"/tutorial/widget-design",permalink:"/react-native-android-widget/docs/tutorial/widget-design",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/widget-design.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Getting Started",permalink:"/react-native-android-widget/docs/"},next:{title:"Widget Preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview"}},a={},c=[];function l(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"widget-design",children:"Widget Design"}),"\n",(0,n.jsx)(t.p,{children:"This library provides a few primitives that we can use to create widgets."}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/flex-widget",children:"FlexWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/overlap-widget",children:"OverlapWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/list-widget",children:"ListWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/text-widget",children:"TextWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/image-widget",children:"ImageWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/icon-widget",children:"IconWidget"})}),"\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/primitives/svg-widget",children:"SvgWidget"})}),"\n"]}),"\n",(0,n.jsx)(t.p,{children:"You can read more about them and their props in their respective pages."}),"\n",(0,n.jsxs)(t.admonition,{title:"Hooks",type:"danger",children:[(0,n.jsxs)(t.p,{children:["Widgets ",(0,n.jsx)(t.strong,{children:"must not"})," use any hooks. They ",(0,n.jsx)(t.strong,{children:"must"})," be functions that return some of the primitives."]}),(0,n.jsxs)(t.p,{children:["We can create custom components, but at the end they must use only the primitives, not ",(0,n.jsx)(t.code,{children:"View"}),", ",(0,n.jsx)(t.code,{children:"Text"}),", or any other React Native component."]}),(0,n.jsx)(t.p,{children:"We can also use conditions, for/map, standard jsx. They cannot be async."})]}),"\n",(0,n.jsx)(t.p,{children:'We\'ll start with a Basic widget that says "Hello".'}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-jsx",metastring:'title="HelloWidget.tsx"',children:"import React from 'react';\nimport { FlexWidget, TextWidget } from 'react-native-android-widget';\n\nexport function HelloWidget() {\n return (\n \n \n \n );\n}\n"})})]})}function g(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>s});var n=i(7294);const r={},d=n.createContext(r);function s(e){const t=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0314676f.e709c05d.js b/assets/js/0314676f.e709c05d.js new file mode 100644 index 0000000..3d300ba --- /dev/null +++ b/assets/js/0314676f.e709c05d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5020],{2861:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>s,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var c=n(5893),t=n(1151);const r={id:"IconWidgetProps",title:"Interface: IconWidgetProps",sidebar_label:"IconWidgetProps",sidebar_position:0,custom_edit_url:null},d=void 0,o={id:"public-api/interfaces/IconWidgetProps",title:"Interface: IconWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/IconWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IconWidgetProps",title:"Interface: IconWidgetProps",sidebar_label:"IconWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"},next:{title:"IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"}},s={},l=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"icon",id:"icon",level:3},{value:"size",id:"size",level:3},{value:"font",id:"font",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:["\n",(0,c.jsx)(i.p,{children:(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,c.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,c.jsxs)(i.p,{children:["\u21b3 ",(0,c.jsx)(i.strong,{children:(0,c.jsx)(i.code,{children:"IconWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(i.h3,{id:"icon",children:"icon"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"icon"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"Icon from the specified font"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"size",children:"size"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"size"}),": ",(0,c.jsx)(i.code,{children:"number"})]}),"\n",(0,c.jsx)(i.p,{children:"Size of the icon"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"font",children:"font"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"font"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"Font of the icon. It must be added to the application"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"style"}),": ",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",children:(0,c.jsx)(i.code,{children:"IconWidgetStyle"})})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickAction"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,c.jsxs)(i.p,{children:["There are a few special values for ",(0,c.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(i.p,{children:"Those are:"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," does not require ",(0,c.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," requires a ",(0,c.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickActionData"}),": ",(0,c.jsx)(i.code,{children:"Record"}),"<",(0,c.jsx)(i.code,{children:"string"}),", ",(0,c.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,c.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,c.jsxs)(i.p,{children:["If ",(0,c.jsx)(i.code,{children:"clickAction"})," is ",(0,c.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,c.jsx)(i,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>o,a:()=>d});var c=n(7294);const t={},r=c.createContext(t);function d(e){const i=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),c.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0314676f.f6f8ac51.js b/assets/js/0314676f.f6f8ac51.js deleted file mode 100644 index 1fa7c19..0000000 --- a/assets/js/0314676f.f6f8ac51.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5020],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>k});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e){for(var t=1;t=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var c=n.createContext({}),p=function(e){var t=n.useContext(c),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},d=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(i),k=r,m=u["".concat(c,".").concat(k)]||u[k]||s[k]||a;return i?n.createElement(m,o(o({ref:t},d),{},{components:i})):n.createElement(m,o({ref:t},d))}));function k(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,o=new Array(a);o[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var p=2;p{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var n=i(7462),r=(i(7294),i(3905));const a={id:"IconWidgetProps",title:"Interface: IconWidgetProps",sidebar_label:"IconWidgetProps",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/IconWidgetProps",id:"public-api/interfaces/IconWidgetProps",title:"Interface: IconWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/IconWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IconWidgetProps",title:"Interface: IconWidgetProps",sidebar_label:"IconWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"},next:{title:"IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"}},c={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"icon",id:"icon",level:3},{value:"size",id:"size",level:3},{value:"font",id:"font",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:p};function s(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"IconWidgetProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"icon"},"icon"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"icon"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"Icon from the specified font"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"size"},"size"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"size"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("p",null,"Size of the icon"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"font"},"font"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"font"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"Font of the icon. It must be added to the application"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"style"},"style"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"style"),": ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"},(0,r.kt)("inlineCode",{parentName:"a"},"IconWidgetStyle"))),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickaction"},"clickAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,r.kt)("p",null,"There are a few special values for ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,r.kt)("p",null,"Those are:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,r.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,r.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,r.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,r.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,r.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,r.kt)("p",null,"If ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,r.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,r.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/080db9a4.14015309.js b/assets/js/080db9a4.14015309.js deleted file mode 100644 index 7eb7c4d..0000000 --- a/assets/js/080db9a4.14015309.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6342],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,f=u["".concat(p,".").concat(m)]||u[m]||d[m]||i;return r?n.createElement(f,o(o({ref:t},s),{},{components:r})):n.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var n=r(7462),a=(r(7294),r(3905));const i={id:"TextWidget",title:"Namespace: TextWidget",sidebar_label:"TextWidget",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/namespaces/TextWidget",id:"public-api/namespaces/TextWidget",title:"Namespace: TextWidget",description:"Functions",source:"@site/docs/public-api/namespaces/TextWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/TextWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/TextWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidget",title:"Namespace: TextWidget",sidebar_label:"TextWidget",sidebar_position:0,custom_edit_url:null}},p={},c=[{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"TextWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TextWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"TextWidgetInternalProps")),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0cb0f7cb.196c8d6b.js b/assets/js/0cb0f7cb.196c8d6b.js new file mode 100644 index 0000000..ef7cdaf --- /dev/null +++ b/assets/js/0cb0f7cb.196c8d6b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7374],{5672:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var d=i(5893),n=i(1151);const o={id:"OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",sidebar_label:"OverlapWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OverlapWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",sidebar_label:"OverlapWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},next:{title:"PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"overflow",id:"overflow",level:3},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,d.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"OverlapWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"overflow",children:"overflow"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"overflow"}),": ",(0,d.jsx)(r.code,{children:'"hidden"'})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"margin"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"padding"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"height"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"width"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,d.jsx)(r.code,{children:"Object"})]}),"\n",(0,d.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"from"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"to"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"orientation"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,d.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,d.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,d.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,d.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,d.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,d.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,d.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderStyle"}),": ",(0,d.jsx)(r.code,{children:'"solid"'})," | ",(0,d.jsx)(r.code,{children:'"dotted"'})," | ",(0,d.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"rotation"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function h(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var d=i(7294);const n={},o=d.createContext(n);function t(e){const r=d.useContext(o);return d.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),d.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0cb0f7cb.666764a6.js b/assets/js/0cb0f7cb.666764a6.js deleted file mode 100644 index c1f8a6f..0000000 --- a/assets/js/0cb0f7cb.666764a6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7374],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>k});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=i.createContext({}),p=function(e){var t=i.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},m=function(e){var t=p(e.components);return i.createElement(l.Provider,{value:t},e.children)},h={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},c=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),c=p(r),k=n,s=c["".concat(l,".").concat(k)]||c[k]||h[k]||a;return r?i.createElement(s,o(o({ref:t},m),{},{components:r})):i.createElement(s,o({ref:t},m))}));function k(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=c;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:n,o[1]=d;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>d,toc:()=>p});var i=r(7462),n=(r(7294),r(3905));const a={id:"OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",sidebar_label:"OverlapWidgetStyle",sidebar_position:0,custom_edit_url:null},o=void 0,d={unversionedId:"public-api/interfaces/OverlapWidgetStyle",id:"public-api/interfaces/OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OverlapWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OverlapWidgetStyle",title:"Interface: OverlapWidgetStyle",sidebar_label:"OverlapWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},next:{title:"PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"}},l={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"overflow",id:"overflow",level:3},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}],m={toc:p};function h(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"OverlapWidgetStyle"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"overflow"},"overflow"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"overflow"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"hidden"')),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margin"},"margin"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"margin"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin"},"margin")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal"},"marginHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical"},"marginVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margintop"},"marginTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop"},"marginTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom"},"marginBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginleft"},"marginLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft"},"marginLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginright"},"marginRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright"},"marginRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"padding"},"padding"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"padding"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding"},"padding")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal"},"paddingHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical"},"paddingVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop"},"paddingTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom"},"paddingBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft"},"paddingLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingright"},"paddingRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright"},"paddingRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"height"},"height"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"height"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height"},"height")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"width"},"width"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"width"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width"},"width")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor"},"backgroundColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Object")),(0,n.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"from")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"to")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"orientation")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,n.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient"},"backgroundGradient")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth"},"borderWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth"},"borderTopWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth"},"borderBottomWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth"},"borderLeftWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth"},"borderRightWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordercolor"},"borderColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor"},"borderColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor"},"borderTopColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor"},"borderBottomColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor"},"borderLeftColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor"},"borderRightColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderradius"},"borderRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius"},"borderRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius"},"borderTopLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius"},"borderTopRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius"},"borderBottomLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius"},"borderBottomRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,n.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle"},"borderStyle")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"rotation"},"rotation"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"rotation"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation"},"rotation")))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/11884ede.2c50a5db.js b/assets/js/11884ede.2c50a5db.js deleted file mode 100644 index 30b9cab..0000000 --- a/assets/js/11884ede.2c50a5db.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5266],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,g=u["".concat(p,".").concat(m)]||u[m]||d[m]||i;return r?n.createElement(g,o(o({ref:t},s),{},{components:r})):n.createElement(g,o({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var n=r(7462),a=(r(7294),r(3905));const i={id:"SvgWidget",title:"Namespace: SvgWidget",sidebar_label:"SvgWidget",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/namespaces/SvgWidget",id:"public-api/namespaces/SvgWidget",title:"Namespace: SvgWidget",description:"Variables",source:"@site/docs/public-api/namespaces/SvgWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/SvgWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/SvgWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SvgWidget",title:"Namespace: SvgWidget",sidebar_label:"SvgWidget",sidebar_position:0,custom_edit_url:null}},p={},c=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"SvgWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"SvgWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"SvgWidgetInternalProps")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1476a8a4.956acaa2.js b/assets/js/1476a8a4.956acaa2.js new file mode 100644 index 0000000..26bf275 --- /dev/null +++ b/assets/js/1476a8a4.956acaa2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5087],{1605:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var n=i(5893),s=i(1151);const a={sidebar_position:7,sidebar_label:"Limitations"},o="Limitations",r={id:"limitations",title:"Limitations",description:"There are some limitations to this library.",source:"@site/docs/limitations.md",sourceDirName:".",slug:"/limitations",permalink:"/react-native-android-widget/docs/limitations",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/limitations.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7,sidebar_label:"Limitations"},sidebar:"default",previous:{title:"Demo",permalink:"/react-native-android-widget/docs/demo"}},c={},d=[];function l(e){const t={h1:"h1",img:"img",p:"p",strong:"strong",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"limitations",children:"Limitations"}),"\n",(0,n.jsx)(t.p,{children:"There are some limitations to this library."}),"\n",(0,n.jsxs)(t.p,{children:["We cannot render React Native views directly to the widget.\nWhat this library does is render the React Native views to an image, and then show that image in the widget.\nFor it to look good, we need to know the ",(0,n.jsx)(t.strong,{children:"exact"})," size of the widget, so we can create an image that will fit the widget correctly."]}),"\n",(0,n.jsx)(t.p,{children:"On some Android launchers, the reported and actual size of the widget are not always the same."}),"\n",(0,n.jsxs)("figure",{className:"image-caption",children:[(0,n.jsx)(t.p,{children:(0,n.jsx)(t.img,{src:"https://user-images.githubusercontent.com/7473800/244463696-2c017d1a-34b8-4a20-9f2e-22b4a3d9a739.png",alt:"Actual size"})}),(0,n.jsx)("figcaption",{children:"Actual size (365dp x 318dp)"})]}),"\n",(0,n.jsxs)("figure",{className:"image-caption",children:[(0,n.jsx)(t.p,{children:(0,n.jsx)(t.img,{src:"https://user-images.githubusercontent.com/7473800/244463758-534f54a0-f3d2-4a0f-aaaa-0f2c5fc259b8.png",alt:"Reported size"})}),(0,n.jsx)("figcaption",{children:"Reported size (365dp x 354dp)"})]}),"\n",(0,n.jsxs)(t.p,{children:["I haven't found a reliable way to get the ",(0,n.jsx)(t.strong,{children:"exact"})," size, the current behavior is to crop the widget if the reported size is smaller."]})]})}function h(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>r,a:()=>o});var n=i(7294);const s={},a=n.createContext(s);function o(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1476a8a4.a0ba16bc.js b/assets/js/1476a8a4.a0ba16bc.js deleted file mode 100644 index 0cfeecd..0000000 --- a/assets/js/1476a8a4.a0ba16bc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5087],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(r),m=i,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,o(o({ref:t},p),{},{components:r})):n.createElement(f,o({ref:t},p))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:i,o[1]=s;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var n=r(7462),i=(r(7294),r(3905));const a={sidebar_position:7,sidebar_label:"Limitations"},o="Limitations",s={unversionedId:"limitations",id:"limitations",title:"Limitations",description:"There are some limitations to this library.",source:"@site/docs/limitations.md",sourceDirName:".",slug:"/limitations",permalink:"/react-native-android-widget/docs/limitations",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/limitations.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7,sidebar_label:"Limitations"},sidebar:"default",previous:{title:"Demo",permalink:"/react-native-android-widget/docs/demo"}},c={},l=[],p={toc:l};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"limitations"},"Limitations"),(0,i.kt)("p",null,"There are some limitations to this library."),(0,i.kt)("p",null,"We cannot render React Native views directly to the widget.\nWhat this library does is render the React Native views to an image, and then show that image in the widget.\nFor it to look good, we need to know the ",(0,i.kt)("strong",{parentName:"p"},"exact")," size of the widget, so we can create an image that will fit the widget correctly."),(0,i.kt)("p",null,"On some Android launchers, the reported and actual size of the widget are not always the same."),(0,i.kt)("figure",{className:"image-caption"},(0,i.kt)("p",null,(0,i.kt)("img",{parentName:"p",src:"https://user-images.githubusercontent.com/7473800/244463696-2c017d1a-34b8-4a20-9f2e-22b4a3d9a739.png",alt:"Actual size"})),(0,i.kt)("figcaption",null,"Actual size (365dp x 318dp)")),(0,i.kt)("figure",{className:"image-caption"},(0,i.kt)("p",null,(0,i.kt)("img",{parentName:"p",src:"https://user-images.githubusercontent.com/7473800/244463758-534f54a0-f3d2-4a0f-aaaa-0f2c5fc259b8.png",alt:"Reported size"})),(0,i.kt)("figcaption",null,"Reported size (365dp x 354dp)")),(0,i.kt)("p",null,"I haven't found a reliable way to get the ",(0,i.kt)("strong",{parentName:"p"},"exact")," size, the current behavior is to crop the widget if the reported size is smaller."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.6ba8c834.js b/assets/js/14eb3368.6ba8c834.js deleted file mode 100644 index 7c95fc5..0000000 --- a/assets/js/14eb3368.6ba8c834.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9817],{1310:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(7462),r=n(7294),i=n(6010),l=n(5281),s=n(3438),c=n(8596),o=n(9960),m=n(5999),d=n(4996);function u(e){return r.createElement("svg",(0,a.Z)({viewBox:"0 0 24 24"},e),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const h="breadcrumbHomeIcon_YNFT";function b(){const e=(0,d.Z)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(o.Z,{"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},r.createElement(u,{className:h})))}const v="breadcrumbsContainer_Z_bl";function g(e){let{children:t,href:n,isLast:a}=e;const i="breadcrumbs__link";return a?r.createElement("span",{className:i,itemProp:"name"},t):n?r.createElement(o.Z,{className:i,href:n,itemProp:"item"},r.createElement("span",{itemProp:"name"},t)):r.createElement("span",{className:i},t)}function p(e){let{children:t,active:n,index:l,addMicrodata:s}=e;return r.createElement("li",(0,a.Z)({},s&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,r.createElement("meta",{itemProp:"position",content:String(l+1)}))}function E(){const e=(0,s.s1)(),t=(0,c.Ns)();return e?r.createElement("nav",{className:(0,i.Z)(l.k.docs.docBreadcrumbs,v),"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&r.createElement(b,null),e.map(((t,n)=>{const a=n===e.length-1;return r.createElement(p,{key:n,active:a,index:n,addMicrodata:!!t.href},r.createElement(g,{href:t.href,isLast:a},t.label))})))):null}},4228:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var a=n(7294),r=n(1944),i=n(3438),l=n(4996),s=n(6010),c=n(9960),o=n(3919),m=n(5999);const d="cardContainer_fWXF",u="cardTitle_rnsV",h="cardDescription_PWke";function b(e){let{href:t,children:n}=e;return a.createElement(c.Z,{href:t,className:(0,s.Z)("card padding--lg",d)},n)}function v(e){let{href:t,icon:n,title:r,description:i}=e;return a.createElement(b,{href:t},a.createElement("h2",{className:(0,s.Z)("text--truncate",u),title:r},n," ",r),i&&a.createElement("p",{className:(0,s.Z)("text--truncate",h),title:i},i))}function g(e){let{item:t}=e;const n=(0,i.Wl)(t);return n?a.createElement(v,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??(0,m.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function p(e){let{item:t}=e;const n=(0,o.Z)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,i.xz)(t.docId??void 0);return a.createElement(v,{href:t.href,icon:n,title:t.label,description:t.description??(null==r?void 0:r.description)})}function E(e){let{item:t}=e;switch(t.type){case"link":return a.createElement(p,{item:t});case"category":return a.createElement(g,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function f(e){let{className:t}=e;const n=(0,i.jA)();return a.createElement(N,{items:n.items,className:t})}function N(e){const{items:t,className:n}=e;if(!t)return a.createElement(f,e);const r=(0,i.MN)(t);return a.createElement("section",{className:(0,s.Z)("row",n)},r.map(((e,t)=>a.createElement("article",{key:t,className:"col col--6 margin-bottom--lg"},a.createElement(E,{item:e})))))}var Z=n(4966),_=n(3120),k=n(4364),L=n(1310),T=n(7955);const x="generatedIndexPage_vN6x",y="list_eTzJ",w="title_kItE";function I(e){let{categoryGeneratedIndex:t}=e;return a.createElement(r.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,l.Z)(t.image)})}function V(e){let{categoryGeneratedIndex:t}=e;const n=(0,i.jA)();return a.createElement("div",{className:x},a.createElement(_.Z,null),a.createElement(L.Z,null),a.createElement(k.Z,null),a.createElement("header",null,a.createElement(T.Z,{as:"h1",className:w},t.title),t.description&&a.createElement("p",null,t.description)),a.createElement("article",{className:"margin-top--lg"},a.createElement(N,{items:n.items,className:y})),a.createElement("footer",{className:"margin-top--lg"},a.createElement(Z.Z,{previous:t.navigation.previous,next:t.navigation.next})))}function A(e){return a.createElement(a.Fragment,null,a.createElement(I,e),a.createElement(V,e))}},4966:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(7462),r=n(7294),i=n(5999),l=n(6010),s=n(9960);function c(e){const{permalink:t,title:n,subLabel:a,isNext:i}=e;return r.createElement(s.Z,{className:(0,l.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},a&&r.createElement("div",{className:"pagination-nav__sublabel"},a),r.createElement("div",{className:"pagination-nav__label"},n))}function o(e){const{previous:t,next:n}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&r.createElement(c,(0,a.Z)({},t,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&r.createElement(c,(0,a.Z)({},n,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4364:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),r=n(6010),i=n(5999),l=n(5281),s=n(4477);function c(e){let{className:t}=e;const n=(0,s.E)();return n.badge?a.createElement("span",{className:(0,r.Z)(t,l.k.docs.docVersionBadge,"badge badge--secondary")},a.createElement(i.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},3120:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(7294),r=n(6010),i=n(2263),l=n(9960),s=n(5999),c=n(143),o=n(5281),m=n(373),d=n(4477);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function h(e){const t=u[e.versionMetadata.banner];return a.createElement(t,e)}function b(e){let{versionLabel:t,to:n,onClick:r}=e;return a.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:a.createElement("b",null,a.createElement(l.Z,{to:n,onClick:r},a.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function v(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:s}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,m.J)(s),{latestDocSuggestion:u,latestVersionSuggestion:v}=(0,c.Jo)(s),g=u??(p=v).docs.find((e=>e.id===p.mainDocId));var p;return a.createElement("div",{className:(0,r.Z)(t,o.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},a.createElement("div",null,a.createElement(h,{siteTitle:l,versionMetadata:n})),a.createElement("div",{className:"margin-top--md"},a.createElement(b,{versionLabel:v.label,to:g.path,onClick:()=>d(v.name)})))}function g(e){let{className:t}=e;const n=(0,d.E)();return n.banner?a.createElement(v,{className:t,versionMetadata:n}):null}},7955:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(7462),r=n(7294),i=n(6010),l=n(5999),s=n(6668),c=n(9960);const o="anchorWithStickyNavbar_LWe7",m="anchorWithHideOnScrollNavbar_WYt5";function d(e){let{as:t,id:n,...d}=e;const{navbar:{hideOnScroll:u}}=(0,s.L)();if("h1"===t||!n)return r.createElement(t,(0,a.Z)({},d,{id:void 0}));const h=(0,l.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof d.children?d.children:n});return r.createElement(t,(0,a.Z)({},d,{className:(0,i.Z)("anchor",u?m:o,d.className),id:n}),d.children,r.createElement(c.Z,{className:"hash-link",to:`#${n}`,"aria-label":h,title:h},"\u200b"))}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.dbedd089.js b/assets/js/14eb3368.dbedd089.js new file mode 100644 index 0000000..f0cbb08 --- /dev/null +++ b/assets/js/14eb3368.dbedd089.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9817],{1310:(e,t,s)=>{s.d(t,{Z:()=>p});s(7294);var n=s(512),i=s(5281),a=s(3438),r=s(8596),c=s(3692),o=s(5999),l=s(4996),d=s(5893);function m(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const u={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function h(){const e=(0,l.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(c.Z,{"aria-label":(0,o.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(m,{className:u.breadcrumbHomeIcon})})})}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function x(e){let{children:t,href:s,isLast:n}=e;const i="breadcrumbs__link";return n?(0,d.jsx)("span",{className:i,itemProp:"name",children:t}):s?(0,d.jsx)(c.Z,{className:i,href:s,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:i,children:t})}function v(e){let{children:t,active:s,index:i,addMicrodata:a}=e;return(0,d.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,n.Z)("breadcrumbs__item",{"breadcrumbs__item--active":s}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(i+1)})]})}function p(){const e=(0,a.s1)(),t=(0,r.Ns)();return e?(0,d.jsx)("nav",{className:(0,n.Z)(i.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,o.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,s)=>{const n=s===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(v,{active:n,index:s,addMicrodata:!!i,children:(0,d.jsx)(x,{href:i,isLast:n,children:t.label})},s)}))]})}):null}},4228:(e,t,s)=>{s.r(t),s.d(t,{default:()=>I});s(7294);var n=s(1944),i=s(3438),a=s(4996),r=s(512),c=s(3692),o=s(3919),l=s(5999),d=s(7955);const m={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var u=s(5893);function h(e){let{href:t,children:s}=e;return(0,u.jsx)(c.Z,{href:t,className:(0,r.Z)("card padding--lg",m.cardContainer),children:s})}function b(e){let{href:t,icon:s,title:n,description:i}=e;return(0,u.jsxs)(h,{href:t,children:[(0,u.jsxs)(d.Z,{as:"h2",className:(0,r.Z)("text--truncate",m.cardTitle),title:n,children:[s," ",n]}),i&&(0,u.jsx)("p",{className:(0,r.Z)("text--truncate",m.cardDescription),title:i,children:i})]})}function x(e){let{item:t}=e;const s=(0,i.LM)(t);return s?(0,u.jsx)(b,{href:s,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??(0,l.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){let{item:t}=e;const s=(0,o.Z)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",n=(0,i.xz)(t.docId??void 0);return(0,u.jsx)(b,{href:t.href,icon:s,title:t.label,description:t.description??n?.description})}function p(e){let{item:t}=e;switch(t.type){case"link":return(0,u.jsx)(v,{item:t});case"category":return(0,u.jsx)(x,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e;const s=(0,i.jA)();return(0,u.jsx)(j,{items:s.items,className:t})}function j(e){const{items:t,className:s}=e;if(!t)return(0,u.jsx)(g,{...e});const n=(0,i.MN)(t);return(0,u.jsx)("section",{className:(0,r.Z)("row",s),children:n.map(((e,t)=>(0,u.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,u.jsx)(p,{item:e})},t)))})}var f=s(4966),N=s(3120),_=s(4364),Z=s(1310);const L={generatedIndexPage:"generatedIndexPage_vN6x",list:"list_eTzJ",title:"title_kItE"};function k(e){let{categoryGeneratedIndex:t}=e;return(0,u.jsx)(n.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,a.Z)(t.image)})}function T(e){let{categoryGeneratedIndex:t}=e;const s=(0,i.jA)();return(0,u.jsxs)("div",{className:L.generatedIndexPage,children:[(0,u.jsx)(N.Z,{}),(0,u.jsx)(Z.Z,{}),(0,u.jsx)(_.Z,{}),(0,u.jsxs)("header",{children:[(0,u.jsx)(d.Z,{as:"h1",className:L.title,children:t.title}),t.description&&(0,u.jsx)("p",{children:t.description})]}),(0,u.jsx)("article",{className:"margin-top--lg",children:(0,u.jsx)(j,{items:s.items,className:L.list})}),(0,u.jsx)("footer",{className:"margin-top--lg",children:(0,u.jsx)(f.Z,{previous:t.navigation.previous,next:t.navigation.next})})]})}function I(e){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(k,{...e}),(0,u.jsx)(T,{...e})]})}},4966:(e,t,s)=>{s.d(t,{Z:()=>o});s(7294);var n=s(5999),i=s(512),a=s(3692),r=s(5893);function c(e){const{permalink:t,title:s,subLabel:n,isNext:c}=e;return(0,r.jsxs)(a.Z,{className:(0,i.Z)("pagination-nav__link",c?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[n&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:n}),(0,r.jsx)("div",{className:"pagination-nav__label",children:s})]})}function o(e){const{previous:t,next:s}=e;return(0,r.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,n.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,r.jsx)(c,{...t,subLabel:(0,r.jsx)(n.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),s&&(0,r.jsx)(c,{...s,subLabel:(0,r.jsx)(n.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},4364:(e,t,s)=>{s.d(t,{Z:()=>o});s(7294);var n=s(512),i=s(5999),a=s(5281),r=s(4477),c=s(5893);function o(e){let{className:t}=e;const s=(0,r.E)();return s.badge?(0,c.jsx)("span",{className:(0,n.Z)(t,a.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,c.jsx)(i.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:s.label},children:"Version: {versionLabel}"})}):null}},3120:(e,t,s)=>{s.d(t,{Z:()=>v});s(7294);var n=s(512),i=s(2263),a=s(3692),r=s(5999),c=s(143),o=s(5281),l=s(373),d=s(4477),m=s(5893);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:s}=e;return(0,m.jsx)(r.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,m.jsx)("b",{children:s.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:s}=e;return(0,m.jsx)(r.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,m.jsx)("b",{children:s.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=u[e.versionMetadata.banner];return(0,m.jsx)(t,{...e})}function b(e){let{versionLabel:t,to:s,onClick:n}=e;return(0,m.jsx)(r.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,m.jsx)("b",{children:(0,m.jsx)(a.Z,{to:s,onClick:n,children:(0,m.jsx)(r.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function x(e){let{className:t,versionMetadata:s}=e;const{siteConfig:{title:a}}=(0,i.Z)(),{pluginId:r}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,l.J)(r),{latestDocSuggestion:u,latestVersionSuggestion:x}=(0,c.Jo)(r),v=u??(p=x).docs.find((e=>e.id===p.mainDocId));var p;return(0,m.jsxs)("div",{className:(0,n.Z)(t,o.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,m.jsx)("div",{children:(0,m.jsx)(h,{siteTitle:a,versionMetadata:s})}),(0,m.jsx)("div",{className:"margin-top--md",children:(0,m.jsx)(b,{versionLabel:x.label,to:v.path,onClick:()=>d(x.name)})})]})}function v(e){let{className:t}=e;const s=(0,d.E)();return s.banner?(0,m.jsx)(x,{className:t,versionMetadata:s}):null}}}]); \ No newline at end of file diff --git a/assets/js/1772.44679dd4.js b/assets/js/1772.44679dd4.js new file mode 100644 index 0000000..7658eaa --- /dev/null +++ b/assets/js/1772.44679dd4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1772],{5658:(e,t,i)=>{i.d(t,{Z:()=>d});i(7294);var n=i(512),o=i(5999),a=i(7955),s=i(5893);function d(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,n.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(a.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},1772:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r});i(7294);var n=i(5999),o=i(1944),a=i(6040),s=i(5658),d=i(5893);function r(){const e=(0,n.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(o.d,{title:e}),(0,d.jsx)(a.Z,{children:(0,d.jsx)(s.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/17896441.4208fb36.js b/assets/js/17896441.4208fb36.js new file mode 100644 index 0000000..c2d4b9c --- /dev/null +++ b/assets/js/17896441.4208fb36.js @@ -0,0 +1 @@ +(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7918],{1310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});n(7294);var s=n(512),a=n(5281),o=n(3438),i=n(8596),l=n(3692),c=n(5999),r=n(4996),d=n(5893);function u(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,d.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const m={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function h(){const e=(0,r.Z)("/");return(0,d.jsx)("li",{className:"breadcrumbs__item",children:(0,d.jsx)(l.Z,{"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,d.jsx)(u,{className:m.breadcrumbHomeIcon})})})}const p={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function f(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,d.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,d.jsx)(l.Z,{className:a,href:n,itemProp:"item",children:(0,d.jsx)("span",{itemProp:"name",children:t})}):(0,d.jsx)("span",{className:a,children:t})}function x(e){let{children:t,active:n,index:a,addMicrodata:o}=e;return(0,d.jsxs)("li",{...o&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,s.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,d.jsx)("meta",{itemProp:"position",content:String(a+1)})]})}function b(){const e=(0,o.s1)(),t=(0,i.Ns)();return e?(0,d.jsx)("nav",{className:(0,s.Z)(a.k.docs.docBreadcrumbs,p.breadcrumbsContainer),"aria-label":(0,c.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,d.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,d.jsx)(h,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,d.jsx)(x,{active:s,index:n,addMicrodata:!!a,children:(0,d.jsx)(f,{href:a,isLast:s,children:t.label})},n)}))]})}):null}},3518:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>wt});var s=n(7294),a=n(1944),o=n(902),i=n(5893);const l=s.createContext(null);function c(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,i.jsx)(l.Provider,{value:a,children:t})}function r(){const e=(0,s.useContext)(l);if(null===e)throw new o.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=r();return(0,i.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(512),m=n(7524),h=n(4966);function p(){const{metadata:e}=r();return(0,i.jsx)(h.Z,{previous:e.previous,next:e.next})}var f=n(3120),x=n(4364),b=n(5281),g=n(5999);function v(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,i.jsx)(g.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,i.jsx)("b",{children:(0,i.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function j(e){let{lastUpdatedBy:t}=e;return(0,i.jsx)(g.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,i.jsx)("b",{children:t})},children:" by {user}"})}function N(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,i.jsxs)("span",{className:b.k.common.lastUpdated,children:[(0,i.jsx)(g.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,i.jsx)(v,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,i.jsx)(j,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var C=n(3692);const k={iconEdit:"iconEdit_Z9Sw"};function L(e){let{className:t,...n}=e;return(0,i.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.Z)(k.iconEdit,t),"aria-hidden":"true",...n,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function y(e){let{editUrl:t}=e;return(0,i.jsxs)(C.Z,{to:t,className:b.k.common.editThisPage,children:[(0,i.jsx)(L,{}),(0,i.jsx)(g.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}const _={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function B(e){let{permalink:t,label:n,count:s}=e;return(0,i.jsxs)(C.Z,{href:t,className:(0,u.Z)(_.tag,s?_.tagWithCount:_.tagRegular),children:[n,s&&(0,i.jsx)("span",{children:s})]})}const w={tags:"tags_jXut",tag:"tag_QGVx"};function Z(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(g.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,u.Z)(w.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,i.jsx)("li",{className:w.tag,children:(0,i.jsx)(B,{label:t,permalink:n})},n)}))})]})}const T={lastUpdated:"lastUpdated_vwxv"};function E(e){return(0,i.jsx)("div",{className:(0,u.Z)(b.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(Z,{...e})})})}function H(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,i.jsxs)("div",{className:(0,u.Z)(b.k.docs.docFooterEditMetaRow,"row"),children:[(0,i.jsx)("div",{className:"col",children:t&&(0,i.jsx)(y,{editUrl:t})}),(0,i.jsx)("div",{className:(0,u.Z)("col",T.lastUpdated),children:(n||s)&&(0,i.jsx)(N,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function A(){const{metadata:e}=r(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:o}=e,l=o.length>0,c=!!(t||n||a);return l||c?(0,i.jsxs)("footer",{className:(0,u.Z)(b.k.docs.docFooter,"docusaurus-mt-lg"),children:[l&&(0,i.jsx)(E,{tags:o}),c&&(0,i.jsx)(H,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var I=n(6043),M=n(6668);function S(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function U(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=U({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function z(e){const t=e.getBoundingClientRect();return t.top===t.bottom?z(e.parentNode):t}function V(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>z(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function O(e){const t=(0,s.useRef)(void 0),n=R();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:i}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),l=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:o,maxHeadingLevel:i}),c=V(l,{anchorTopOffset:n.current}),r=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===r)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,n])}function P(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,i.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,i.jsxs)("li",{children:[(0,i.jsx)(C.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,i.jsx)(P,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const $=s.memo(P);function D(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:a="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:l,maxHeadingLevel:c,...r}=e;const d=(0,M.L)(),u=l??d.tableOfContents.minHeadingLevel,m=c??d.tableOfContents.maxHeadingLevel,h=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>U({toc:S(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:u,maxHeadingLevel:m});return O((0,s.useMemo)((()=>{if(a&&o)return{linkClassName:a,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:m}}),[a,o,u,m])),(0,i.jsx)($,{toc:h,className:n,linkClassName:a,...r})}const W={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function F(e){let{collapsed:t,...n}=e;return(0,i.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",W.tocCollapsibleButton,!t&&W.tocCollapsibleButtonExpanded,n.className),children:(0,i.jsx)(g.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const q={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function G(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:o,toggleCollapsed:l}=(0,I.u)({initialState:!0});return(0,i.jsxs)("div",{className:(0,u.Z)(q.tocCollapsible,!o&&q.tocCollapsibleExpanded,n),children:[(0,i.jsx)(F,{collapsed:o,onClick:l}),(0,i.jsx)(I.z,{lazy:!0,className:q.tocCollapsibleContent,collapsed:o,children:(0,i.jsx)(D,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const J={tocMobile:"tocMobile_ITEo"};function Y(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(G,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(b.k.docs.docTocMobile,J.tocMobile)})}const Q={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},X="table-of-contents__link toc-highlight",K="table-of-contents__link--active";function ee(e){let{className:t,...n}=e;return(0,i.jsx)("div",{className:(0,u.Z)(Q.tableOfContents,"thin-scrollbar",t),children:(0,i.jsx)(D,{...n,linkClassName:X,linkActiveClassName:K})})}function te(){const{toc:e,frontMatter:t}=r();return(0,i.jsx)(ee,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:b.k.docs.docTocDesktop})}var ne=n(7955),se=n(1151),ae=n(5742),oe=n(2389),ie=n(2949);function le(){const{prism:e}=(0,M.L)(),{colorMode:t}=(0,ie.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var ce=n(7594),re=n.n(ce);const de=/title=(?["'])(?.*?)\1/,ue=/\{(?<range>[\d,-]+)\}/,me={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},he={...me,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},pe=Object.keys(me);function fe(e,t){const n=e.map((e=>{const{start:n,end:s}=he[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function xe(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:a,metastring:o}=t;if(o&&ue.test(o)){const e=o.match(ue).groups.range;if(0===a.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=a[0].className,s=re()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const i=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return fe(["js","jsBlock"],t);case"jsx":case"tsx":return fe(["js","jsBlock","jsx"],t);case"html":return fe(["js","jsBlock","html"],t);case"python":case"py":case"bash":return fe(["bash"],t);case"markdown":case"md":return fe(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return fe(["tex"],t);case"lua":case"haskell":case"sql":return fe(["lua"],t);case"wasm":return fe(["wasm"],t);case"vb":case"vbnet":case"vba":case"visual-basic":return fe(["vb","rem"],t);case"batch":return fe(["rem"],t);case"basic":return fe(["rem","f90"],t);case"fsharp":return fe(["js","ml"],t);case"ocaml":case"sml":return fe(["ml"],t);case"fortran":return fe(["f90"],t);case"cobol":return fe(["cobol"],t);default:return fe(pe,t)}}(s,a),l=n.split("\n"),c=Object.fromEntries(a.map((e=>[e.className,{start:0,range:""}]))),r=Object.fromEntries(a.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(a.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h<l.length;){const e=l[h].match(i);if(!e){h+=1;continue}const t=e.slice(1).find((e=>void 0!==e));r[t]?c[r[t]].range+=`${h},`:d[t]?c[d[t]].start=h:u[t]&&(c[u[t]].range+=`${c[u[t]].start}-${h-1},`),l.splice(h,1)}n=l.join("\n");const m={};return Object.entries(c).forEach((e=>{let[t,{range:n}]=e;re()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const be={codeBlockContainer:"codeBlockContainer_Ckt0"};function ge(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,a]=e;const o=t[s];o&&"string"==typeof a&&(n[o]=a)})),n}(le());return(0,i.jsx)(t,{...n,style:s,className:(0,u.Z)(n.className,be.codeBlockContainer,b.k.common.codeBlock)})}const ve={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function je(e){let{children:t,className:n}=e;return(0,i.jsx)(ge,{as:"pre",tabIndex:0,className:(0,u.Z)(ve.codeBlockStandalone,"thin-scrollbar",n),children:(0,i.jsx)("code",{className:ve.codeBlockLines,children:t})})}const Ne={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ce(e,t){const[n,a]=(0,s.useState)(),i=(0,s.useCallback)((()=>{a(e.current?.closest("[role=tabpanel][hidden]"))}),[e,a]);(0,s.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=Ne);const a=(0,o.zX)(t),i=(0,o.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(a);return e&&t.observe(e,i),()=>t.disconnect()}),[e,a,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var ke=n(2573);const Le={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function ye(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:a,getTokenProps:o}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const l=a({line:t,className:(0,u.Z)(n,s&&Le.codeLine)}),c=t.map(((e,t)=>(0,i.jsx)("span",{...o({token:e,key:t})},t)));return(0,i.jsxs)("span",{...l,children:[s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:Le.codeLineNumber}),(0,i.jsx)("span",{className:Le.codeLineContent,children:c})]}):c,(0,i.jsx)("br",{})]})}function _e(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function Be(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const we={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function Ze(e){let{code:t,className:n}=e;const[a,o]=(0,s.useState)(!1),l=(0,s.useRef)(void 0),c=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),a=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const o=document.getSelection(),i=o.rangeCount>0&&o.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}s.remove(),i&&(o.removeAllRanges(),o.addRange(i)),a&&a.focus()}(t),o(!0),l.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),(0,i.jsx)("button",{type:"button","aria-label":a?(0,g.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,g.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,g.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.Z)("clean-btn",n,we.copyButton,a&&we.copyButtonCopied),onClick:c,children:(0,i.jsxs)("span",{className:we.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(_e,{className:we.copyButtonIcon}),(0,i.jsx)(Be,{className:we.copyButtonSuccessIcon})]})})}function Te(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const Ee={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function He(e){let{className:t,onClick:n,isEnabled:s}=e;const a=(0,g.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)("button",{type:"button",onClick:n,className:(0,u.Z)("clean-btn",t,s&&Ee.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(Te,{className:Ee.wordWrapButtonIcon,"aria-hidden":"true"})})}function Ae(e){let{children:t,className:n="",metastring:a,title:o,showLineNumbers:l,language:c}=e;const{prism:{defaultLanguage:r,magicComments:d}}=(0,M.L)(),m=function(e){return e?.toLowerCase()}(c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??r),h=le(),p=function(){const[e,t]=(0,s.useState)(!1),[n,a]=(0,s.useState)(!1),o=(0,s.useRef)(null),i=(0,s.useCallback)((()=>{const n=o.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[o,e]),l=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");a(n)}),[o]);return Ce(o,l),(0,s.useEffect)((()=>{l()}),[e,l]),(0,s.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:i}}(),f=function(e){return e?.match(de)?.groups.title??""}(a)||o,{lineClassNames:x,code:b}=xe(t,{metastring:a,language:m,magicComments:d}),g=l??function(e){return Boolean(e?.includes("showLineNumbers"))}(a);return(0,i.jsxs)(ge,{as:"div",className:(0,u.Z)(n,m&&!n.includes(`language-${m}`)&&`language-${m}`),children:[f&&(0,i.jsx)("div",{className:ve.codeBlockTitle,children:f}),(0,i.jsxs)("div",{className:ve.codeBlockContent,children:[(0,i.jsx)(ke.y$,{theme:h,code:b,language:m??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:a,getTokenProps:o}=e;return(0,i.jsx)("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,u.Z)(t,ve.codeBlock,"thin-scrollbar"),style:n,children:(0,i.jsx)("code",{className:(0,u.Z)(ve.codeBlockLines,g&&ve.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,i.jsx)(ye,{line:e,getLineProps:a,getTokenProps:o,classNames:x[t],showLineNumbers:g},t)))})})}}),(0,i.jsxs)("div",{className:ve.buttonGroup,children:[(p.isEnabled||p.isCodeScrollable)&&(0,i.jsx)(He,{className:ve.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),(0,i.jsx)(Ze,{className:ve.codeButton,code:b})]})]})]})}function Ie(e){let{children:t,...n}=e;const a=(0,oe.Z)(),o=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),l="string"==typeof o?Ae:je;return(0,i.jsx)(l,{...n,children:o},String(a))}function Me(e){return(0,i.jsx)("code",{...e})}const Se={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function Ue(e){return!!e&&("SUMMARY"===e.tagName||Ue(e.parentElement))}function ze(e,t){return!!e&&(e===t||ze(e.parentElement,t))}function Ve(e){let{summary:t,children:n,...a}=e;const o=(0,oe.Z)(),l=(0,s.useRef)(null),{collapsed:c,setCollapsed:r}=(0,I.u)({initialState:!a.open}),[d,m]=(0,s.useState)(a.open),h=s.isValidElement(t)?t:(0,i.jsx)("summary",{children:t??"Details"});return(0,i.jsxs)("details",{...a,ref:l,open:d,"data-collapsed":c,className:(0,u.Z)(Se.details,o&&Se.isBrowser,a.className),onMouseDown:e=>{Ue(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;Ue(t)&&ze(t,l.current)&&(e.preventDefault(),c?(r(!1),m(!0)):r(!0))},children:[h,(0,i.jsx)(I.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{r(e),m(!e)},children:(0,i.jsx)("div",{className:Se.collapsibleContent,children:n})})]})}const Re={details:"details_b_Ee"},Oe="alert alert--info";function Pe(e){let{...t}=e;return(0,i.jsx)(Ve,{...t,className:(0,u.Z)(Oe,Re.details,t.className)})}function $e(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),a=(0,i.jsx)(i.Fragment,{children:t.filter((e=>e!==n))});return(0,i.jsx)(Pe,{...e,summary:n,children:a})}function De(e){return(0,i.jsx)(ne.Z,{...e})}const We={containsTaskList:"containsTaskList_mC6p"};function Fe(e){if(void 0!==e)return(0,u.Z)(e,e?.includes("contains-task-list")&&We.containsTaskList)}const qe={img:"img_ev3q"};function Ge(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),a=t.filter((e=>e!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:a.length>0?(0,i.jsx)(i.Fragment,{children:a}):null}}(e.children),a=e.title??t;return{...e,...a&&{title:a},children:n}}const Je={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function Ye(e){let{type:t,className:n,children:s}=e;return(0,i.jsx)("div",{className:(0,u.Z)(b.k.common.admonition,b.k.common.admonitionType(t),Je.admonition,n),children:s})}function Qe(e){let{icon:t,title:n}=e;return(0,i.jsxs)("div",{className:Je.admonitionHeading,children:[(0,i.jsx)("span",{className:Je.admonitionIcon,children:t}),n]})}function Xe(e){let{children:t}=e;return t?(0,i.jsx)("div",{className:Je.admonitionContent,children:t}):null}function Ke(e){const{type:t,icon:n,title:s,children:a,className:o}=e;return(0,i.jsxs)(Ye,{type:t,className:o,children:[(0,i.jsx)(Qe,{title:s,icon:n}),(0,i.jsx)(Xe,{children:a})]})}function et(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const tt={icon:(0,i.jsx)(et,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function nt(e){return(0,i.jsx)(Ke,{...tt,...e,className:(0,u.Z)("alert alert--secondary",e.className),children:e.children})}function st(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const at={icon:(0,i.jsx)(st,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function ot(e){return(0,i.jsx)(Ke,{...at,...e,className:(0,u.Z)("alert alert--success",e.className),children:e.children})}function it(e){return(0,i.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const lt={icon:(0,i.jsx)(it,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function ct(e){return(0,i.jsx)(Ke,{...lt,...e,className:(0,u.Z)("alert alert--info",e.className),children:e.children})}function rt(e){return(0,i.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const dt={icon:(0,i.jsx)(rt,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function ut(e){return(0,i.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const mt={icon:(0,i.jsx)(ut,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const ht={icon:(0,i.jsx)(rt,{}),title:(0,i.jsx)(g.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const pt={...{note:nt,tip:ot,info:ct,warning:function(e){return(0,i.jsx)(Ke,{...dt,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,i.jsx)(Ke,{...mt,...e,className:(0,u.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,i.jsx)(nt,{title:"secondary",...e}),important:e=>(0,i.jsx)(ct,{title:"important",...e}),success:e=>(0,i.jsx)(ot,{title:"success",...e}),caution:function(e){return(0,i.jsx)(Ke,{...ht,...e,className:(0,u.Z)("alert alert--warning",e.className),children:e.children})}}};function ft(e){const t=Ge(e),n=(s=t.type,pt[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),pt.info));var s;return(0,i.jsx)(n,{...t})}var xt=n(1875);const bt={Head:ae.Z,details:$e,Details:$e,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,i.jsx)(Me,{...e}):(0,i.jsx)(Ie,{...e})},a:function(e){return(0,i.jsx)(C.Z,{...e})},pre:function(e){return(0,i.jsx)(i.Fragment,{children:e.children})},ul:function(e){return(0,i.jsx)("ul",{...e,className:Fe(e.className)})},img:function(e){return(0,i.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,u.Z)(t,qe.img))});var t},h1:e=>(0,i.jsx)(De,{as:"h1",...e}),h2:e=>(0,i.jsx)(De,{as:"h2",...e}),h3:e=>(0,i.jsx)(De,{as:"h3",...e}),h4:e=>(0,i.jsx)(De,{as:"h4",...e}),h5:e=>(0,i.jsx)(De,{as:"h5",...e}),h6:e=>(0,i.jsx)(De,{as:"h6",...e}),admonition:ft,mermaid:xt.Z};function gt(e){let{children:t}=e;return(0,i.jsx)(se.Z,{components:bt,children:t})}function vt(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=r();return t.hide_title||void 0!==n?null:e.title}();return(0,i.jsxs)("div",{className:(0,u.Z)(b.k.docs.docMarkdown,"markdown"),children:[n&&(0,i.jsx)("header",{children:(0,i.jsx)(ne.Z,{as:"h1",children:n})}),(0,i.jsx)(gt,{children:t})]})}var jt=n(1310);function Nt(){return(0,i.jsx)(g.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function Ct(){return(0,i.jsx)(g.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function kt(){return(0,i.jsx)(ae.Z,{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function Lt(e){let{className:t}=e;return(0,i.jsx)(ft,{type:"caution",title:(0,i.jsx)(Nt,{}),className:(0,u.Z)(t,b.k.common.unlistedBanner),children:(0,i.jsx)(Ct,{})})}function yt(e){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(kt,{}),(0,i.jsx)(Lt,{...e})]})}const _t={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function Bt(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=r(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,i.jsx)(Y,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,i.jsx)(te,{})}}(),{metadata:{unlisted:s}}=r();return(0,i.jsxs)("div",{className:"row",children:[(0,i.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&_t.docItemCol),children:[s&&(0,i.jsx)(yt,{}),(0,i.jsx)(f.Z,{}),(0,i.jsxs)("div",{className:_t.docItemContainer,children:[(0,i.jsxs)("article",{children:[(0,i.jsx)(jt.Z,{}),(0,i.jsx)(x.Z,{}),n.mobile,(0,i.jsx)(vt,{children:t}),(0,i.jsx)(A,{})]}),(0,i.jsx)(p,{})]})]}),n.desktop&&(0,i.jsx)("div",{className:"col col--3",children:n.desktop})]})}function wt(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,i.jsx)(c,{content:e.content,children:(0,i.jsxs)(a.FG,{className:t,children:[(0,i.jsx)(d,{}),(0,i.jsx)(Bt,{children:(0,i.jsx)(n,{})})]})})}},4966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var s=n(5999),a=n(512),o=n(3692),i=n(5893);function l(e){const{permalink:t,title:n,subLabel:s,isNext:l}=e;return(0,i.jsxs)(o.Z,{className:(0,a.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[s&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:s}),(0,i.jsx)("div",{className:"pagination-nav__label",children:n})]})}function c(e){const{previous:t,next:n}=e;return(0,i.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,i.jsx)(l,{...t,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,i.jsx)(l,{...n,subLabel:(0,i.jsx)(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}},4364:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var s=n(512),a=n(5999),o=n(5281),i=n(4477),l=n(5893);function c(e){let{className:t}=e;const n=(0,i.E)();return n.badge?(0,l.jsx)("span",{className:(0,s.Z)(t,o.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}},3120:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});n(7294);var s=n(512),a=n(2263),o=n(3692),i=n(5999),l=n(143),c=n(5281),r=n(373),d=n(4477),u=n(5893);const m={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(i.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,u.jsx)(i.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,u.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function h(e){const t=m[e.versionMetadata.banner];return(0,u.jsx)(t,{...e})}function p(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,u.jsx)(i.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,u.jsx)("b",{children:(0,u.jsx)(o.Z,{to:n,onClick:s,children:(0,u.jsx)(i.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function f(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:o}}=(0,a.Z)(),{pluginId:i}=(0,l.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,r.J)(i),{latestDocSuggestion:m,latestVersionSuggestion:f}=(0,l.Jo)(i),x=m??(b=f).docs.find((e=>e.id===b.mainDocId));var b;return(0,u.jsxs)("div",{className:(0,s.Z)(t,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,u.jsx)("div",{children:(0,u.jsx)(h,{siteTitle:o,versionMetadata:n})}),(0,u.jsx)("div",{className:"margin-top--md",children:(0,u.jsx)(p,{versionLabel:f.label,to:x.path,onClick:()=>d(f.name)})})]})}function x(e){let{className:t}=e;const n=(0,d.E)();return n.banner?(0,u.jsx)(f,{className:t,versionMetadata:n}):null}},7594:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,a,o]=t;if(s&&o){s=parseInt(s),o=parseInt(o);const e=s<o?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(o+=e);for(let t=s;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},1151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,a:()=>i});var s=n(7294);const a={},o=s.createContext(a);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.fb29058d.js b/assets/js/17896441.fb29058d.js deleted file mode 100644 index d1a60f4..0000000 --- a/assets/js/17896441.fb29058d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7918],{3905:(e,t,n)=>{"use strict";n.d(t,{Zo:()=>d,kt:()=>p});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),i=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=i(e.components);return a.createElement(s.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=i(n),p=r,f=u["".concat(s,".").concat(p)]||u[p]||m[p]||o;return n?a.createElement(f,l(l({ref:t},d),{},{components:n})):a.createElement(f,l({ref:t},d))}));function p(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,l=new Array(o);l[0]=u;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:r,l[1]=c;for(var i=2;i<o;i++)l[i]=n[i];return a.createElement.apply(null,l)}return a.createElement.apply(null,n)}u.displayName="MDXCreateElement"},1310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(7462),r=n(7294),o=n(6010),l=n(5281),c=n(3438),s=n(8596),i=n(9960),d=n(5999),m=n(4996);function u(e){return r.createElement("svg",(0,a.Z)({viewBox:"0 0 24 24"},e),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const p="breadcrumbHomeIcon_YNFT";function f(){const e=(0,m.Z)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(i.Z,{"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},r.createElement(u,{className:p})))}const h="breadcrumbsContainer_Z_bl";function g(e){let{children:t,href:n,isLast:a}=e;const o="breadcrumbs__link";return a?r.createElement("span",{className:o,itemProp:"name"},t):n?r.createElement(i.Z,{className:o,href:n,itemProp:"item"},r.createElement("span",{itemProp:"name"},t)):r.createElement("span",{className:o},t)}function v(e){let{children:t,active:n,index:l,addMicrodata:c}=e;return r.createElement("li",(0,a.Z)({},c&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,o.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,r.createElement("meta",{itemProp:"position",content:String(l+1)}))}function b(){const e=(0,c.s1)(),t=(0,s.Ns)();return e?r.createElement("nav",{className:(0,o.Z)(l.k.docs.docBreadcrumbs,h),"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&r.createElement(f,null),e.map(((t,n)=>{const a=n===e.length-1;return r.createElement(v,{key:n,active:a,index:n,addMicrodata:!!t.href},r.createElement(g,{href:t.href,isLast:a},t.label))})))):null}},7617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>vt});var a=n(7294),r=n(1944),o=n(902);const l=a.createContext(null);function c(e){let{children:t,content:n}=e;const r=function(e){return(0,a.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return a.createElement(l.Provider,{value:r},t)}function s(){const e=(0,a.useContext)(l);if(null===e)throw new o.i6("DocProvider");return e}function i(){const{metadata:e,frontMatter:t,assets:n}=s();return a.createElement(r.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var d=n(6010),m=n(7524),u=n(4966);function p(){const{metadata:e}=s();return a.createElement(u.Z,{previous:e.previous,next:e.next})}var f=n(3120),h=n(4364),g=n(5281),v=n(5999);function b(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return a.createElement(v.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:a.createElement("b",null,a.createElement("time",{dateTime:new Date(1e3*t).toISOString()},n))}}," on {date}")}function E(e){let{lastUpdatedBy:t}=e;return a.createElement(v.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:a.createElement("b",null,t)}}," by {user}")}function y(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:r}=e;return a.createElement("span",{className:g.k.common.lastUpdated},a.createElement(v.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?a.createElement(b,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:r?a.createElement(E,{lastUpdatedBy:r}):""}},"Last updated{atDate}{byUser}"),!1)}var k=n(7462);const N="iconEdit_Z9Sw";function L(e){let{className:t,...n}=e;return a.createElement("svg",(0,k.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,d.Z)(N,t),"aria-hidden":"true"},n),a.createElement("g",null,a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function C(e){let{editUrl:t}=e;return a.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:g.k.common.editThisPage},a.createElement(L,null),a.createElement(v.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var _=n(9960);const Z="tag_zVej",T="tagRegular_sFm0",w="tagWithCount_h2kH";function x(e){let{permalink:t,label:n,count:r}=e;return a.createElement(_.Z,{href:t,className:(0,d.Z)(Z,r?w:T)},n,r&&a.createElement("span",null,r))}const B="tags_jXut",O="tag_QGVx";function A(e){let{tags:t}=e;return a.createElement(a.Fragment,null,a.createElement("b",null,a.createElement(v.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),a.createElement("ul",{className:(0,d.Z)(B,"padding--none","margin-left--sm")},t.map((e=>{let{label:t,permalink:n}=e;return a.createElement("li",{key:n,className:O},a.createElement(x,{label:t,permalink:n}))}))))}const j="lastUpdated_vwxv";function H(e){return a.createElement("div",{className:(0,d.Z)(g.k.docs.docFooterTagsRow,"row margin-bottom--sm")},a.createElement("div",{className:"col"},a.createElement(A,e)))}function S(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:r,formattedLastUpdatedAt:o}=e;return a.createElement("div",{className:(0,d.Z)(g.k.docs.docFooterEditMetaRow,"row")},a.createElement("div",{className:"col"},t&&a.createElement(C,{editUrl:t})),a.createElement("div",{className:(0,d.Z)("col",j)},(n||r)&&a.createElement(y,{lastUpdatedAt:n,formattedLastUpdatedAt:o,lastUpdatedBy:r})))}function M(){const{metadata:e}=s(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:r,lastUpdatedBy:o,tags:l}=e,c=l.length>0,i=!!(t||n||o);return c||i?a.createElement("footer",{className:(0,d.Z)(g.k.docs.docFooter,"docusaurus-mt-lg")},c&&a.createElement(H,{tags:l}),i&&a.createElement(S,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:o,formattedLastUpdatedAt:r})):null}var I=n(6043),P=n(6668);function U(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const a=n.slice(2,e.level);e.parentIndex=Math.max(...a),n[e.level]=t}));const a=[];return t.forEach((e=>{const{parentIndex:n,...r}=e;n>=0?t[n].children.push(r):a.push(r)})),a}function z(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return t.flatMap((e=>{const t=z({toc:e.children,minHeadingLevel:n,maxHeadingLevel:a});return function(e){return e.level>=n&&e.level<=a}(e)?[{...e,children:t}]:t}))}function V(e){const t=e.getBoundingClientRect();return t.top===t.bottom?V(e.parentNode):t}function D(e,t){let{anchorTopOffset:n}=t;const a=e.find((e=>V(e).top>=n));if(a){return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(V(a))?a:e[e.indexOf(a)-1]??null}return e[e.length-1]??null}function R(){const e=(0,a.useRef)(0),{navbar:{hideOnScroll:t}}=(0,P.L)();return(0,a.useEffect)((()=>{e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function $(e){const t=(0,a.useRef)(void 0),n=R();(0,a.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:a,linkActiveClassName:r,minHeadingLevel:o,maxHeadingLevel:l}=e;function c(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(a),c=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const a=[];for(let r=t;r<=n;r+=1)a.push(`h${r}.anchor`);return Array.from(document.querySelectorAll(a.join()))}({minHeadingLevel:o,maxHeadingLevel:l}),s=D(c,{anchorTopOffset:n.current}),i=e.find((e=>s&&s.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(r),e.classList.add(r),t.current=e):e.classList.remove(r)}(e,e===i)}))}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),()=>{document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}),[e,n])}function W(e){let{toc:t,className:n,linkClassName:r,isChild:o}=e;return t.length?a.createElement("ul",{className:o?void 0:n},t.map((e=>a.createElement("li",{key:e.id},a.createElement("a",{href:`#${e.id}`,className:r??void 0,dangerouslySetInnerHTML:{__html:e.value}}),a.createElement(W,{isChild:!0,toc:e.children,className:n,linkClassName:r}))))):null}const F=a.memo(W);function q(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:r="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:l,maxHeadingLevel:c,...s}=e;const i=(0,P.L)(),d=l??i.tableOfContents.minHeadingLevel,m=c??i.tableOfContents.maxHeadingLevel,u=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:r}=e;return(0,a.useMemo)((()=>z({toc:U(t),minHeadingLevel:n,maxHeadingLevel:r})),[t,n,r])}({toc:t,minHeadingLevel:d,maxHeadingLevel:m});return $((0,a.useMemo)((()=>{if(r&&o)return{linkClassName:r,linkActiveClassName:o,minHeadingLevel:d,maxHeadingLevel:m}}),[r,o,d,m])),a.createElement(F,(0,k.Z)({toc:u,className:n,linkClassName:r},s))}const G="tocCollapsibleButton_TO0P",Y="tocCollapsibleButtonExpanded_MG3E";function J(e){let{collapsed:t,...n}=e;return a.createElement("button",(0,k.Z)({type:"button"},n,{className:(0,d.Z)("clean-btn",G,!t&&Y,n.className)}),a.createElement(v.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const Q="tocCollapsible_ETCw",X="tocCollapsibleContent_vkbj",K="tocCollapsibleExpanded_sAul";function ee(e){let{toc:t,className:n,minHeadingLevel:r,maxHeadingLevel:o}=e;const{collapsed:l,toggleCollapsed:c}=(0,I.u)({initialState:!0});return a.createElement("div",{className:(0,d.Z)(Q,!l&&K,n)},a.createElement(J,{collapsed:l,onClick:c}),a.createElement(I.z,{lazy:!0,className:X,collapsed:l},a.createElement(q,{toc:t,minHeadingLevel:r,maxHeadingLevel:o})))}const te="tocMobile_ITEo";function ne(){const{toc:e,frontMatter:t}=s();return a.createElement(ee,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,d.Z)(g.k.docs.docTocMobile,te)})}const ae="tableOfContents_bqdL";function re(e){let{className:t,...n}=e;return a.createElement("div",{className:(0,d.Z)(ae,"thin-scrollbar",t)},a.createElement(q,(0,k.Z)({},n,{linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})))}function oe(){const{toc:e,frontMatter:t}=s();return a.createElement(re,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:g.k.docs.docTocDesktop})}var le=n(7955),ce=n(3905),se=n(5742);var ie=n(2389),de=n(2949);function me(){const{prism:e}=(0,P.L)(),{colorMode:t}=(0,de.I)(),n=e.theme,a=e.darkTheme||n;return"dark"===t?a:n}var ue=n(7594),pe=n.n(ue);const fe=/title=(?<quote>["'])(?<title>.*?)\1/,he=/\{(?<range>[\d,-]+)\}/,ge={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function ve(e,t){const n=e.map((e=>{const{start:n,end:a}=ge[e];return`(?:${n}\\s*(${t.flatMap((e=>{var t,n;return[e.line,null==(t=e.block)?void 0:t.start,null==(n=e.block)?void 0:n.end].filter(Boolean)})).join("|")})\\s*${a})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function be(e,t){let n=e.replace(/\n$/,"");const{language:a,magicComments:r,metastring:o}=t;if(o&&he.test(o)){const e=o.match(he).groups.range;if(0===r.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=r[0].className,a=pe()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(a),code:n}}if(void 0===a)return{lineClassNames:{},code:n};const l=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return ve(["js","jsBlock"],t);case"jsx":case"tsx":return ve(["js","jsBlock","jsx"],t);case"html":return ve(["js","jsBlock","html"],t);case"python":case"py":case"bash":return ve(["bash"],t);case"markdown":case"md":return ve(["html","jsx","bash"],t);default:return ve(Object.keys(ge),t)}}(a,r),c=n.split("\n"),s=Object.fromEntries(r.map((e=>[e.className,{start:0,range:""}]))),i=Object.fromEntries(r.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(r.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),m=Object.fromEntries(r.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let p=0;p<c.length;){const e=c[p].match(l);if(!e){p+=1;continue}const t=e.slice(1).find((e=>void 0!==e));i[t]?s[i[t]].range+=`${p},`:d[t]?s[d[t]].start=p:m[t]&&(s[m[t]].range+=`${s[m[t]].start}-${p-1},`),c.splice(p,1)}n=c.join("\n");const u={};return Object.entries(s).forEach((e=>{let[t,{range:n}]=e;pe()(n).forEach((e=>{u[e]??=[],u[e].push(t)}))})),{lineClassNames:u,code:n}}const Ee="codeBlockContainer_Ckt0";function ye(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[a,r]=e;const o=t[a];o&&"string"==typeof r&&(n[o]=r)})),n}(me());return a.createElement(t,(0,k.Z)({},n,{style:r,className:(0,d.Z)(n.className,Ee,g.k.common.codeBlock)}))}const ke={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function Ne(e){let{children:t,className:n}=e;return a.createElement(ye,{as:"pre",tabIndex:0,className:(0,d.Z)(ke.codeBlockStandalone,"thin-scrollbar",n)},a.createElement("code",{className:ke.codeBlockLines},t))}const Le={attributes:!0,characterData:!0,childList:!0,subtree:!0};function Ce(e,t){const[n,r]=(0,a.useState)(),l=(0,a.useCallback)((()=>{var t;r(null==(t=e.current)?void 0:t.closest("[role=tabpanel][hidden]"))}),[e,r]);(0,a.useEffect)((()=>{l()}),[l]),function(e,t,n){void 0===n&&(n=Le);const r=(0,o.zX)(t),l=(0,o.Ql)(n);(0,a.useEffect)((()=>{const t=new MutationObserver(r);return e&&t.observe(e,l),()=>t.disconnect()}),[e,r,l])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),l())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const _e={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var Ze={Prism:n(7410).Z,theme:_e};function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(){return we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},we.apply(this,arguments)}var xe=/\r\n|\r|\n/,Be=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Oe=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},Ae=function(e,t){var n=e.plain,a=Object.create(null),r=e.styles.reduce((function(e,n){var a=n.languages,r=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=we({},e[t],r);e[t]=n})),e}),a);return r.root=n,r.plain=we({},n,{backgroundColor:null}),r};function je(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}const He=function(e){function t(){for(var t=this,n=[],a=arguments.length;a--;)n[a]=arguments[a];e.apply(this,n),Te(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?Ae(e.theme,e.language):void 0;return t.themeDict=n})),Te(this,"getLineProps",(function(e){var n=e.key,a=e.className,r=e.style,o=we({},je(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?we({},o.style,r):r),void 0!==n&&(o.key=n),a&&(o.className+=" "+a),o})),Te(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,r=n.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===r&&!a)return o[n[0]];var l=a?{display:"inline-block"}:{},c=n.map((function(e){return o[e]}));return Object.assign.apply(Object,[l].concat(c))}})),Te(this,"getTokenProps",(function(e){var n=e.key,a=e.className,r=e.style,o=e.token,l=we({},je(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?we({},l.style,r):r),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l})),Te(this,"tokenize",(function(e,t,n,a){var r={code:t,grammar:n,language:a,tokens:[]};e.hooks.run("before-tokenize",r);var o=r.tokens=e.tokenize(r.code,r.grammar,r.language);return e.hooks.run("after-tokenize",r),o}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,r=e.children,o=this.getThemeDict(this.props),l=t.languages[n];return r({tokens:function(e){for(var t=[[]],n=[e],a=[0],r=[e.length],o=0,l=0,c=[],s=[c];l>-1;){for(;(o=a[l]++)<r[l];){var i=void 0,d=t[l],m=n[l][o];if("string"==typeof m?(d=l>0?d:["plain"],i=m):(d=Oe(d,m.type),m.alias&&(d=Oe(d,m.alias)),i=m.content),"string"==typeof i){var u=i.split(xe),p=u.length;c.push({types:d,content:u[0]});for(var f=1;f<p;f++)Be(c),s.push(c=[]),c.push({types:d,content:u[f]})}else l++,t.push(d),n.push(i),a.push(0),r.push(i.length)}l--,t.pop(),n.pop(),a.pop(),r.pop()}return Be(c),s}(void 0!==l?this.tokenize(t,a,l,n):[a]),className:"prism-code language-"+n,style:void 0!==o?o.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(a.Component),Se="codeLine_lJS_",Me="codeLineNumber_Tfdd",Ie="codeLineContent_feaV";function Pe(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:l}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const c=o({line:t,className:(0,d.Z)(n,r&&Se)}),s=t.map(((e,t)=>a.createElement("span",(0,k.Z)({key:t},l({token:e,key:t})))));return a.createElement("span",c,r?a.createElement(a.Fragment,null,a.createElement("span",{className:Me}),a.createElement("span",{className:Ie},s)):s,a.createElement("br",null))}const Ue={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function ze(e){let{code:t,className:n}=e;const[r,o]=(0,a.useState)(!1),l=(0,a.useRef)(void 0),c=(0,a.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;const a=document.createElement("textarea"),r=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";const o=document.getSelection();let l=!1;o.rangeCount>0&&(l=o.getRangeAt(0)),n.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;let c=!1;try{c=document.execCommand("copy")}catch{}a.remove(),l&&(o.removeAllRanges(),o.addRange(l)),r&&r.focus()}(t),o(!0),l.current=window.setTimeout((()=>{o(!1)}),1e3)}),[t]);return(0,a.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),a.createElement("button",{type:"button","aria-label":r?(0,v.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,v.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,v.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,d.Z)("clean-btn",n,Ue.copyButton,r&&Ue.copyButtonCopied),onClick:c},a.createElement("span",{className:Ue.copyButtonIcons,"aria-hidden":"true"},a.createElement("svg",{className:Ue.copyButtonIcon,viewBox:"0 0 24 24"},a.createElement("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})),a.createElement("svg",{className:Ue.copyButtonSuccessIcon,viewBox:"0 0 24 24"},a.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))}const Ve="wordWrapButtonIcon_Bwma",De="wordWrapButtonEnabled_EoeP";function Re(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,v.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return a.createElement("button",{type:"button",onClick:n,className:(0,d.Z)("clean-btn",t,r&&De),"aria-label":o,title:o},a.createElement("svg",{className:Ve,viewBox:"0 0 24 24","aria-hidden":"true"},a.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})))}function $e(e){let{children:t,className:n="",metastring:r,title:o,showLineNumbers:l,language:c}=e;const{prism:{defaultLanguage:s,magicComments:i}}=(0,P.L)(),m=c??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return null==t?void 0:t.replace(/language-/,"")}(n)??s,u=me(),p=function(){const[e,t]=(0,a.useState)(!1),[n,r]=(0,a.useState)(!1),o=(0,a.useRef)(null),l=(0,a.useCallback)((()=>{const n=o.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[o,e]),c=(0,a.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=o.current,n=e>t||o.current.querySelector("code").hasAttribute("style");r(n)}),[o]);return Ce(o,c),(0,a.useEffect)((()=>{c()}),[e,c]),(0,a.useEffect)((()=>(window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("resize",c)})),[c]),{codeBlockRef:o,isEnabled:e,isCodeScrollable:n,toggle:l}}(),f=function(e){var t;return(null==e||null==(t=e.match(fe))?void 0:t.groups.title)??""}(r)||o,{lineClassNames:h,code:g}=be(t,{metastring:r,language:m,magicComments:i}),v=l??function(e){return Boolean(null==e?void 0:e.includes("showLineNumbers"))}(r);return a.createElement(ye,{as:"div",className:(0,d.Z)(n,m&&!n.includes(`language-${m}`)&&`language-${m}`)},f&&a.createElement("div",{className:ke.codeBlockTitle},f),a.createElement("div",{className:ke.codeBlockContent},a.createElement(He,(0,k.Z)({},Ze,{theme:u,code:g,language:m??"text"}),(e=>{let{className:t,tokens:n,getLineProps:r,getTokenProps:o}=e;return a.createElement("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,d.Z)(t,ke.codeBlock,"thin-scrollbar")},a.createElement("code",{className:(0,d.Z)(ke.codeBlockLines,v&&ke.codeBlockLinesWithNumbering)},n.map(((e,t)=>a.createElement(Pe,{key:t,line:e,getLineProps:r,getTokenProps:o,classNames:h[t],showLineNumbers:v})))))})),a.createElement("div",{className:ke.buttonGroup},(p.isEnabled||p.isCodeScrollable)&&a.createElement(Re,{className:ke.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),a.createElement(ze,{className:ke.codeButton,code:g}))))}function We(e){let{children:t,...n}=e;const r=(0,ie.Z)(),o=function(e){return a.Children.toArray(e).some((e=>(0,a.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),l="string"==typeof o?$e:Ne;return a.createElement(l,(0,k.Z)({key:String(r)},n),o)}const Fe="details_lb9f",qe="isBrowser_bmU9",Ge="collapsibleContent_i85q";function Ye(e){return!!e&&("SUMMARY"===e.tagName||Ye(e.parentElement))}function Je(e,t){return!!e&&(e===t||Je(e.parentElement,t))}function Qe(e){let{summary:t,children:n,...r}=e;const o=(0,ie.Z)(),l=(0,a.useRef)(null),{collapsed:c,setCollapsed:s}=(0,I.u)({initialState:!r.open}),[i,m]=(0,a.useState)(r.open),u=a.isValidElement(t)?t:a.createElement("summary",null,t??"Details");return a.createElement("details",(0,k.Z)({},r,{ref:l,open:i,"data-collapsed":c,className:(0,d.Z)(Fe,o&&qe,r.className),onMouseDown:e=>{Ye(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;Ye(t)&&Je(t,l.current)&&(e.preventDefault(),c?(s(!1),m(!0)):s(!0))}}),u,a.createElement(I.z,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{s(e),m(!e)}},a.createElement("div",{className:Ge},n)))}const Xe="details_b_Ee";function Ke(e){let{...t}=e;return a.createElement(Qe,(0,k.Z)({},t,{className:(0,d.Z)("alert alert--info",Xe,t.className)}))}function et(e){return a.createElement(le.Z,e)}const tt="containsTaskList_mC6p";const nt="img_ev3q";const at="admonition_LlT9",rt="admonitionHeading_tbUL",ot="admonitionIcon_kALy",lt="admonitionContent_S0QG";const ct={note:{infimaClassName:"secondary",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:a.createElement(v.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:a.createElement(v.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 12 16"},a.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:a.createElement(v.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 14 16"},a.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:a.createElement(v.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return a.createElement("svg",{viewBox:"0 0 16 16"},a.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:a.createElement(v.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},st={secondary:"note",important:"info",success:"tip",warning:"danger"};function it(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=a.Children.toArray(e),n=t.find((e=>{var t;return a.isValidElement(e)&&"mdxAdmonitionTitle"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((e=>e!==n)));return{mdxAdmonitionTitle:n,rest:r}}(e.children);return{...e,title:e.title??t,children:n}}const dt={head:function(e){const t=a.Children.map(e.children,(e=>a.isValidElement(e)?function(e){var t;if(null!=(t=e.props)&&t.mdxType&&e.props.originalType){const{mdxType:t,originalType:n,...r}=e.props;return a.createElement(e.props.originalType,r)}return e}(e):e));return a.createElement(se.Z,e,t)},code:function(e){const t=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return a.Children.toArray(e.children).every((e=>{var n;return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(null==(n=e.props)?void 0:n.mdxType)}))?a.createElement("code",e):a.createElement(We,e)},a:function(e){return a.createElement(_.Z,e)},pre:function(e){var t;return a.createElement(We,(0,a.isValidElement)(e.children)&&"code"===(null==(t=e.children.props)?void 0:t.originalType)?e.children.props:{...e})},details:function(e){const t=a.Children.toArray(e.children),n=t.find((e=>{var t;return a.isValidElement(e)&&"summary"===(null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((e=>e!==n)));return a.createElement(Ke,(0,k.Z)({},e,{summary:n}),r)},ul:function(e){return a.createElement("ul",(0,k.Z)({},e,{className:(t=e.className,(0,d.Z)(t,(null==t?void 0:t.includes("contains-task-list"))&&tt))}));var t},img:function(e){return a.createElement("img",(0,k.Z)({loading:"lazy"},e,{className:(t=e.className,(0,d.Z)(t,nt))}));var t},h1:e=>a.createElement(et,(0,k.Z)({as:"h1"},e)),h2:e=>a.createElement(et,(0,k.Z)({as:"h2"},e)),h3:e=>a.createElement(et,(0,k.Z)({as:"h3"},e)),h4:e=>a.createElement(et,(0,k.Z)({as:"h4"},e)),h5:e=>a.createElement(et,(0,k.Z)({as:"h5"},e)),h6:e=>a.createElement(et,(0,k.Z)({as:"h6"},e)),admonition:function(e){const{children:t,type:n,title:r,icon:o}=it(e),l=function(e){const t=st[e]??e;return ct[t]||(console.warn(`No admonition config found for admonition type "${t}". Using Info as fallback.`),ct.info)}(n),c=r??l.label,{iconComponent:s}=l,i=o??a.createElement(s,null);return a.createElement("div",{className:(0,d.Z)(g.k.common.admonition,g.k.common.admonitionType(e.type),"alert",`alert--${l.infimaClassName}`,at)},a.createElement("div",{className:rt},a.createElement("span",{className:ot},i),c),a.createElement("div",{className:lt},t))},mermaid:n(1875).Z};function mt(e){let{children:t}=e;return a.createElement(ce.Zo,{components:dt},t)}function ut(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=s();return t.hide_title||void 0!==n?null:e.title}();return a.createElement("div",{className:(0,d.Z)(g.k.docs.docMarkdown,"markdown")},n&&a.createElement("header",null,a.createElement(le.Z,{as:"h1"},n)),a.createElement(mt,null,t))}var pt=n(1310);const ft="docItemContainer_Djhp",ht="docItemCol_VOVn";function gt(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=s(),n=(0,m.i)(),r=e.hide_table_of_contents,o=!r&&t.length>0;return{hidden:r,mobile:o?a.createElement(ne,null):void 0,desktop:!o||"desktop"!==n&&"ssr"!==n?void 0:a.createElement(oe,null)}}();return a.createElement("div",{className:"row"},a.createElement("div",{className:(0,d.Z)("col",!n.hidden&&ht)},a.createElement(f.Z,null),a.createElement("div",{className:ft},a.createElement("article",null,a.createElement(pt.Z,null),a.createElement(h.Z,null),n.mobile,a.createElement(ut,null,t),a.createElement(M,null)),a.createElement(p,null))),n.desktop&&a.createElement("div",{className:"col col--3"},n.desktop))}function vt(e){const t=`docs-doc-id-${e.content.metadata.unversionedId}`,n=e.content;return a.createElement(c,{content:e.content},a.createElement(r.FG,{className:t},a.createElement(i,null),a.createElement(gt,null,a.createElement(n,null))))}},4966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(7462),r=n(7294),o=n(5999),l=n(6010),c=n(9960);function s(e){const{permalink:t,title:n,subLabel:a,isNext:o}=e;return r.createElement(c.Z,{className:(0,l.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},a&&r.createElement("div",{className:"pagination-nav__sublabel"},a),r.createElement("div",{className:"pagination-nav__label"},n))}function i(e){const{previous:t,next:n}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,o.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&r.createElement(s,(0,a.Z)({},t,{subLabel:r.createElement(o.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&r.createElement(s,(0,a.Z)({},n,{subLabel:r.createElement(o.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4364:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(7294),r=n(6010),o=n(5999),l=n(5281),c=n(4477);function s(e){let{className:t}=e;const n=(0,c.E)();return n.badge?a.createElement("span",{className:(0,r.Z)(t,l.k.docs.docVersionBadge,"badge badge--secondary")},a.createElement(o.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},3120:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(7294),r=n(6010),o=n(2263),l=n(9960),c=n(5999),s=n(143),i=n(5281),d=n(373),m=n(4477);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(c.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(c.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function p(e){const t=u[e.versionMetadata.banner];return a.createElement(t,e)}function f(e){let{versionLabel:t,to:n,onClick:r}=e;return a.createElement(c.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:a.createElement("b",null,a.createElement(l.Z,{to:n,onClick:r},a.createElement(c.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function h(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:l}}=(0,o.Z)(),{pluginId:c}=(0,s.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(c),{latestDocSuggestion:u,latestVersionSuggestion:h}=(0,s.Jo)(c),g=u??(v=h).docs.find((e=>e.id===v.mainDocId));var v;return a.createElement("div",{className:(0,r.Z)(t,i.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},a.createElement("div",null,a.createElement(p,{siteTitle:l,versionMetadata:n})),a.createElement("div",{className:"margin-top--md"},a.createElement(f,{versionLabel:h.label,to:g.path,onClick:()=>m(h.name)})))}function g(e){let{className:t}=e;const n=(0,m.E)();return n.banner?a.createElement(h,{className:t,versionMetadata:n}):null}},7955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(7462),r=n(7294),o=n(6010),l=n(5999),c=n(6668),s=n(9960);const i="anchorWithStickyNavbar_LWe7",d="anchorWithHideOnScrollNavbar_WYt5";function m(e){let{as:t,id:n,...m}=e;const{navbar:{hideOnScroll:u}}=(0,c.L)();if("h1"===t||!n)return r.createElement(t,(0,a.Z)({},m,{id:void 0}));const p=(0,l.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof m.children?m.children:n});return r.createElement(t,(0,a.Z)({},m,{className:(0,o.Z)("anchor",u?d:i,m.className),id:n}),m.children,r.createElement(s.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p},"\u200b"))}},7594:(e,t)=>{function n(e){let t,n=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))n.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,r,o]=t;if(a&&o){a=parseInt(a),o=parseInt(o);const e=a<o?1:-1;"-"!==r&&".."!==r&&"\u2025"!==r||(o+=e);for(let t=a;t!==o;t+=e)n.push(t)}}return n}t.default=n,e.exports=n}}]); \ No newline at end of file diff --git a/assets/js/17aa6098.0a4f8252.js b/assets/js/17aa6098.0a4f8252.js deleted file mode 100644 index c89aa2e..0000000 --- a/assets/js/17aa6098.0a4f8252.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1785],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),m=a,f=u["".concat(p,".").concat(m)]||u[m]||d[m]||i;return r?n.createElement(f,o(o({ref:t},c),{},{components:r})):n.createElement(f,o({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var s=2;s<i;s++)o[s]=r[s];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},6617:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7462),a=(r(7294),r(3905));const i={id:"ListWidget",title:"Namespace: ListWidget",sidebar_label:"ListWidget",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/namespaces/ListWidget",id:"public-api/namespaces/ListWidget",title:"Namespace: ListWidget",description:"Variables",source:"@site/docs/public-api/namespaces/ListWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/ListWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/ListWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidget",title:"Namespace: ListWidget",sidebar_label:"ListWidget",sidebar_position:0,custom_edit_url:null}},p={},s=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"ListWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"ListWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"ListWidgetInternalProps")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/17c5701b.0c574820.js b/assets/js/17c5701b.0c574820.js new file mode 100644 index 0000000..b1fbc1c --- /dev/null +++ b/assets/js/17c5701b.0c574820.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3895],{2435:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>d,default:()=>p,frontMatter:()=>r,metadata:()=>o,toc:()=>a});var n=i(5893),s=i(1151);const r={sidebar_position:7},d="SvgWidget",o={id:"primitives/svg-widget",title:"SvgWidget",description:"Widget for displaying SVG.",source:"@site/docs/primitives/svg-widget.md",sourceDirName:"primitives",slug:"/primitives/svg-widget",permalink:"/react-native-android-widget/docs/primitives/svg-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/svg-widget.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"default",previous:{title:"IconWidget",permalink:"/react-native-android-widget/docs/primitives/icon-widget"},next:{title:"Update Widget",permalink:"/react-native-android-widget/docs/update-widget"}},g={},a=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}];function c(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"svgwidget",children:"SvgWidget"}),"\n",(0,n.jsx)(t.p,{children:"Widget for displaying SVG.\nIt supports importing an SVG file, or using an SVG string;"}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:'import { FlexWidget, SvgWidget } from \'react-native-android-widget\';\n\nconst svgString = `\n<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 300 300">\n ...\n</svg>\n`;\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <SvgWidget\n // highlight-next-line\n svg={require(\'../assets/SVG_Logo.svg\')}\n style={{ height: 72, width: 72 }}\n />\n\n <SvgWidget\n // highlight-next-line\n svg={svgString}\n style={{ height: 72, width: 72 }}\n />\n </FlexWidget>\n );\n}\n'})}),"\n",(0,n.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,n.jsxs)(t.p,{children:["Check the props in the ",(0,n.jsx)(t.a,{href:"/docs/public-api/interfaces/SvgWidgetProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>d});var n=i(7294);const s={},r=n.createContext(s);function d(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17c5701b.9aeb7ab4.js b/assets/js/17c5701b.9aeb7ab4.js deleted file mode 100644 index 5060efb..0000000 --- a/assets/js/17c5701b.9aeb7ab4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3895],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>u});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d=r.createContext({}),p=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(d.Provider,{value:t},e.children)},g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},l=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,d=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),l=p(n),u=i,v=l["".concat(d,".").concat(u)]||l[u]||g[u]||o;return n?r.createElement(v,a(a({ref:t},c),{},{components:n})):r.createElement(v,a({ref:t},c))}));function u(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=l;var s={};for(var d in t)hasOwnProperty.call(t,d)&&(s[d]=t[d]);s.originalType=e,s.mdxType="string"==typeof e?e:i,a[1]=s;for(var p=2;p<o;p++)a[p]=n[p];return r.createElement.apply(null,a)}return r.createElement.apply(null,n)}l.displayName="MDXCreateElement"},6808:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>g,frontMatter:()=>o,metadata:()=>s,toc:()=>p});var r=n(7462),i=(n(7294),n(3905));const o={sidebar_position:7},a="SvgWidget",s={unversionedId:"primitives/svg-widget",id:"primitives/svg-widget",title:"SvgWidget",description:"Widget for displaying SVG.",source:"@site/docs/primitives/svg-widget.md",sourceDirName:"primitives",slug:"/primitives/svg-widget",permalink:"/react-native-android-widget/docs/primitives/svg-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/svg-widget.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"default",previous:{title:"IconWidget",permalink:"/react-native-android-widget/docs/primitives/icon-widget"},next:{title:"Update Widget",permalink:"/react-native-android-widget/docs/update-widget"}},d={},p=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}],c={toc:p};function g(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"svgwidget"},"SvgWidget"),(0,i.kt)("p",null,"Widget for displaying SVG.\nIt supports importing an SVG file, or using an SVG string;"),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-tsx"},'import { FlexWidget, SvgWidget } from \'react-native-android-widget\';\n\nconst svgString = `\n<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 300 300">\n ...\n</svg>\n`;\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <SvgWidget\n // highlight-next-line\n svg={require(\'../assets/SVG_Logo.svg\')}\n style={{ height: 72, width: 72 }}\n />\n\n <SvgWidget\n // highlight-next-line\n svg={svgString}\n style={{ height: 72, width: 72 }}\n />\n </FlexWidget>\n );\n}\n')),(0,i.kt)("h2",{id:"props"},"Props"),(0,i.kt)("p",null,"Check the props in the ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/SvgWidgetProps"},"Public API")," documentation"))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/181303e3.4a701bf9.js b/assets/js/181303e3.4a701bf9.js deleted file mode 100644 index 793f767..0000000 --- a/assets/js/181303e3.4a701bf9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7473],{3905:(e,t,n)=>{n.d(t,{Zo:()=>g,kt:()=>u});var i=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=i.createContext({}),p=function(e){var t=i.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},g=function(e){var t=p(e.components);return i.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},l=i.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,s=e.parentName,g=d(e,["components","mdxType","originalType","parentName"]),l=p(n),u=r,f=l["".concat(s,".").concat(u)]||l[u]||c[u]||a;return n?i.createElement(f,o(o({ref:t},g),{},{components:n})):i.createElement(f,o({ref:t},g))}));function u(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,o=new Array(a);o[0]=l;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:r,o[1]=d;for(var p=2;p<a;p++)o[p]=n[p];return i.createElement.apply(null,o)}return i.createElement.apply(null,n)}l.displayName="MDXCreateElement"},8239:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>d,toc:()=>p});var i=n(7462),r=(n(7294),n(3905));const a={sidebar_position:4},o="registerWidgetConfigurationScreen",d={unversionedId:"api/register-widget-configuration-screen",id:"api/register-widget-configuration-screen",title:"registerWidgetConfigurationScreen",description:"react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.",source:"@site/docs/api/register-widget-configuration-screen.md",sourceDirName:"api",slug:"/api/register-widget-configuration-screen",permalink:"/react-native-android-widget/docs/api/register-widget-configuration-screen",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/register-widget-configuration-screen.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"requestWidgetUpdate",permalink:"/react-native-android-widget/docs/api/request-widget-update"},next:{title:"Primitives",permalink:"/react-native-android-widget/docs/primitives/index"}},s={},p=[{value:"Multiple configurable widgets",id:"multiple-configurable-widgets",level:2},{value:"Usage",id:"usage",level:2},{value:"Register the widget configuration screen",id:"register-the-widget-configuration-screen",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Types",id:"types",level:2}],g={toc:p};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,i.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"registerwidgetconfigurationscreen"},"registerWidgetConfigurationScreen"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a ",(0,r.kt)("inlineCode",{parentName:"p"},"registerWidgetConfigurationScreen")," function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened."),(0,r.kt)("p",null,"The user can cancel the configuration (by calling ",(0,r.kt)("inlineCode",{parentName:"p"},"setResult('cancel')"),").\nIf the widget was just added it will be removed from the home screen, otherwise just the conifuguration will be canceled and the widget will remain as is."),(0,r.kt)("p",null,"If the user changes some configuration and wants to add the widget, we will need to:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Call ",(0,r.kt)("inlineCode",{parentName:"li"},"renderWidget")," to update the widget with the new configuration"),(0,r.kt)("li",{parentName:"ul"},"Call ",(0,r.kt)("inlineCode",{parentName:"li"},"setResult('ok')")," to indicate that the configuration is done and the screen can be closed")),(0,r.kt)("h2",{id:"multiple-configurable-widgets"},"Multiple configurable widgets"),(0,r.kt)("p",null,"If we have multiple configurable widgets, they will share the same configuration screen,\nbut we can check which widget is configured by the ",(0,r.kt)("inlineCode",{parentName:"p"},"widgetInfo")," prop and show different UI depending on the widget."),(0,r.kt)("h2",{id:"usage"},"Usage"),(0,r.kt)("p",null,"First, create a widget configuration component, containing:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="WidgetConfigurationScreen.tsx"',title:'"WidgetConfigurationScreen.tsx"'},"import React from 'react';\nimport type { WidgetConfigurationScreenProps } from 'react-native-android-widget';\nimport { ConfigurableWidget } from './ConfigurableWidget';\n\nexport function WidgetConfigurationScreen({\n widgetInfo,\n setResult,\n renderWidget,\n}: WidgetConfigurationScreenProps) {\n // Here we can define the UI for configuring the widget\n}\n")),(0,r.kt)("h2",{id:"register-the-widget-configuration-screen"},"Register the widget configuration screen"),(0,r.kt)("p",null,"In the main ",(0,r.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,r.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"index.tsx"),") file for our app, when we register the main component, register the widget configuration screen."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { AppRegistry } from 'react-native';\nimport {\n registerWidgetConfigurationScreen,\n registerWidgetTaskHandler,\n} from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\nimport { WidgetConfigurationScreen } from './WidgetConfigurationScreen';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\nregisterWidgetConfigurationScreen(WidgetConfigurationScreen);\n")),(0,r.kt)("h2",{id:"register-widget-task-handler-expo"},"Register widget task handler (Expo)"),(0,r.kt)("p",null,"If we are using Expo, there is no ",(0,r.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,r.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"index.tsx"),"), but we can create it."),(0,r.kt)("p",null,"First, update ",(0,r.kt)("inlineCode",{parentName:"p"},"package.json")," main field to point to ",(0,r.kt)("inlineCode",{parentName:"p"},"index.ts")," (or ",(0,r.kt)("inlineCode",{parentName:"p"},".js"),") instead of ",(0,r.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="package.json"',title:'"package.json"'},'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n')),(0,r.kt)("p",null,"Create the file, using ",(0,r.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")," as a template.\nThen import ",(0,r.kt)("inlineCode",{parentName:"p"},"widgetTaskHandler")," and register it."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { registerRootComponent } from 'expo';\nimport {\n registerWidgetConfigurationScreen,\n registerWidgetTaskHandler,\n} from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\nimport { WidgetConfigurationScreen } from './WidgetConfigurationScreen';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\nregisterWidgetConfigurationScreen(WidgetConfigurationScreen);\n")),(0,r.kt)("h2",{id:"types"},"Types"),(0,r.kt)("p",null,"Check the types in the ",(0,r.kt)("a",{parentName:"p",href:"/docs/public-api#registerwidgetconfigurationscreen"},"Public API")," documentation"),(0,r.kt)("p",null,"The widget configuration screen has some properties, described with ",(0,r.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/WidgetConfigurationScreenProps"},"WidgetConfigurationScreenProps")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/181303e3.7ad76c60.js b/assets/js/181303e3.7ad76c60.js new file mode 100644 index 0000000..c8ef5ff --- /dev/null +++ b/assets/js/181303e3.7ad76c60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7473],{1699:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var t=i(5893),r=i(1151);const o={sidebar_position:4},s="registerWidgetConfigurationScreen",d={id:"api/register-widget-configuration-screen",title:"registerWidgetConfigurationScreen",description:"react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.",source:"@site/docs/api/register-widget-configuration-screen.md",sourceDirName:"api",slug:"/api/register-widget-configuration-screen",permalink:"/react-native-android-widget/docs/api/register-widget-configuration-screen",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/register-widget-configuration-screen.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"requestWidgetUpdate",permalink:"/react-native-android-widget/docs/api/request-widget-update"},next:{title:"Primitives",permalink:"/react-native-android-widget/docs/primitives/index"}},a={},c=[{value:"Multiple configurable widgets",id:"multiple-configurable-widgets",level:2},{value:"Usage",id:"usage",level:2},{value:"Register the widget configuration screen",id:"register-the-widget-configuration-screen",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Types",id:"types",level:2}];function g(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"registerwidgetconfigurationscreen",children:"registerWidgetConfigurationScreen"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"react-native-android-widget"})," exports a ",(0,t.jsx)(n.code,{children:"registerWidgetConfigurationScreen"})," function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened."]}),"\n",(0,t.jsxs)(n.p,{children:["The user can cancel the configuration (by calling ",(0,t.jsx)(n.code,{children:"setResult('cancel')"}),").\nIf the widget was just added it will be removed from the home screen, otherwise just the conifuguration will be canceled and the widget will remain as is."]}),"\n",(0,t.jsx)(n.p,{children:"If the user changes some configuration and wants to add the widget, we will need to:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["Call ",(0,t.jsx)(n.code,{children:"renderWidget"})," to update the widget with the new configuration"]}),"\n",(0,t.jsxs)(n.li,{children:["Call ",(0,t.jsx)(n.code,{children:"setResult('ok')"})," to indicate that the configuration is done and the screen can be closed"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"multiple-configurable-widgets",children:"Multiple configurable widgets"}),"\n",(0,t.jsxs)(n.p,{children:["If we have multiple configurable widgets, they will share the same configuration screen,\nbut we can check which widget is configured by the ",(0,t.jsx)(n.code,{children:"widgetInfo"})," prop and show different UI depending on the widget."]}),"\n",(0,t.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,t.jsx)(n.p,{children:"First, create a widget configuration component, containing:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="WidgetConfigurationScreen.tsx"',children:"import React from 'react';\nimport type { WidgetConfigurationScreenProps } from 'react-native-android-widget';\nimport { ConfigurableWidget } from './ConfigurableWidget';\n\nexport function WidgetConfigurationScreen({\n widgetInfo,\n setResult,\n renderWidget,\n}: WidgetConfigurationScreenProps) {\n // Here we can define the UI for configuring the widget\n}\n"})}),"\n",(0,t.jsx)(n.h2,{id:"register-the-widget-configuration-screen",children:"Register the widget configuration screen"}),"\n",(0,t.jsxs)(n.p,{children:["In the main ",(0,t.jsx)(n.code,{children:"index.js"})," (or ",(0,t.jsx)(n.code,{children:"index.ts"}),", ",(0,t.jsx)(n.code,{children:"index.tsx"}),") file for our app, when we register the main component, register the widget configuration screen."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="index.ts"',children:"import { AppRegistry } from 'react-native';\nimport {\n registerWidgetConfigurationScreen,\n registerWidgetTaskHandler,\n} from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\nimport { WidgetConfigurationScreen } from './WidgetConfigurationScreen';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\nregisterWidgetConfigurationScreen(WidgetConfigurationScreen);\n"})}),"\n",(0,t.jsx)(n.h2,{id:"register-widget-task-handler-expo",children:"Register widget task handler (Expo)"}),"\n",(0,t.jsxs)(n.p,{children:["If we are using Expo, there is no ",(0,t.jsx)(n.code,{children:"index.js"})," (or ",(0,t.jsx)(n.code,{children:"index.ts"}),", ",(0,t.jsx)(n.code,{children:"index.tsx"}),"), but we can create it."]}),"\n",(0,t.jsxs)(n.p,{children:["First, update ",(0,t.jsx)(n.code,{children:"package.json"})," main field to point to ",(0,t.jsx)(n.code,{children:"index.ts"})," (or ",(0,t.jsx)(n.code,{children:".js"}),") instead of ",(0,t.jsx)(n.code,{children:"node_modules/expo/AppEntry.js"})]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="package.json"',children:'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n'})}),"\n",(0,t.jsxs)(n.p,{children:["Create the file, using ",(0,t.jsx)(n.code,{children:"node_modules/expo/AppEntry.js"})," as a template.\nThen import ",(0,t.jsx)(n.code,{children:"widgetTaskHandler"})," and register it."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="index.ts"',children:"import { registerRootComponent } from 'expo';\nimport {\n registerWidgetConfigurationScreen,\n registerWidgetTaskHandler,\n} from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\nimport { WidgetConfigurationScreen } from './WidgetConfigurationScreen';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\nregisterWidgetConfigurationScreen(WidgetConfigurationScreen);\n"})}),"\n",(0,t.jsx)(n.h2,{id:"types",children:"Types"}),"\n",(0,t.jsxs)(n.p,{children:["Check the types in the ",(0,t.jsx)(n.a,{href:"/docs/public-api#registerwidgetconfigurationscreen",children:"Public API"})," documentation"]}),"\n",(0,t.jsxs)(n.p,{children:["The widget configuration screen has some properties, described with ",(0,t.jsx)(n.a,{href:"/docs/public-api/interfaces/WidgetConfigurationScreenProps",children:"WidgetConfigurationScreenProps"})]})]})}function l(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>d,a:()=>s});var t=i(7294);const r={},o=t.createContext(r);function s(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1bb5842c.0dda42b8.js b/assets/js/1bb5842c.0dda42b8.js new file mode 100644 index 0000000..1e17d01 --- /dev/null +++ b/assets/js/1bb5842c.0dda42b8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[322],{4745:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>d,metadata:()=>a,toc:()=>c});var n=i(5893),s=i(1151);const d={sidebar_position:3},r="ListWidget",a={id:"primitives/list-widget",title:"ListWidget",description:"Widget container that shows a scrollable list that can contain multiple items.",source:"@site/docs/primitives/list-widget.md",sourceDirName:"primitives",slug:"/primitives/list-widget",permalink:"/react-native-android-widget/docs/primitives/list-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/list-widget.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"OverlapWidget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget"},next:{title:"ImageWidget",permalink:"/react-native-android-widget/docs/primitives/image-widget"}},o={},c=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2},{value:"Example",id:"example",level:2}];function l(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"listwidget",children:"ListWidget"}),"\n",(0,n.jsx)(t.p,{children:"Widget container that shows a scrollable list that can contain multiple items."}),"\n",(0,n.jsx)(t.admonition,{title:"List item height",type:"danger",children:(0,n.jsxs)(t.p,{children:["Each list item must have a height of equal or less than the height of the ",(0,n.jsx)(t.code,{children:"ListWidget"}),"."]})}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"import {\n ListWidget,\n FlexWidget,\n TextWidget,\n} from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <ListWidget\n style={{\n height: 'match_parent',\n width: 'match_parent',\n backgroundColor: '#1F3529',\n }}\n >\n {Array.from({ length: 15 }).map((_, i) => (\n <FlexWidget\n key={i}\n style={{\n width: 'match_parent',\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'center',\n padding: 8,\n }}\n clickAction=\"OPEN_URI\"\n clickActionData={{\n uri: `androidwidgetexample://list/list-demo/${i + 1}`,\n }}\n >\n <TextWidget text={`React Native Android Widget Release 0.${i + 1}`} />\n </FlexWidget>\n ))}\n </ListWidget>\n );\n}\n"})}),"\n",(0,n.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,n.jsxs)(t.p,{children:["Check the props in the ",(0,n.jsx)(t.a,{href:"/docs/public-api/interfaces/ListWidgetProps",children:"Public API"})," documentation"]}),"\n",(0,n.jsx)(t.h2,{id:"example",children:"Example"}),"\n",(0,n.jsxs)(t.p,{children:["You can see an example widget using ",(0,n.jsx)(t.code,{children:"ListWidget"})," in the examples folder in the repo."]}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.a,{href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/widgets/ListDemoWidget.tsx",children:"ListDemoWidget"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.img,{alt:"List Widget Preview",src:i(4061).Z+"",width:"880",height:"605"})})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},4061:(e,t,i)=>{i.d(t,{Z:()=>n});const n=i.p+"assets/images/list-0d495fe5548effb055930ecbdd3eb9ae.png"},1151:(e,t,i)=>{i.d(t,{Z:()=>a,a:()=>r});var n=i(7294);const s={},d=n.createContext(s);function r(e){const t=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),n.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1bb5842c.ef6f17d3.js b/assets/js/1bb5842c.ef6f17d3.js deleted file mode 100644 index eeb5e3b..0000000 --- a/assets/js/1bb5842c.ef6f17d3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[322],{3905:(e,t,i)=>{i.d(t,{Zo:()=>c,kt:()=>g});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function s(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var l=n.createContext({}),d=function(e){var t=n.useContext(l),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},c=function(e){var t=d(e.components);return n.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),m=d(i),g=r,u=m["".concat(l,".").concat(g)]||m[g]||p[g]||a;return i?n.createElement(u,o(o({ref:t},c),{},{components:i})):n.createElement(u,o({ref:t},c))}));function g(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,o=new Array(a);o[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:r,o[1]=s;for(var d=2;d<a;d++)o[d]=i[d];return n.createElement.apply(null,o)}return n.createElement.apply(null,i)}m.displayName="MDXCreateElement"},1835:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>d});var n=i(7462),r=(i(7294),i(3905));const a={sidebar_position:3},o="ListWidget",s={unversionedId:"primitives/list-widget",id:"primitives/list-widget",title:"ListWidget",description:"Widget container that shows a scrollable list that can contain multiple items.",source:"@site/docs/primitives/list-widget.md",sourceDirName:"primitives",slug:"/primitives/list-widget",permalink:"/react-native-android-widget/docs/primitives/list-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/list-widget.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"OverlapWidget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget"},next:{title:"ImageWidget",permalink:"/react-native-android-widget/docs/primitives/image-widget"}},l={},d=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2},{value:"Example",id:"example",level:2}],c={toc:d};function p(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"listwidget"},"ListWidget"),(0,r.kt)("p",null,"Widget container that shows a scrollable list that can contain multiple items."),(0,r.kt)("admonition",{title:"List item height",type:"danger"},(0,r.kt)("p",{parentName:"admonition"},"Each list item must have a height of equal or less than the height of the ",(0,r.kt)("inlineCode",{parentName:"p"},"ListWidget"),".")),(0,r.kt)("h2",{id:"usage"},"Usage"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-tsx"},"import {\n ListWidget,\n FlexWidget,\n TextWidget,\n} from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <ListWidget\n style={{\n height: 'match_parent',\n width: 'match_parent',\n backgroundColor: '#1F3529',\n }}\n >\n {Array.from({ length: 15 }).map((_, i) => (\n <FlexWidget\n key={i}\n style={{\n width: 'match_parent',\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'center',\n padding: 8,\n }}\n clickAction=\"OPEN_URI\"\n clickActionData={{\n uri: `androidwidgetexample://list/list-demo/${i + 1}`,\n }}\n >\n <TextWidget text={`React Native Android Widget Release 0.${i + 1}`} />\n </FlexWidget>\n ))}\n </ListWidget>\n );\n}\n")),(0,r.kt)("h2",{id:"props"},"Props"),(0,r.kt)("p",null,"Check the props in the ",(0,r.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/ListWidgetProps"},"Public API")," documentation"),(0,r.kt)("h2",{id:"example"},"Example"),(0,r.kt)("p",null,"You can see an example widget using ",(0,r.kt)("inlineCode",{parentName:"p"},"ListWidget")," in the examples folder in the repo."),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/widgets/ListDemoWidget.tsx"},"ListDemoWidget")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"List Widget Preview",src:i(4061).Z,width:"880",height:"605"})))}p.isMDXComponent=!0},4061:(e,t,i)=>{i.d(t,{Z:()=>n});const n=i.p+"assets/images/list-0d495fe5548effb055930ecbdd3eb9ae.png"}}]); \ No newline at end of file diff --git a/assets/js/1be78505.b9a16d8b.js b/assets/js/1be78505.b9a16d8b.js deleted file mode 100644 index e49e413..0000000 --- a/assets/js/1be78505.b9a16d8b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9514,4972],{9963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ce});var a=n(7294),l=n(6010),o=n(1944),r=n(5281),i=n(3320),c=n(3438),s=n(4477),d=n(1116),m=n(7961),u=n(5999),b=n(2466),p=n(5936);const h="backToTopButton_sjWU",E="backToTopButtonShow_xfvO";function f(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,l]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:r,cancelScroll:i}=(0,b.Ct)();return(0,b.RF)(((e,n)=>{let{scrollY:a}=e;const r=null==n?void 0:n.scrollY;r&&(o.current?o.current=!1:a>=r?(i(),l(!1)):a<t?l(!1):a+window.innerHeight<document.documentElement.scrollHeight&&l(!0))})),(0,p.S)((e=>{e.location.hash&&(o.current=!0,l(!1))})),{shown:n,scrollToTop:()=>r(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.Z)("clean-btn",r.k.common.backToTopButton,h,e&&E),type:"button",onClick:t})}var _=n(6550),g=n(7524),v=n(6668),k=n(1327),C=n(7462);function S(e){return a.createElement("svg",(0,C.Z)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const I="collapseSidebarButton_PEFL",N="collapseSidebarButtonIcon_kv0_";function Z(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.Z)("button button--secondary button--outline",I),onClick:t},a.createElement(S,{className:N}))}var T=n(9689),y=n(902);const x=Symbol("EmptyContext"),w=a.createContext(x);function L(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(w.Provider,{value:o},t)}var A=n(6043),M=n(8596),B=n(9960),F=n(2389);function H(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function P(e){let{item:t,onItemClick:n,activePath:o,level:i,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,v.L)(),f=function(e){const t=(0,F.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,c.Wl)(e):void 0),[e,t])}(t),_=(0,c._F)(t,o),g=(0,M.Mg)(h,o),{collapsed:k,setCollapsed:S}=(0,A.u)({initialState:()=>!!b&&(!_&&t.collapsed)}),{expandedItem:I,setExpandedItem:N}=function(){const e=(0,a.useContext)(w);if(e===x)throw new y.i6("DocSidebarItemsExpandedStateProvider");return e}(),Z=function(e){void 0===e&&(e=!k),N(e?null:s),S(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,y.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:_,collapsed:k,updateCollapsed:Z}),(0,a.useEffect)((()=>{b&&null!=I&&I!==s&&E&&S(!0)}),[b,I,s,S,E]),a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemCategory,r.k.docs.docSidebarItemCategoryLevel(i),"menu__list-item",{"menu__list-item--collapsed":k},p)},a.createElement("div",{className:(0,l.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g})},a.createElement(B.Z,(0,C.Z)({className:(0,l.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":_}),onClick:b?e=>{null==n||n(t),h?Z(!1):(e.preventDefault(),Z())}:()=>{null==n||n(t)},"aria-current":g?"page":void 0,"aria-expanded":b?!k:void 0,href:b?f??"#":f},d),u),h&&b&&a.createElement(H,{categoryLabel:u,onClick:e=>{e.preventDefault(),Z()}})),a.createElement(A.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:k},a.createElement(G,{items:m,tabIndex:k?-1:0,onItemClick:n,activePath:o,level:i+1})))}var W=n(3919),D=n(9471);const R="menuExternalLink_NmtK";function V(e){let{item:t,onItemClick:n,activePath:o,level:i,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,c._F)(t,o),E=(0,W.Z)(m);return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",b),key:u},a.createElement(B.Z,(0,C.Z)({className:(0,l.Z)("menu__link",!E&&R,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(D.Z,null)))}const z="menuHtmlItem_M9Kj";function U(e){let{item:t,level:n,index:o}=e;const{value:i,defaultStyle:c,className:s}=t;return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(n),c&&[z,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:i}})}function K(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(P,(0,C.Z)({item:t},n));case"html":return a.createElement(U,(0,C.Z)({item:t},n));default:return a.createElement(V,(0,C.Z)({item:t},n))}}function j(e){let{items:t,...n}=e;return a.createElement(L,null,t.map(((e,t)=>a.createElement(K,(0,C.Z)({key:t,item:e,index:t},n)))))}const G=(0,a.memo)(j),Y="menu_SIkG",q="menuWithAnnouncementBar_GW3s";function O(e){let{path:t,sidebar:n,className:o}=e;const i=function(){const{isActive:e}=(0,T.nT)(),[t,n]=(0,a.useState)(e);return(0,b.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{"aria-label":(0,u.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,l.Z)("menu thin-scrollbar",Y,i&&q,o)},a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(G,{items:n,activePath:t,level:1})))}const X="sidebar_njMd",J="sidebarWithHideableNavbar_wUlq",Q="sidebarHidden_VK0M",$="sidebarLogo_isFc";function ee(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:i},docs:{sidebar:{hideable:c}}}=(0,v.L)();return a.createElement("div",{className:(0,l.Z)(X,i&&J,r&&Q)},i&&a.createElement(k.Z,{tabIndex:-1,className:$}),a.createElement(O,{path:t,sidebar:n}),c&&a.createElement(Z,{onClick:o}))}const te=a.memo(ee);var ne=n(3102),ae=n(3163);const le=e=>{let{sidebar:t,path:n}=e;const o=(0,ae.e)();return a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(G,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function oe(e){return a.createElement(ne.Zo,{component:le,props:e})}const re=a.memo(oe);function ie(e){const t=(0,g.i)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement(te,e),l&&a.createElement(re,e))}const ce="expandButton_m80_",se="expandButtonIcon_BlDH";function de(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:ce,title:(0,u.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(S,{className:se}))}const me={docSidebarContainer:"docSidebarContainer_b6E3",docSidebarContainerHidden:"docSidebarContainerHidden_b3ry",sidebarViewport:"sidebarViewport_Xe31"};function ue(e){let{children:t}=e;const n=(0,d.V)();return a.createElement(a.Fragment,{key:(null==n?void 0:n.name)??"noSidebar"},t)}function be(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:i}=(0,_.TH)(),[c,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{c&&s(!1),o((e=>!e))}),[o,c]);return a.createElement("aside",{className:(0,l.Z)(r.k.docs.docSidebarContainer,me.docSidebarContainer,n&&me.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(me.docSidebarContainer)&&n&&s(!0)}},a.createElement(ue,null,a.createElement("div",{className:(0,l.Z)(me.sidebarViewport,c&&me.sidebarViewportHidden)},a.createElement(ie,{sidebar:t,path:i,onCollapse:d,isHidden:c}),c&&a.createElement(de,{toggleSidebar:d}))))}const pe={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function he(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.V)();return a.createElement("main",{className:(0,l.Z)(pe.docMainContainer,(t||!o)&&pe.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.Z)("container padding-top--md padding-bottom--lg",pe.docItemWrapper,t&&pe.docItemWrapperEnhanced)},n))}const Ee="docPage__5DB",fe="docsWrapper_BCFX";function _e(e){let{children:t}=e;const n=(0,d.V)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.Z,{wrapperClassName:fe},a.createElement(f,null),a.createElement("div",{className:Ee},n&&a.createElement(be,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(he,{hiddenSidebarContainer:l},t)))}var ge=n(4972),ve=n(197);function ke(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(ve.Z,{version:t.version,tag:(0,i.os)(t.pluginId,t.version)}),a.createElement(o.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function Ce(e){const{versionMetadata:t}=e,n=(0,c.hI)(e);if(!n)return a.createElement(ge.default,null);const{docElement:i,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(ke,e),a.createElement(o.FG,{className:(0,l.Z)(r.k.wrapper.docsPages,r.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:m,items:u},a.createElement(_e,null,i)))))}},4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(7294),l=n(5999),o=n(1944),r=n(7961);function i(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/1cfe139a.718f1438.js b/assets/js/1cfe139a.718f1438.js deleted file mode 100644 index e6742e9..0000000 --- a/assets/js/1cfe139a.718f1438.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9484],{3905:(e,t,a)=>{a.d(t,{Zo:()=>s,kt:()=>g});var r=a(7294);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var p=r.createContext({}),o=function(e){var t=r.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},s=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},k=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,i=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),k=o(a),g=n,u=k["".concat(p,".").concat(g)]||k[g]||m[g]||i;return a?r.createElement(u,l(l({ref:t},s),{},{components:a})):r.createElement(u,l({ref:t},s))}));function g(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=a.length,l=new Array(i);l[0]=k;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:n,l[1]=d;for(var o=2;o<i;o++)l[o]=a[o];return r.createElement.apply(null,l)}return r.createElement.apply(null,a)}k.displayName="MDXCreateElement"},3115:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var r=a(7462),n=(a(7294),a(3905));const i={id:"index",title:"react-native-android-widget",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},l=void 0,d={unversionedId:"public-api/index",id:"public-api/index",title:"react-native-android-widget",description:"Interfaces",source:"@site/docs/public-api/index.md",sourceDirName:"public-api",slug:"/public-api/",permalink:"/react-native-android-widget/docs/public-api/",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:.5,frontMatter:{id:"index",title:"react-native-android-widget",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},sidebar:"api",next:{title:"BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"}},p={},o=[{value:"Interfaces",id:"interfaces",level:2},{value:"Namespaces",id:"namespaces",level:2},{value:"Functions",id:"functions",level:2},{value:"WidgetPreview",id:"widgetpreview",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"getWidgetInfo",id:"getwidgetinfo",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"registerWidgetConfigurationScreen",id:"registerwidgetconfigurationscreen",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"registerWidgetTaskHandler",id:"registerwidgettaskhandler",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"requestWidgetUpdate",id:"requestwidgetupdate",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"FlexWidget",id:"flexwidget",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-5",level:4},{value:"IconWidget",id:"iconwidget",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-6",level:4},{value:"ImageWidget",id:"imagewidget",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-7",level:4},{value:"ListWidget",id:"listwidget",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-8",level:4},{value:"OverlapWidget",id:"overlapwidget",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-9",level:4},{value:"SvgWidget",id:"svgwidget",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-10",level:4},{value:"TextWidget",id:"textwidget",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-11",level:4},{value:"Type Aliases",id:"type-aliases",level:2},{value:"WidgetConfigurationScreen",id:"widgetconfigurationscreen",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"WidgetTaskHandler",id:"widgettaskhandler",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"ResourcePath",id:"resourcepath",level:3},{value:"ImageWidgetSource",id:"imagewidgetsource",level:3},{value:"SvgWidgetStyle",id:"svgwidgetstyle",level:3},{value:"HexColor",id:"hexcolor",level:3},{value:"RgbaColor",id:"rgbacolor",level:3},{value:"ColorProp",id:"colorprop",level:3}],s={toc:o};function m(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,r.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"interfaces"},"Interfaces"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"},"WidgetPreviewProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"},"WidgetConfigurationScreenProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"},"WidgetTaskHandlerProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"},"RequestWidgetUpdateProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"},"ScreenInfo")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},"WidgetInfo")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/Widget"},"Widget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams"},"WithAndroidWidgetsParams")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"},"FlexWidgetStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},"FlexWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"},"IconWidgetStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},"IconWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},"ImageWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},"ListWidgetStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},"ListWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"},"OverlapWidgetStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},"OverlapWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},"SvgWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"},"TextWidgetStyle")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},"TextWidgetProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},"SizeStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},"BackgroundStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"},"OtherStyleProps")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"))),(0,n.kt)("h2",{id:"namespaces"},"Namespaces"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/FlexWidget"},"FlexWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/IconWidget"},"IconWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/ImageWidget"},"ImageWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/ListWidget"},"ListWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/OverlapWidget"},"OverlapWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/SvgWidget"},"SvgWidget")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/public-api/namespaces/TextWidget"},"TextWidget"))),(0,n.kt)("h2",{id:"functions"},"Functions"),(0,n.kt)("h3",{id:"widgetpreview"},"WidgetPreview"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"WidgetPreview"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"\xabdestructured\xbb"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"Element")),(0,n.kt)("h4",{id:"parameters"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"\xabdestructured\xbb")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetPreviewProps")))))),(0,n.kt)("h4",{id:"returns"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Element")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getwidgetinfo"},"getWidgetInfo"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"getWidgetInfo"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"widgetName"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetInfo")),"[]",">"),(0,n.kt)("p",null,"Returns a list of ",(0,n.kt)("inlineCode",{parentName:"p"},"widgetName")," widgets added on the home screen"),(0,n.kt)("h4",{id:"parameters-1"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"widgetName")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"string"))))),(0,n.kt)("h4",{id:"returns-1"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetInfo")),"[]",">"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"registerwidgetconfigurationscreen"},"registerWidgetConfigurationScreen"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"registerWidgetConfigurationScreen"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"WidgetConfigurationScreenComponent"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"void")),(0,n.kt)("p",null,"Register a task handler that will handle widget actions"),(0,n.kt)("h4",{id:"parameters-2"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"WidgetConfigurationScreenComponent")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"#widgetconfigurationscreen"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetConfigurationScreen")))))),(0,n.kt)("h4",{id:"returns-2"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"void")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"registerwidgettaskhandler"},"registerWidgetTaskHandler"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"registerWidgetTaskHandler"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"handler"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"void")),(0,n.kt)("p",null,"Register a task handler that will handle widget actions"),(0,n.kt)("h4",{id:"parameters-3"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"handler")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"#widgettaskhandler"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetTaskHandler"))),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"#widgettaskhandler"},"WidgetTaskHandler"))))),(0,n.kt)("h4",{id:"returns-3"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"void")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"requestwidgetupdate"},"requestWidgetUpdate"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"requestWidgetUpdate"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"param0"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,n.kt)("p",null,"Request widget update for a given widget name\nA callback will be called for each widget with that name that is added to the home screen"),(0,n.kt)("h4",{id:"parameters-4"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"param0")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"},(0,n.kt)("inlineCode",{parentName:"a"},"RequestWidgetUpdateProps"))),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"},"RequestWidgetUpdateProps"))))),(0,n.kt)("h4",{id:"returns-4"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"flexwidget"},"FlexWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"FlexWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"\xabdestructured\xbb"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("h4",{id:"parameters-5"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"\xabdestructured\xbb")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"FlexWidgetProps")))))),(0,n.kt)("h4",{id:"returns-5"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"iconwidget"},"IconWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"IconWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"_"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("h4",{id:"parameters-6"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"_")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"IconWidgetProps")))))),(0,n.kt)("h4",{id:"returns-6"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"imagewidget"},"ImageWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"ImageWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"_"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("h4",{id:"parameters-7"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"_")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"ImageWidgetProps")))))),(0,n.kt)("h4",{id:"returns-7"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"listwidget"},"ListWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"ListWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"\xabdestructured\xbb"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("h4",{id:"parameters-8"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"\xabdestructured\xbb")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"ListWidgetProps")))))),(0,n.kt)("h4",{id:"returns-8"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"overlapwidget"},"OverlapWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"OverlapWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"\xabdestructured\xbb"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("h4",{id:"parameters-9"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"\xabdestructured\xbb")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"OverlapWidgetProps")))))),(0,n.kt)("h4",{id:"returns-9"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"svgwidget"},"SvgWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"SvgWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"_"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("h4",{id:"parameters-10"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"_")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"SvgWidgetProps")))))),(0,n.kt)("h4",{id:"returns-10"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"textwidget"},"TextWidget"),(0,n.kt)("p",null,"\u25b8 ",(0,n.kt)("strong",{parentName:"p"},"TextWidget"),"(",(0,n.kt)("inlineCode",{parentName:"p"},"_"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("h4",{id:"parameters-11"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"_")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},(0,n.kt)("inlineCode",{parentName:"a"},"TextWidgetProps")))))),(0,n.kt)("h4",{id:"returns-11"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"null")),(0,n.kt)("h2",{id:"type-aliases"},"Type Aliases"),(0,n.kt)("h3",{id:"widgetconfigurationscreen"},"WidgetConfigurationScreen"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"WidgetConfigurationScreen"),": (",(0,n.kt)("inlineCode",{parentName:"p"},"props"),": ",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetConfigurationScreenProps")),") => ",(0,n.kt)("inlineCode",{parentName:"p"},"JSX.Element")),(0,n.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,n.kt)("p",null,"\u25b8 (",(0,n.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"JSX.Element")),(0,n.kt)("h5",{id:"parameters-12"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"props")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetConfigurationScreenProps")))))),(0,n.kt)("h5",{id:"returns-12"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"JSX.Element")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"widgettaskhandler"},"WidgetTaskHandler"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"WidgetTaskHandler"),": (",(0,n.kt)("inlineCode",{parentName:"p"},"props"),": ",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetTaskHandlerProps")),") => ",(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,n.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,n.kt)("p",null,"\u25b8 (",(0,n.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,n.kt)("h5",{id:"parameters-13"},"Parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"props")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"},(0,n.kt)("inlineCode",{parentName:"a"},"WidgetTaskHandlerProps")))))),(0,n.kt)("h5",{id:"returns-13"},"Returns"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,n.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"resourcepath"},"ResourcePath"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"ResourcePath"),": ","`","./${string}","`"," ","|"," ","`","../${string}","`"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"imagewidgetsource"},"ImageWidgetSource"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"ImageWidgetSource"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"ImageRequireSource")," ","|"," ","`","http:${string}","`"," ","|"," ","`","https:${string}","`"," ","|"," ","`","data:image${string}","`"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"svgwidgetstyle"},"SvgWidgetStyle"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"SvgWidgetStyle"),": ",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"hexcolor"},"HexColor"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"HexColor"),": ","`","#${string}","`"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"rgbacolor"},"RgbaColor"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"RgbaColor"),": ","`","rgba(${number}, ${number}, ${number}, ${number})","`"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"colorprop"},"ColorProp"),(0,n.kt)("p",null,"\u01ac ",(0,n.kt)("strong",{parentName:"p"},"ColorProp"),": ",(0,n.kt)("a",{parentName:"p",href:"#hexcolor"},(0,n.kt)("inlineCode",{parentName:"a"},"HexColor"))," ","|"," ",(0,n.kt)("a",{parentName:"p",href:"#rgbacolor"},(0,n.kt)("inlineCode",{parentName:"a"},"RgbaColor"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1cfe139a.99e989ee.js b/assets/js/1cfe139a.99e989ee.js new file mode 100644 index 0000000..94c4e3f --- /dev/null +++ b/assets/js/1cfe139a.99e989ee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9484],{8469:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>c,contentTitle:()=>s,default:()=>o,frontMatter:()=>n,metadata:()=>l,toc:()=>a});var t=r(5893),d=r(1151);const n={id:"index",title:"react-native-android-widget",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},s=void 0,l={id:"public-api/index",title:"react-native-android-widget",description:"Interfaces",source:"@site/docs/public-api/index.md",sourceDirName:"public-api",slug:"/public-api/",permalink:"/react-native-android-widget/docs/public-api/",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:.5,frontMatter:{id:"index",title:"react-native-android-widget",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},sidebar:"api",next:{title:"BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"}},c={},a=[{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"WidgetConfigurationScreen",id:"widgetconfigurationscreen",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"WidgetTaskHandler",id:"widgettaskhandler",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"ResourcePath",id:"resourcepath",level:3},{value:"ImageWidgetSource",id:"imagewidgetsource",level:3},{value:"SvgWidgetStyle",id:"svgwidgetstyle",level:3},{value:"HexColor",id:"hexcolor",level:3},{value:"RgbaColor",id:"rgbacolor",level:3},{value:"ColorProp",id:"colorprop",level:3},{value:"Functions",id:"functions",level:2},{value:"WidgetPreview",id:"widgetpreview",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"getWidgetInfo",id:"getwidgetinfo",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"registerWidgetConfigurationScreen",id:"registerwidgetconfigurationscreen",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"registerWidgetTaskHandler",id:"registerwidgettaskhandler",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-5",level:4},{value:"requestWidgetUpdate",id:"requestwidgetupdate",level:3},{value:"Parameters",id:"parameters-6",level:4},{value:"Returns",id:"returns-6",level:4},{value:"FlexWidget",id:"flexwidget",level:3},{value:"Parameters",id:"parameters-7",level:4},{value:"Returns",id:"returns-7",level:4},{value:"IconWidget",id:"iconwidget",level:3},{value:"Parameters",id:"parameters-8",level:4},{value:"Returns",id:"returns-8",level:4},{value:"ImageWidget",id:"imagewidget",level:3},{value:"Parameters",id:"parameters-9",level:4},{value:"Returns",id:"returns-9",level:4},{value:"ListWidget",id:"listwidget",level:3},{value:"Parameters",id:"parameters-10",level:4},{value:"Returns",id:"returns-10",level:4},{value:"OverlapWidget",id:"overlapwidget",level:3},{value:"Parameters",id:"parameters-11",level:4},{value:"Returns",id:"returns-11",level:4},{value:"SvgWidget",id:"svgwidget",level:3},{value:"Parameters",id:"parameters-12",level:4},{value:"Returns",id:"returns-12",level:4},{value:"TextWidget",id:"textwidget",level:3},{value:"Parameters",id:"parameters-13",level:4},{value:"Returns",id:"returns-13",level:4}];function h(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",children:"WidgetPreviewProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",children:"WidgetConfigurationScreenProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",children:"WidgetTaskHandlerProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",children:"RequestWidgetUpdateProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",children:"ScreenInfo"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:"WidgetInfo"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/Widget",children:"Widget"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",children:"WithAndroidWidgetsParams"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",children:"FlexWidgetStyle"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",children:"FlexWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",children:"IconWidgetStyle"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",children:"IconWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",children:"ImageWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",children:"ListWidgetStyle"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",children:"ListWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",children:"OverlapWidgetStyle"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",children:"OverlapWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",children:"SvgWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",children:"TextWidgetStyle"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",children:"TextWidgetProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",children:"OtherStyleProps"})}),"\n",(0,t.jsx)(i.li,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"})}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,t.jsx)(i.h3,{id:"widgetconfigurationscreen",children:"WidgetConfigurationScreen"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"WidgetConfigurationScreen"}),": (",(0,t.jsx)(i.code,{children:"props"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",children:(0,t.jsx)(i.code,{children:"WidgetConfigurationScreenProps"})}),") => ",(0,t.jsx)(i.code,{children:"JSX.Element"})]}),"\n",(0,t.jsx)(i.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 (",(0,t.jsx)(i.code,{children:"props"}),"): ",(0,t.jsx)(i.code,{children:"JSX.Element"})]}),"\n",(0,t.jsx)(i.h5,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"props"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",children:(0,t.jsx)(i.code,{children:"WidgetConfigurationScreenProps"})})})]})})]}),"\n",(0,t.jsx)(i.h5,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"JSX.Element"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"widgettaskhandler",children:"WidgetTaskHandler"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"WidgetTaskHandler"}),": (",(0,t.jsx)(i.code,{children:"props"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",children:(0,t.jsx)(i.code,{children:"WidgetTaskHandlerProps"})}),") => ",(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(i.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 (",(0,t.jsx)(i.code,{children:"props"}),"): ",(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(i.h5,{id:"parameters-1",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"props"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",children:(0,t.jsx)(i.code,{children:"WidgetTaskHandlerProps"})})})]})})]}),"\n",(0,t.jsx)(i.h5,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"resourcepath",children:"ResourcePath"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"ResourcePath"}),": `./${string}` | `../${string}`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"imagewidgetsource",children:"ImageWidgetSource"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"ImageWidgetSource"}),": ",(0,t.jsx)(i.code,{children:"ImageRequireSource"})," | `http:${string}` | `https:${string}` | `data",":image","${string}`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"svgwidgetstyle",children:"SvgWidgetStyle"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"SvgWidgetStyle"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,t.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"hexcolor",children:"HexColor"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"HexColor"}),": `#${string}`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"rgbacolor",children:"RgbaColor"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"RgbaColor"}),": `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"colorprop",children:"ColorProp"}),"\n",(0,t.jsxs)(i.p,{children:["\u01ac ",(0,t.jsx)(i.strong,{children:"ColorProp"}),": ",(0,t.jsx)(i.a,{href:"#hexcolor",children:(0,t.jsx)(i.code,{children:"HexColor"})})," | ",(0,t.jsx)(i.a,{href:"#rgbacolor",children:(0,t.jsx)(i.code,{children:"RgbaColor"})})]}),"\n",(0,t.jsx)(i.h2,{id:"functions",children:"Functions"}),"\n",(0,t.jsx)(i.h3,{id:"widgetpreview",children:"WidgetPreview"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"WidgetPreview"}),"(",(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"}),"): ",(0,t.jsx)(i.code,{children:"Element"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",children:(0,t.jsx)(i.code,{children:"WidgetPreviewProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-2",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"Element"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"getwidgetinfo",children:"getWidgetInfo"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"getWidgetInfo"}),"(",(0,t.jsx)(i.code,{children:"widgetName"}),"): ",(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,t.jsx)(i.code,{children:"WidgetInfo"})}),"[]>"]}),"\n",(0,t.jsxs)(i.p,{children:["Returns a list of ",(0,t.jsx)(i.code,{children:"widgetName"})," widgets added on the home screen"]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"widgetName"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"string"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-3",children:"Returns"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,t.jsx)(i.code,{children:"WidgetInfo"})}),"[]>"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"registerwidgetconfigurationscreen",children:"registerWidgetConfigurationScreen"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"registerWidgetConfigurationScreen"}),"(",(0,t.jsx)(i.code,{children:"WidgetConfigurationScreenComponent"}),"): ",(0,t.jsx)(i.code,{children:"void"})]}),"\n",(0,t.jsx)(i.p,{children:"Register a screen that will handle widget configuration"}),"\n",(0,t.jsx)(i.h4,{id:"parameters-4",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"WidgetConfigurationScreenComponent"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"#widgetconfigurationscreen",children:(0,t.jsx)(i.code,{children:"WidgetConfigurationScreen"})})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"#widgetconfigurationscreen",children:"WidgetConfigurationScreen"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-4",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"void"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"registerwidgettaskhandler",children:"registerWidgetTaskHandler"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"registerWidgetTaskHandler"}),"(",(0,t.jsx)(i.code,{children:"handler"}),"): ",(0,t.jsx)(i.code,{children:"void"})]}),"\n",(0,t.jsx)(i.p,{children:"Register a task handler that will handle widget actions"}),"\n",(0,t.jsx)(i.h4,{id:"parameters-5",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"handler"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"#widgettaskhandler",children:(0,t.jsx)(i.code,{children:"WidgetTaskHandler"})})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"#widgettaskhandler",children:"WidgetTaskHandler"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-5",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"void"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"requestwidgetupdate",children:"requestWidgetUpdate"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"requestWidgetUpdate"}),"(",(0,t.jsx)(i.code,{children:"param0"}),"): ",(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(i.p,{children:"Request widget update for a given widget name\nA callback will be called for each widget with that name that is added to the home screen"}),"\n",(0,t.jsx)(i.h4,{id:"parameters-6",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Description"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"param0"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",children:(0,t.jsx)(i.code,{children:"RequestWidgetUpdateProps"})})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",children:"RequestWidgetUpdateProps"})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-6",children:"Returns"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"Promise"}),"<",(0,t.jsx)(i.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"flexwidget",children:"FlexWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"FlexWidget"}),"(",(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"}),"): ",(0,t.jsx)(i.code,{children:"any"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-7",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",children:(0,t.jsx)(i.code,{children:"FlexWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-7",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"any"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"iconwidget",children:"IconWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"IconWidget"}),"(",(0,t.jsx)(i.code,{children:"_"}),"): ",(0,t.jsx)(i.code,{children:"null"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-8",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"_"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",children:(0,t.jsx)(i.code,{children:"IconWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-8",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"null"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"imagewidget",children:"ImageWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"ImageWidget"}),"(",(0,t.jsx)(i.code,{children:"_"}),"): ",(0,t.jsx)(i.code,{children:"null"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-9",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"_"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",children:(0,t.jsx)(i.code,{children:"ImageWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-9",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"null"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"listwidget",children:"ListWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"ListWidget"}),"(",(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"}),"): ",(0,t.jsx)(i.code,{children:"any"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-10",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",children:(0,t.jsx)(i.code,{children:"ListWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-10",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"any"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"overlapwidget",children:"OverlapWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"OverlapWidget"}),"(",(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"}),"): ",(0,t.jsx)(i.code,{children:"any"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-11",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"\xabdestructured\xbb"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",children:(0,t.jsx)(i.code,{children:"OverlapWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-11",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"any"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"svgwidget",children:"SvgWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"SvgWidget"}),"(",(0,t.jsx)(i.code,{children:"_"}),"): ",(0,t.jsx)(i.code,{children:"null"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-12",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"_"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",children:(0,t.jsx)(i.code,{children:"SvgWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-12",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"null"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"textwidget",children:"TextWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 ",(0,t.jsx)(i.strong,{children:"TextWidget"}),"(",(0,t.jsx)(i.code,{children:"_"}),"): ",(0,t.jsx)(i.code,{children:"null"})]}),"\n",(0,t.jsx)(i.h4,{id:"parameters-13",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"_"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",children:(0,t.jsx)(i.code,{children:"TextWidgetProps"})})})]})})]}),"\n",(0,t.jsx)(i.h4,{id:"returns-13",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"null"})})]})}function o(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>l,a:()=>s});var t=r(7294);const d={},n=t.createContext(d);function s(e){const i=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function l(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:s(e.components),t.createElement(n.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.12baaed4.js b/assets/js/1df93b7f.46e4da64.js similarity index 63% rename from assets/js/c4f5d8e4.12baaed4.js rename to assets/js/1df93b7f.46e4da64.js index bdcaf3b..3cf05b6 100644 --- a/assets/js/c4f5d8e4.12baaed4.js +++ b/assets/js/1df93b7f.46e4da64.js @@ -1 +1 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[4195],{5991:(e,t,l)=>{l.d(t,{Z:()=>M});var a,c,r,n,i,h,m,s,d,f,o,p,E=l(7294);function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},v.apply(this,arguments)}const M=e=>{let{title:t,titleId:l,...M}=e;return E.createElement("svg",v({"data-name":"Layer 1",width:1097.1,height:807.9,viewBox:"0 0 1097.1 807.9",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":l},M),void 0===t?E.createElement("title",{id:l},"android"):t?E.createElement("title",{id:l},t):null,a||(a=E.createElement("path",{d:"M11.85 429.95c17.36 74.2 54.11 138.34 112.19 169.43 120.7 64.61 392.91 31.29 596.07-7a465.21 465.21 0 0 0 264.54-151.23ZM1077.2 80.71H965.73a9.635 9.635 0 1 1 0-19.27H985a9.635 9.635 0 0 1 0-19.27h-13.76a9.635 9.635 0 0 1 0-19.27h58.18c-12.91-6-28-10.27-45.38-12.51-158.64-20.38-215.28-6.9-235.26 7-24.65 17.1-52.15 29.68-81.54 35.74-97.88 20.19-280.93 44.49-446.84-7.78-82.46-26-143.75 17.92-180.48 91.28h1056.63c-1.38-21.32-5.51-41-13.09-58.24a9.58 9.58 0 0 1-6.26 2.32ZM2.39 275.1a491.06 491.06 0 0 0 4.32 129.45l978.68 35.79a460 460 0 0 0 68-103.7Zm387.08 92.35H370.2a9.635 9.635 0 1 1 0 19.27H258.73a9.635 9.635 0 1 1 0-19.27H278a9.635 9.635 0 0 1 0-19.27h-13.76a9.635 9.635 0 0 1 0-19.27h111.47a9.635 9.635 0 1 1 0 19.27h13.76a9.635 9.635 0 0 1 0 19.27ZM1096.6 137.29l-1068.49 26c-12.99 33.4-21.56 71.17-25.56 110.33h1075.33a456.46 456.46 0 0 0 15.53-70.33c3.2-23.02 4.48-45.27 3.19-66Zm-877.13 85.16H200.2a9.635 9.635 0 1 1 0 19.27H88.73a9.635 9.635 0 1 1 0-19.27H108a9.635 9.635 0 0 1 0-19.27H94.24a9.635 9.635 0 0 1 0-19.27h111.47a9.635 9.635 0 1 1 0 19.27h13.76a9.635 9.635 0 0 1 0 19.27Z",fill:"#0077b6",opacity:.1})),c||(c=E.createElement("g",{opacity:.1},E.createElement("path",{d:"M677.55 623.28s28.2-69.5 80.86-95.28a113.65 113.65 0 0 0 51.61-50.05 191.13 191.13 0 0 0 12.93-32.5",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),E.createElement("path",{d:"M856.04 429c-5.49 6.9-33.9 17-33.9 17s3.42-30 8.91-36.85a16 16 0 0 1 25 19.88ZM846.29 483.66c-8.36 2.81-37.68-4.18-37.68-4.18s19.15-23.28 27.51-26.09a16 16 0 0 1 10.17 30.27ZM793.43 548.26c-8.63-1.79-30.42-22.63-30.42-22.63s28.28-10.43 36.92-8.64a16 16 0 0 1-6.5 31.26ZM742.43 588.14c-8.81-.31-33.81-17.16-33.81-17.16s26.12-15.03 34.93-14.75a16 16 0 1 1-1.12 31.91ZM781.31 459.95c1.13 8.75 20.22 32.07 20.22 32.07s12.57-27.4 11.45-36.15a16 16 0 0 0-31.67 4.08ZM722.25 507.34c3.69 8 28.89 24.55 28.89 24.55s3.8-29.91.11-37.91a16 16 0 1 0-29 13.37ZM671.17 561.28c2.28 8.52 24.33 29.08 24.33 29.08s8.8-28.83 6.51-37.35a16 16 0 0 0-30.84 8.27Z",fill:"#0077b6"}),E.createElement("path",{d:"M856.04 429c-5.49 6.9-33.9 17-33.9 17s3.42-30 8.91-36.85a16 16 0 0 1 25 19.88ZM846.29 483.66c-8.36 2.81-37.68-4.18-37.68-4.18s19.15-23.28 27.51-26.09a16 16 0 0 1 10.17 30.27ZM793.43 548.26c-8.63-1.79-30.42-22.63-30.42-22.63s28.28-10.43 36.92-8.64a16 16 0 0 1-6.5 31.26ZM742.43 588.14c-8.81-.31-33.81-17.16-33.81-17.16s26.12-15.03 34.93-14.75a16 16 0 1 1-1.12 31.91ZM781.31 459.95c1.13 8.75 20.22 32.07 20.22 32.07s12.57-27.4 11.45-36.15a16 16 0 0 0-31.67 4.08ZM722.25 507.34c3.69 8 28.89 24.55 28.89 24.55s3.8-29.91.11-37.91a16 16 0 1 0-29 13.37ZM671.17 561.28c2.28 8.52 24.33 29.08 24.33 29.08s8.8-28.83 6.51-37.35a16 16 0 0 0-30.84 8.27Z",opacity:.25}))),r||(r=E.createElement("g",{opacity:.1},E.createElement("path",{d:"M657.55 521.66s3.56-74.92 44.69-116.71a113.65 113.65 0 0 0 32-64.35 191.13 191.13 0 0 0 1.43-34.92",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),E.createElement("path",{d:"M761.55 279.19c-2.89 8.33-26.35 27.26-26.35 27.26s-6.7-29.39-3.81-37.72a16 16 0 1 1 30.16 10.46ZM770.43 333.95c-7 5.42-36.94 8.56-36.94 8.56s10.35-28.32 17.3-33.74a16 16 0 1 1 19.64 25.18ZM741.98 412.47c-8.74 1.17-36.2-11.26-36.2-11.26s23.23-19.22 32-20.39a16 16 0 1 1 4.24 31.65ZM707.09 467c-8.42 2.63-37.59-5-37.59-5s19.64-22.87 28.06-25.5a16 16 0 0 1 9.53 30.48ZM701.26 333.17c4 7.88 29.72 23.55 29.72 23.55s2.77-30-1.19-37.9a16 16 0 0 0-28.53 14.35ZM661.26 397.47c6.14 6.33 35.4 13.58 35.4 13.58s-6.33-29.47-12.47-35.8a16 16 0 0 0-22.93 22.23ZM630.96 465.29c5 7.28 32.6 19.37 32.6 19.37s-1.26-30.12-6.24-37.4a16 16 0 0 0-26.35 18Z",fill:"#0077b6"}))),n||(n=E.createElement("path",{d:"M299.74 775.76c39.32 13.22 87.29 5.18 131.9 6.11 6.11.13 12.57.51 17.47 2.79s7.31 6 10.67 9.15c12.5 11.79 38.11 15.58 60.5 13.58s42.92-8.62 64-13.66c36.52-8.72 78.27-12.68 114.29-3.18 3.31.87 6.79 1.87 10.33 1.53 7.9-.78 10.25-7.1 15.77-10.71 10-6.52 31.63-4.75 36-13.34 2.57-5-3.34-10.2-9.77-13.64-24.62-13.16-59.84-15.33-92.06-13.3s-63.9 7.63-96.29 7.65c-40.35 0-79.34-8.59-119.3-12.11-27.68-2.44-57.89-2.14-83.84 5-28.05 7.82-34.25 25.26-59.67 34.13Z",fill:"#0077b6",opacity:.1})),i||(i=E.createElement("path",{fill:"#535461",d:"M365.51 184.9h7v99h-7zM365.51 317.9h7v56h-7z"})),h||(h=E.createElement("rect",{x:370.51,y:87.9,width:315,height:684,rx:47.1,ry:47.1,fill:"#535461"})),m||(m=E.createElement("rect",{x:370.51,y:119.9,width:315,height:623,rx:47.1,ry:47.1,fill:"#0077b6"})),s||(s=E.createElement("rect",{x:502.51,y:102.9,width:52,height:7,rx:3.5,ry:3.5,fill:"#eaeaf3"})),d||(d=E.createElement("circle",{cx:572.51,cy:106.9,r:5,fill:"#eaeaf3"})),f||(f=E.createElement("path",{d:"M446.31 396.1v73a17.27 17.27 0 0 1-17.33 17.46c-9.64 0-19-7.81-19-17.46v-73c0-9.52 9.33-17.33 19-17.33a17.4 17.4 0 0 1 17.33 17.33Zm6.81 98.94a18.61 18.61 0 0 0 18.65 18.65h12.54l.19 38.51c0 23.25 34.79 23.07 34.79 0v-38.5h23.44v38.51c0 23.13 35 23.19 35 0V513.7h12.73a18.59 18.59 0 0 0 18.53-18.65v-113.1H453.12Zm156.29-119.17h-157c0-27 16.13-50.42 40.08-62.64l-12-22.25c-1.76-3.09 2.71-5 4.22-2.39l12.23 22.44a85.14 85.14 0 0 1 68.25 0l12.16-22.37c1.58-2.71 6-.69 4.22 2.39l-12 22.18c23.71 12.22 39.84 35.67 39.84 62.64Zm-107.58-35a6.62 6.62 0 0 0-6.62-6.62 6.62 6.62 0 0 0 0 13.23 6.62 6.62 0 0 0 6.62-6.59Zm71.47 0a6.52 6.52 0 1 0-6.43 6.62 6.58 6.58 0 0 0 6.43-6.6Zm59.74 37.88a17.28 17.28 0 0 0-17.33 17.33v73a17.39 17.39 0 0 0 17.33 17.46c9.71 0 19-7.81 19-17.46v-73c-.03-9.68-9.36-17.31-19-17.31Z",fill:"#fff"})),o||(o=E.createElement("path",{fill:"#535461",d:"M454.01 569.46h65v3h-65zM543.01 569.46h43v3h-43zM397.01 569.46h43v3h-43zM611.01 569.46h43v3h-43z"})),p||(p=E.createElement("title",null,"Expo")),E.createElement("path",{d:"M645.585 467.806a11.36 11.36 0 0 0-4.433-3.698 11.474 11.474 0 0 0-11.18.8 11.32 11.32 0 0 0-3.847 4.292 10.075 10.075 0 0 0 1.959 11.364 16.701 16.701 0 0 0 11.144-3.148 16.437 16.437 0 0 0 6.352-9.61zm-33.828-43.853-7.246-3.938-31.534 17.396 2.514 1.35 4.782 2.488 8.656-4.767 22.833-12.609zm2.919-1.2a1.124 1.124 0 0 1 .8.75l10.564 30.895a1.024 1.024 0 0 1-.5 1.344 20.305 20.305 0 0 0-8.985 9.865 20.075 20.075 0 0 0-.875 13.268 21.404 21.404 0 0 0 8.77 11.654 21.75 21.75 0 0 0 14.263 3.398 1.344 1.344 0 0 1 1.31.8l10.914 31.709a1.28 1.28 0 0 1-.505 1.389l-33.542 19.44a1.264 1.264 0 0 1-.505.1 1.35 1.35 0 0 1-.905-.15l-11.769-7.321a1.17 1.17 0 0 1-.5-.5l-22.988-52.388-35.007 19.74a1.634 1.634 0 0 1-1.36.05l-7.955-4.488a1.15 1.15 0 0 1-.5-1.494l34.008-63.967a1.214 1.214 0 0 1 .55-.495l33.907-18.746a1.294 1.294 0 0 1 1.205 0l9.61 5.148zm-42.049 17.187-1.649-.845-32.783 61.869 5.982 3.338 28.27-36.656a1.374 1.374 0 0 1 1.155-.5 1.41 1.41 0 0 1 1.004.745l30.784 70.294 8.226 5.032-33.043-95.75-1.404-3.989-6.587-3.588.05.05zm50.7 36.891a12.544 12.544 0 0 1 .599-8.31 12.694 12.694 0 0 1 5.687-6.147 13.983 13.983 0 0 1 16.297 1.998 12.559 12.559 0 0 1 .365 17.831l-.365.365a13.843 13.843 0 0 1-18.93.05 13.588 13.588 0 0 1-3.654-5.787z",style:{strokeWidth:4.99743}}))}},3100:(e,t,l)=>{l.d(t,{Z:()=>N});var a,c,r,n,i,h,m,s,d,f,o,p,E,v,M,Z,u,g,b,y,z,w,x,H=l(7294);function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},_.apply(this,arguments)}const N=e=>{let{title:t,titleId:l,...N}=e;return H.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:606.784,height:466.947,viewBox:"0 0 606.784 466.947","aria-labelledby":l},N),t?H.createElement("title",{id:l},t):null,a||(a=H.createElement("path",{d:"M243.114 465.757c0 .66.53 1.19 1.19 1.19h361.29c.66 0 1.19-.53 1.19-1.19 0-.66-.53-1.19-1.19-1.19h-361.29c-.66 0-1.19.53-1.19 1.19Z",fill:"#ccc"})),c||(c=H.createElement("path",{d:"m478.731 208.216-12.811-88.46 11.303-1.225c11.816-1.277 22.814 5.659 26.749 16.872 7.114 9.12 11.273 19.824 11.459 32.658 4.6 13.11-2.28 27.638-15.337 32.386l-21.363 7.769Z",fill:"#3f3d56"})),r||(r=H.createElement("path",{fill:"#a0616a",d:"m480.185 444.738-8.607.203-4.798-38.67 12.702-.301.703 38.768z"})),n||(n=H.createElement("path",{d:"M450.654 462.696c0 1.454 1.032 2.632 2.305 2.632h17.085s1.681-6.758 8.536-9.667l.474 9.667h8.813l-1.068-15.544s2.358-8.316-2.538-12.567c-4.897-4.251-.93-3.66-.93-3.66l-1.927-9.62-13.319 1.566-.097 15.103-6.464 14.99-9.48 4.683c-.844.417-1.39 1.366-1.39 2.417Z",fill:"#2f2e41"})),i||(i=H.createElement("path",{fill:"#a0616a",d:"m448.738 444.445-8.608.203-4.798-38.67 12.703-.301.703 38.768z"})),h||(h=H.createElement("path",{d:"M419.206 462.403c0 1.454 1.032 2.632 2.305 2.632h17.085s1.682-6.758 8.537-9.667l.473 9.667h8.814l-1.068-15.544s2.357-8.316-2.54-12.567c-4.896-4.251-.93-3.66-.93-3.66l-1.926-9.62-13.318 1.566-.098 15.103-6.463 14.99-9.48 4.683c-.844.417-1.39 1.366-1.39 2.417ZM473.52 114.477l-30.999 5.39c-2.135-5.465-12.473-20.548-13.358-25.9-2.302-13.913 8.07-26.74 22.134-27.79 13.488-1.006 21.705 1.52 22.853 14.368.403 4.503 6.267 8.566 7.448 12.93 6.516 24.077-6.52 15.87-8.078 21.002ZM426.979 215.32l-2.022 30.998 8.68 172.717 16-3 10.797-140.74 3.945 143.199 18.869.674L496.508 251a57.051 57.051 0 0 0-9.554-36.354l-59.975.674Z",fill:"#2f2e41"})),m||(m=H.createElement("path",{d:"M466.064 115.586h-24.732l-5.593 8.76-19.542 8.087 10.782 76.822-2.696 33.02c15.236 5.17 50.593 13.171 76.166-7.947l-22.93-41.246 5.392-57.953-10.445-9.503-6.402-10.04Z",fill:"#0077b6"})),s||(s=H.createElement("circle",{cx:452.381,cy:92.544,r:18.686,fill:"#a0616a"})),d||(d=H.createElement("path",{d:"M498.509 260.2c-.402-2.029-.312-3.98.163-5.581l-5.046-19.081 9.15-2.136 4.134 19.586c1.05 1.3 1.876 3.069 2.277 5.097.918 4.634-.729 8.864-3.678 9.448-2.948.584-6.083-2.7-7-7.333Z",fill:"#a0616a"})),f||(f=H.createElement("path",{d:"M470.444 130.749s11.456-4.718 16.847 4.043c5.391 8.76 19.542 111.863 19.542 111.863l-11.792 1.685-23.25-83.224-1.347-34.367Z",fill:"#0077b6"})),o||(o=H.createElement("path",{fill:"#3f3d56",d:"m478.638 190.035-9.566-67.072 8.148 6.517 1.418 60.555z"})),p||(p=H.createElement("path",{d:"M473.605 147.413c-1.53 1.574-3.29 2.672-4.975 3.222L455 166.55l-7.383-6.707 14.621-15.42c.503-1.702 1.551-3.49 3.081-5.064 3.496-3.596 8.185-4.707 10.473-2.483 2.288 2.225 1.308 6.943-2.187 10.538Z",fill:"#a0616a"})),E||(E=H.createElement("path",{d:"M428.687 127.805s-12.872 1.473-13.85 6.833 5.992 55.135 5.992 55.135l9.682 10.262 37.828-45.062-11.377-7.146-17.486 13.74-10.789-33.762Z",fill:"#0077b6"})),v||(v=H.createElement("path",{d:"M450.09 69.152c-7.6 1.337-14.965 5.452-18.908 12.086-3.944 6.634-11.169 15.877-5.93 21.545 1.81 1.959 4.116 3.442 5.745 5.554 2.771 3.595 3.172 8.646 1.79 12.97s-4.346 7.989-7.737 11.006c7.258-.748 13.882-5.905 16.388-12.757 1.16-3.17 1.396-6.974-.589-9.706-1.043-1.436-2.58-2.418-3.907-3.6-3.42-3.046-1.223-7.648-1.203-12.228s.597-7.766 4.044-10.782c2.373 1.897 10.243 1.44 13.242.953 3-.487 11.387 11.032 13.039 8.482 3.234 4.156 1.021-4.41.414.822-.434 3.743-2.892 6.97-3.633 10.665-.644 3.215.06 6.56 1.193 9.637 2.554 6.94 7.344 13.038 13.482 17.165-3.544-5.012-7.239-10.49-7.122-16.627.086-4.552 9.785-21.947 11.143-26.293 2.6-8.315-4.553-9.53-10.086-16.26-4.86-5.91-14.252-4.083-21.7-2.334",fill:"#2f2e41"})),M||(M=H.createElement("path",{d:"M304.98 0H19.02C8.53 0 0 8.53 0 19.02v294.96C0 324.47 8.53 333 19.02 333h285.96c10.49 0 19.02-8.53 19.02-19.02V19.02C324 8.53 315.47 0 304.98 0ZM322 313.98c0 9.39-7.63 17.02-17.02 17.02H19.02C9.63 331 2 323.37 2 313.98V19.02C2 9.63 9.63 2 19.02 2h285.96C314.37 2 322 9.63 322 19.02v294.96Z",fill:"#3f3d56"})),Z||(Z=H.createElement("path",{d:"M129.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13ZM176.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13Z",fill:"#e6e6e6"})),u||(u=H.createElement("path",{d:"M223.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13Z",fill:"#3f3d56"})),g||(g=H.createElement("path",{d:"M85.498 87.412h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#0077b6"})),b||(b=H.createElement("path",{d:"M122.738 140.888h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#e6e6e6"})),y||(y=H.createElement("path",{d:"M129.434 122.27c-.665 0-1.204-.539-1.204-1.204V89.758a1.204 1.204 0 1 1 2.408 0v31.308c0 .665-.54 1.204-1.204 1.204Zm-6.021-16.858c0 .665-.54 1.204-1.204 1.204h-13.951l5.17 5.168a1.206 1.206 0 1 1-1.705 1.706l-7.225-7.225a1.204 1.204 0 0 1-.002-1.703l.002-.002 7.225-7.225a1.206 1.206 0 1 1 1.705 1.705l-5.17 5.168h13.95c.666 0 1.205.54 1.205 1.204ZM49.623 158.888c0 .665.54 1.204 1.204 1.204h13.951l-5.17 5.168a1.206 1.206 0 1 0 1.705 1.705l7.225-7.224c.47-.47.471-1.232.002-1.703l-.002-.002-7.225-7.225a1.206 1.206 0 1 0-1.705 1.705l5.17 5.168h-13.95c-.666 0-1.205.54-1.205 1.204Zm-6.02 16.858c-.666 0-1.205-.539-1.205-1.204v-31.308a1.204 1.204 0 1 1 2.408 0v31.308c0 .665-.539 1.204-1.204 1.204Z",fill:"#3f3d56"})),z||(z=H.createElement("path",{d:"M231.738 115.035h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9ZM231.738 239.035h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#e6e6e6"})),w||(w=H.createElement("path",{d:"M197.28 204.604c0-.665.539-1.204 1.204-1.204h31.308a1.204 1.204 0 1 1 0 2.408h-31.308c-.665 0-1.204-.54-1.204-1.204Zm16.858 6.02c.665 0 1.204.54 1.204 1.205v13.95l5.168-5.17a1.206 1.206 0 1 1 1.705 1.705l-7.225 7.225c-.47.471-1.232.472-1.703.002l-.002-.002-7.225-7.225a1.206 1.206 0 1 1 1.705-1.705l5.169 5.17v-13.95c0-.665.539-1.204 1.204-1.204ZM214.138 180.81c.665 0 1.204-.539 1.204-1.204v-13.95l5.168 5.17a1.206 1.206 0 1 0 1.705-1.705l-7.225-7.225a1.204 1.204 0 0 0-1.703-.002l-.002.002-7.225 7.225a1.206 1.206 0 1 0 1.705 1.705l5.169-5.17v13.95c0 .665.539 1.205 1.204 1.205Zm-16.858 6.021c0-.665.539-1.204 1.204-1.204h31.308a1.204 1.204 0 1 1 0 2.408h-31.308c-.665 0-1.204-.539-1.204-1.204Z",fill:"#3f3d56"})),x||(x=H.createElement("circle",{cx:208.638,cy:22.035,r:9,fill:"#0077b6"})))}},4232:(e,t,l)=>{l.d(t,{Z:()=>B});var a,c,r,n,i,h,m,s,d,f,o,p,E,v,M,Z,u,g,b,y,z,w,x,H,_,N,k,C,O,V,j,S,A,L=l(7294);function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},W.apply(this,arguments)}const B=e=>{let{title:t,titleId:l,...B}=e;return L.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:1075.03,height:766.356,viewBox:"0 0 1075.03 766.356","aria-labelledby":l},B),void 0===t?L.createElement("title",{id:l},"mobile_prototyping"):t?L.createElement("title",{id:l},t):null,a||(a=L.createElement("ellipse",{cx:952.03,cy:736.356,rx:123,ry:30,fill:"#3f3d56"})),c||(c=L.createElement("path",{d:"M521.336 102.897v397.01a17.839 17.839 0 0 1-17.838 17.83H342.32a17.808 17.808 0 0 1-17.839-17.83v-397.01a17.838 17.838 0 0 1 17.839-17.839h24.123v3.095a14.688 14.688 0 0 0 14.689 14.689h81.97a14.688 14.688 0 0 0 14.689-14.689v-3.095h25.706a17.833 17.833 0 0 1 17.84 17.839Z",fill:"#0077b6"})),r||(r=L.createElement("path",{fill:"#3f3d56",d:"M331.562 151.412H514.28v88.996H331.562z"})),n||(n=L.createElement("path",{d:"M405.128 212.52c4.783 17.682 21.166 28.632 21.166 28.632s8.629-17.716 3.845-35.397-21.166-28.632-21.166-28.632-8.628 17.717-3.845 35.398Z",fill:"#fff"})),i||(i=L.createElement("path",{d:"M412.157 208.721c13.124 12.777 14.727 32.417 14.727 32.417s-19.676-1.074-32.8-13.85-14.729-32.418-14.729-32.418 19.677 1.075 32.802 13.851Z",fill:"#0077b6"})),h||(h=L.createElement("path",{d:"M448.64 212.52c-4.782 17.682-21.165 28.632-21.165 28.632s-8.629-17.716-3.846-35.397 21.167-28.632 21.167-28.632 8.628 17.717 3.845 35.398Z",fill:"#fff"})),m||(m=L.createElement("path",{d:"M441.612 208.721c-13.124 12.777-14.728 32.417-14.728 32.417s19.677-1.074 32.802-13.85 14.728-32.418 14.728-32.418-19.677 1.075-32.802 13.851Z",fill:"#0077b6"})),s||(s=L.createElement("path",{fill:"#f0f0f0",d:"M347.904 290.246h150.033v8.236H347.904zM347.904 303.514h150.033v8.236H347.904zM347.904 316.783h150.033v8.236H347.904zM347.904 330.052h150.033v8.236H347.904zM418.065 377.318l33.395 23.707-23.707 33.394-33.395-23.707z"})),d||(d=L.createElement("path",{d:"M427.451 443.03a9.45 9.45 0 1 1 9.451-9.452 9.462 9.462 0 0 1-9.45 9.451Zm0-17.328a7.876 7.876 0 1 0 7.876 7.876 7.885 7.885 0 0 0-7.876-7.876Z",fill:"#3f3d56"})),f||(f=L.createElement("path",{d:"M196.855 17.839v397.009a17.839 17.839 0 0 1-17.839 17.83H17.84A17.808 17.808 0 0 1 0 414.849V17.838A17.838 17.838 0 0 1 17.839 0h24.123v3.095A14.688 14.688 0 0 0 56.65 17.784h81.971A14.688 14.688 0 0 0 153.31 3.095V0h25.706a17.833 17.833 0 0 1 17.839 17.839Z",fill:"#f2f2f2"})),o||(o=L.createElement("path",{d:"M176.41 216.781H18.893V75.805h157.515Zm-155.94-1.575h154.364V77.38H20.469Z",fill:"#3f3d56"})),p||(p=L.createElement("path",{fill:"#3f3d56",d:"m19.156 77.18 1.05-1.175 155.94 139.401-1.05 1.174z"})),E||(E=L.createElement("path",{fill:"#3f3d56",d:"M19.155 215.405 175.098 76.006l1.05 1.175L20.204 216.579zM19.682 257.735h155.94v1.575H19.682zM19.682 271.911h155.94v1.575H19.682zM19.682 286.088h155.94v1.575H19.682zM19.682 300.264h77.97v1.575h-77.97zM19.682 314.44h77.97v1.575h-77.97z"})),v||(v=L.createElement("path",{d:"M845.03 17.839v397.009a17.839 17.839 0 0 1-17.839 17.83H666.014a17.808 17.808 0 0 1-17.839-17.83V17.838A17.838 17.838 0 0 1 666.014 0h24.123v3.095a14.688 14.688 0 0 0 14.689 14.689h81.97a14.688 14.688 0 0 0 14.689-14.689V0h25.706a17.833 17.833 0 0 1 17.839 17.839Z",fill:"#f2f2f2"})),M||(M=L.createElement("path",{fill:"#3f3d56",d:"M669.432 203.392h155.94v1.575h-155.94zM669.432 244.346h155.94v1.575h-155.94zM669.432 285.3h155.94v1.575h-155.94z"})),Z||(Z=L.createElement("circle",{cx:743.242,cy:117.997,r:25.602,fill:"#0077b6"})),u||(u=L.createElement("path",{fill:"#0077b6",d:"M785.993 196.304h11.026v25.202h-11.026zM689.121 236.47h11.026v25.202h-11.026zM753.703 276.637h11.026v25.202h-11.026z"})),g||(g=L.createElement("path",{d:"M746.603 146.687a31.503 31.503 0 1 1 31.503-31.503 31.539 31.539 0 0 1-31.503 31.503Zm0-61.431a29.928 29.928 0 1 0 29.928 29.928 29.962 29.962 0 0 0-29.928-29.928ZM216.592 209.542l1.542-1.273 63.197 76.538-1.542 1.274z",fill:"#3f3d56"})),b||(b=L.createElement("path",{d:"M288.245 294.751c-5.241-3.038-12.5-6.182-18.219-7.126l9.525-3.403 5.143-8.708c-.156 5.793 1.558 13.517 3.551 19.237ZM562.943 284.814l63.18-76.552 1.543 1.273-63.18 76.553z",fill:"#3f3d56"})),y||(y=L.createElement("path",{d:"M556.021 294.751c1.991-5.721 3.705-13.445 3.55-19.238l5.144 8.709 9.523 3.402c-5.718.943-12.977 4.088-18.217 7.127Z",fill:"#3f3d56"})),z||(z=L.createElement("path",{d:"M1016.53 377.856s0 146-23 199l-53 119s-34-2-36-16l40-124 24-73 6-114Z",fill:"#2f2e41"})),w||(w=L.createElement("path",{d:"m983.53 381.856-9 61 6 134 3 74s12 33 8 36l-8 6s-32-4-33-6-20-153-20-153-39-122-37-124 11-32 11-32Z",fill:"#2f2e41"})),x||(x=L.createElement("path",{d:"m990.53 682.856 4 23s11 47 0 47-31-13-32-21 2-44 2-44Z",fill:"#2f2e41"})),H||(H=L.createElement("path",{d:"M939.53 690.856s8 16 13 18 27.77 15.083 14.385 23.542-27.385.458-27.385.458l-46-25s6-25 15-27 31 10 31 10Z",fill:"#2f2e41"})),_||(_=L.createElement("circle",{cx:929.53,cy:120.856,r:36,fill:"#ffb8b8"})),N||(N=L.createElement("path",{d:"M959.53 123.856s7 46 14 52-15 27-25 26-21-23-21-23 3-29-2-37 34-18 34-18Z",fill:"#ffb8b8"})),k||(k=L.createElement("path",{d:"m951.53 182.856 16.985-15.678a64.292 64.292 0 0 0 20.015 16.678c13 7-25 79-25 79l-61-76s19.402-12.896 25.701-17.948Z",fill:"#3f3d56"})),C||(C=L.createElement("path",{d:"M961.53 243.856s26.8-46.719 23.9-61.86c0 0 39.1 9.86 41.1 22.86s-19 60-19 60 17 119 7 120-110 2-112-3 2-20-4-25-13-2-10-10 16-18 12-24-5-4-4-8-2-57-2-57-21-58-16-62 31.228-13.86 31.228-13.86Z",fill:"#3f3d56"})),O||(O=L.createElement("path",{d:"M1041.53 399.856s-3 40-20 38 3-45 3-45ZM892.53 398.856s6 24 13 22v-28l-3-5Z",fill:"#ffb8b8"})),V||(V=L.createElement("path",{d:"M958.892 126.035a6.222 6.222 0 0 0-1.027-2.895 4.694 4.694 0 0 0-2.188-1.386 9.833 9.833 0 0 0-11.717 5.02c-.923 2.014-1.367 4.608-3.392 5.505-2.354 1.042-4.966-1.177-5.89-3.58s-.95-5.126-2.183-7.387c-1.462-2.68-4.418-4.26-7.405-4.892-2.475-.525-5.504-.8-6.62-3.07a6.078 6.078 0 0 1-.452-2.745 28.964 28.964 0 0 1 1.787-9.791c-9.797-1.957-18.512 7.604-28.5 7.758a7.525 7.525 0 0 1-3.676-.72c-2.217-1.184-3.18-3.809-3.848-6.231q-1.064-3.86-1.751-7.81l3.2 1.467a12.55 12.55 0 0 1-1.426-5.512 13.192 13.192 0 0 1 4.918.415l.233-5.734c2.471 3.134 7.4 2.032 11.119.581 7.176-2.8 14.316-5.83 21.849-7.446s15.606-1.735 22.729 1.2c7.485 3.085 13.256 9.22 18.34 15.522 2.817 3.493 5.541 7.164 7.063 11.386a27.595 27.595 0 0 1-.06 17.6c-1.64 5.134-4.688 11.345-8.792 14.902-1.435-3.634-1.63-8.27-2.311-12.157Z",fill:"#2f2e41"})),j||(j=L.createElement("path",{d:"m890.53 192.856-13 3s-15 16-16 31-1 90-1 90l19 62s-2 14 0 14 3-3 3 1-5 0 0 4l10 8 16.713-22.158s1.287-8.842-1.713-10.842-3-3-2-6 3-4 2-6-4-5-4-7 0-4-1-5-8-25-8-25l4-78ZM1016.53 197.856l10 5s16 48 16 90 3 70 3 70 5 12 3 12-4 0-2 3 3 2 2 5-2-2-1 3 0 7-2 7-2 13-2 13l-24-9s4-5 3-7a9.965 9.965 0 0 1-1-4s5-1 0-3-3-2-2-8 4-5 1-6-21-94-21-94Z",fill:"#3f3d56"})),S||(S=L.createElement("circle",{cx:951.515,cy:183.178,r:3,fill:"#2f2e41"})),A||(A=L.createElement("circle",{cx:951.515,cy:193.178,r:3,fill:"#2f2e41"})))}},3261:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(9960),c=l(2949),r=l(2263),n=l(7462),i=l(6010),h=l(7294);const m="features_t9lD",s="featureSvg_GfXr",d=[{title:"Easy to Use",Svg:l(4232).Z,description:h.createElement(h.Fragment,null,"Designed to be easily installed and used. Supports the React Native new architecture.")},{title:"Focus on What Matters",Svg:l(3100).Z,description:h.createElement(h.Fragment,null,"Lets you focus on the design, using familiar concepts from React Native. Leave the heavy lifting for interaction with the Android widget to the library.")},{title:"Expo Support",Svg:l(5991).Z,description:h.createElement(h.Fragment,null,"Support for expo using custom config plugin.")}];function f(e){let{Svg:t,title:l,description:a}=e;return h.createElement("div",{className:(0,i.Z)("col col--4")},h.createElement("div",{className:"text--center"},h.createElement(t,{className:s,role:"img"})),h.createElement("div",{className:"text--center padding-horiz--md"},h.createElement("h3",null,l),h.createElement("p",null,a)))}function o(){return h.createElement("section",{className:m},h.createElement("div",{className:"container"},h.createElement("div",{className:"row"},d.map(((e,t)=>h.createElement(f,(0,n.Z)({key:t},e)))))))}var p=l(7961);const E="headerWrapper_sCgD",v="container_bfhl",M="videoContainer_ViX2",Z="heroBanner_qdFl",u="buttons_AeoN";function g(){const{siteConfig:e}=(0,r.Z)(),{colorMode:t}=(0,c.I)();return h.createElement("header",{className:(0,i.Z)("hero","dark"===t?"hero--dark":"hero--primary",Z)},h.createElement("div",{className:E},h.createElement("div",{className:(0,i.Z)("container",v)},h.createElement("h1",{className:"hero__title"},e.title),h.createElement("p",{className:"hero__subtitle"},e.tagline),h.createElement("div",{className:u},h.createElement(a.Z,{className:"button button--secondary button--lg",to:"/docs"},"Check out the Tutorial"))),h.createElement("div",{className:M},h.createElement("video",{controls:!0,autoPlay:!0,muted:!0,loop:!0,height:540,width:243},h.createElement("source",{src:"/react-native-android-widget/video.mp4",type:"video/mp4"})))))}function b(){return h.createElement(p.Z,{description:"Build Android Widgets with React Native"},h.createElement(g,null),h.createElement("main",null,h.createElement(o,null)))}}}]); \ No newline at end of file +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3237],{5991:(e,t,a)=>{a.d(t,{Z:()=>Z});var l,c,r,i,n,h,s,d,f,m,o,p,v=a(7294);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},M.apply(this,arguments)}const Z=e=>{let{title:t,titleId:a,...Z}=e;return v.createElement("svg",M({"data-name":"Layer 1",width:1097.1,height:807.9,viewBox:"0 0 1097.1 807.9",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":a},Z),void 0===t?v.createElement("title",{id:a},"android"):t?v.createElement("title",{id:a},t):null,l||(l=v.createElement("path",{d:"M11.85 429.95c17.36 74.2 54.11 138.34 112.19 169.43 120.7 64.61 392.91 31.29 596.07-7a465.21 465.21 0 0 0 264.54-151.23ZM1077.2 80.71H965.73a9.635 9.635 0 1 1 0-19.27H985a9.635 9.635 0 0 1 0-19.27h-13.76a9.635 9.635 0 0 1 0-19.27h58.18c-12.91-6-28-10.27-45.38-12.51-158.64-20.38-215.28-6.9-235.26 7-24.65 17.1-52.15 29.68-81.54 35.74-97.88 20.19-280.93 44.49-446.84-7.78-82.46-26-143.75 17.92-180.48 91.28h1056.63c-1.38-21.32-5.51-41-13.09-58.24a9.58 9.58 0 0 1-6.26 2.32ZM2.39 275.1a491.06 491.06 0 0 0 4.32 129.45l978.68 35.79a460 460 0 0 0 68-103.7Zm387.08 92.35H370.2a9.635 9.635 0 1 1 0 19.27H258.73a9.635 9.635 0 1 1 0-19.27H278a9.635 9.635 0 0 1 0-19.27h-13.76a9.635 9.635 0 0 1 0-19.27h111.47a9.635 9.635 0 1 1 0 19.27h13.76a9.635 9.635 0 0 1 0 19.27ZM1096.6 137.29l-1068.49 26c-12.99 33.4-21.56 71.17-25.56 110.33h1075.33a456.46 456.46 0 0 0 15.53-70.33c3.2-23.02 4.48-45.27 3.19-66Zm-877.13 85.16H200.2a9.635 9.635 0 1 1 0 19.27H88.73a9.635 9.635 0 1 1 0-19.27H108a9.635 9.635 0 0 1 0-19.27H94.24a9.635 9.635 0 0 1 0-19.27h111.47a9.635 9.635 0 1 1 0 19.27h13.76a9.635 9.635 0 0 1 0 19.27Z",fill:"#0077b6",opacity:.1})),c||(c=v.createElement("g",{opacity:.1},v.createElement("path",{d:"M677.55 623.28s28.2-69.5 80.86-95.28a113.65 113.65 0 0 0 51.61-50.05 191.13 191.13 0 0 0 12.93-32.5",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),v.createElement("path",{d:"M856.04 429c-5.49 6.9-33.9 17-33.9 17s3.42-30 8.91-36.85a16 16 0 0 1 25 19.88ZM846.29 483.66c-8.36 2.81-37.68-4.18-37.68-4.18s19.15-23.28 27.51-26.09a16 16 0 0 1 10.17 30.27ZM793.43 548.26c-8.63-1.79-30.42-22.63-30.42-22.63s28.28-10.43 36.92-8.64a16 16 0 0 1-6.5 31.26ZM742.43 588.14c-8.81-.31-33.81-17.16-33.81-17.16s26.12-15.03 34.93-14.75a16 16 0 1 1-1.12 31.91ZM781.31 459.95c1.13 8.75 20.22 32.07 20.22 32.07s12.57-27.4 11.45-36.15a16 16 0 0 0-31.67 4.08ZM722.25 507.34c3.69 8 28.89 24.55 28.89 24.55s3.8-29.91.11-37.91a16 16 0 1 0-29 13.37ZM671.17 561.28c2.28 8.52 24.33 29.08 24.33 29.08s8.8-28.83 6.51-37.35a16 16 0 0 0-30.84 8.27Z",fill:"#0077b6"}),v.createElement("path",{d:"M856.04 429c-5.49 6.9-33.9 17-33.9 17s3.42-30 8.91-36.85a16 16 0 0 1 25 19.88ZM846.29 483.66c-8.36 2.81-37.68-4.18-37.68-4.18s19.15-23.28 27.51-26.09a16 16 0 0 1 10.17 30.27ZM793.43 548.26c-8.63-1.79-30.42-22.63-30.42-22.63s28.28-10.43 36.92-8.64a16 16 0 0 1-6.5 31.26ZM742.43 588.14c-8.81-.31-33.81-17.16-33.81-17.16s26.12-15.03 34.93-14.75a16 16 0 1 1-1.12 31.91ZM781.31 459.95c1.13 8.75 20.22 32.07 20.22 32.07s12.57-27.4 11.45-36.15a16 16 0 0 0-31.67 4.08ZM722.25 507.34c3.69 8 28.89 24.55 28.89 24.55s3.8-29.91.11-37.91a16 16 0 1 0-29 13.37ZM671.17 561.28c2.28 8.52 24.33 29.08 24.33 29.08s8.8-28.83 6.51-37.35a16 16 0 0 0-30.84 8.27Z",opacity:.25}))),r||(r=v.createElement("g",{opacity:.1},v.createElement("path",{d:"M657.55 521.66s3.56-74.92 44.69-116.71a113.65 113.65 0 0 0 32-64.35 191.13 191.13 0 0 0 1.43-34.92",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),v.createElement("path",{d:"M761.55 279.19c-2.89 8.33-26.35 27.26-26.35 27.26s-6.7-29.39-3.81-37.72a16 16 0 1 1 30.16 10.46ZM770.43 333.95c-7 5.42-36.94 8.56-36.94 8.56s10.35-28.32 17.3-33.74a16 16 0 1 1 19.64 25.18ZM741.98 412.47c-8.74 1.17-36.2-11.26-36.2-11.26s23.23-19.22 32-20.39a16 16 0 1 1 4.24 31.65ZM707.09 467c-8.42 2.63-37.59-5-37.59-5s19.64-22.87 28.06-25.5a16 16 0 0 1 9.53 30.48ZM701.26 333.17c4 7.88 29.72 23.55 29.72 23.55s2.77-30-1.19-37.9a16 16 0 0 0-28.53 14.35ZM661.26 397.47c6.14 6.33 35.4 13.58 35.4 13.58s-6.33-29.47-12.47-35.8a16 16 0 0 0-22.93 22.23ZM630.96 465.29c5 7.28 32.6 19.37 32.6 19.37s-1.26-30.12-6.24-37.4a16 16 0 0 0-26.35 18Z",fill:"#0077b6"}))),i||(i=v.createElement("path",{d:"M299.74 775.76c39.32 13.22 87.29 5.18 131.9 6.11 6.11.13 12.57.51 17.47 2.79s7.31 6 10.67 9.15c12.5 11.79 38.11 15.58 60.5 13.58s42.92-8.62 64-13.66c36.52-8.72 78.27-12.68 114.29-3.18 3.31.87 6.79 1.87 10.33 1.53 7.9-.78 10.25-7.1 15.77-10.71 10-6.52 31.63-4.75 36-13.34 2.57-5-3.34-10.2-9.77-13.64-24.62-13.16-59.84-15.33-92.06-13.3s-63.9 7.63-96.29 7.65c-40.35 0-79.34-8.59-119.3-12.11-27.68-2.44-57.89-2.14-83.84 5-28.05 7.82-34.25 25.26-59.67 34.13Z",fill:"#0077b6",opacity:.1})),n||(n=v.createElement("path",{fill:"#535461",d:"M365.51 184.9h7v99h-7zM365.51 317.9h7v56h-7z"})),h||(h=v.createElement("rect",{x:370.51,y:87.9,width:315,height:684,rx:47.1,ry:47.1,fill:"#535461"})),s||(s=v.createElement("rect",{x:370.51,y:119.9,width:315,height:623,rx:47.1,ry:47.1,fill:"#0077b6"})),d||(d=v.createElement("rect",{x:502.51,y:102.9,width:52,height:7,rx:3.5,ry:3.5,fill:"#eaeaf3"})),f||(f=v.createElement("circle",{cx:572.51,cy:106.9,r:5,fill:"#eaeaf3"})),m||(m=v.createElement("path",{d:"M446.31 396.1v73a17.27 17.27 0 0 1-17.33 17.46c-9.64 0-19-7.81-19-17.46v-73c0-9.52 9.33-17.33 19-17.33a17.4 17.4 0 0 1 17.33 17.33Zm6.81 98.94a18.61 18.61 0 0 0 18.65 18.65h12.54l.19 38.51c0 23.25 34.79 23.07 34.79 0v-38.5h23.44v38.51c0 23.13 35 23.19 35 0V513.7h12.73a18.59 18.59 0 0 0 18.53-18.65v-113.1H453.12Zm156.29-119.17h-157c0-27 16.13-50.42 40.08-62.64l-12-22.25c-1.76-3.09 2.71-5 4.22-2.39l12.23 22.44a85.14 85.14 0 0 1 68.25 0l12.16-22.37c1.58-2.71 6-.69 4.22 2.39l-12 22.18c23.71 12.22 39.84 35.67 39.84 62.64Zm-107.58-35a6.62 6.62 0 0 0-6.62-6.62 6.62 6.62 0 0 0 0 13.23 6.62 6.62 0 0 0 6.62-6.59Zm71.47 0a6.52 6.52 0 1 0-6.43 6.62 6.58 6.58 0 0 0 6.43-6.6Zm59.74 37.88a17.28 17.28 0 0 0-17.33 17.33v73a17.39 17.39 0 0 0 17.33 17.46c9.71 0 19-7.81 19-17.46v-73c-.03-9.68-9.36-17.31-19-17.31Z",fill:"#fff"})),o||(o=v.createElement("path",{fill:"#535461",d:"M454.01 569.46h65v3h-65zM543.01 569.46h43v3h-43zM397.01 569.46h43v3h-43zM611.01 569.46h43v3h-43z"})),p||(p=v.createElement("title",null,"Expo")),v.createElement("path",{d:"M645.585 467.806a11.36 11.36 0 0 0-4.433-3.698 11.474 11.474 0 0 0-11.18.8 11.32 11.32 0 0 0-3.847 4.292 10.075 10.075 0 0 0 1.959 11.364 16.701 16.701 0 0 0 11.144-3.148 16.437 16.437 0 0 0 6.352-9.61zm-33.828-43.853-7.246-3.938-31.534 17.396 2.514 1.35 4.782 2.488 8.656-4.767 22.833-12.609zm2.919-1.2a1.124 1.124 0 0 1 .8.75l10.564 30.895a1.024 1.024 0 0 1-.5 1.344 20.305 20.305 0 0 0-8.985 9.865 20.075 20.075 0 0 0-.875 13.268 21.404 21.404 0 0 0 8.77 11.654 21.75 21.75 0 0 0 14.263 3.398 1.344 1.344 0 0 1 1.31.8l10.914 31.709a1.28 1.28 0 0 1-.505 1.389l-33.542 19.44a1.264 1.264 0 0 1-.505.1 1.35 1.35 0 0 1-.905-.15l-11.769-7.321a1.17 1.17 0 0 1-.5-.5l-22.988-52.388-35.007 19.74a1.634 1.634 0 0 1-1.36.05l-7.955-4.488a1.15 1.15 0 0 1-.5-1.494l34.008-63.967a1.214 1.214 0 0 1 .55-.495l33.907-18.746a1.294 1.294 0 0 1 1.205 0l9.61 5.148zm-42.049 17.187-1.649-.845-32.783 61.869 5.982 3.338 28.27-36.656a1.374 1.374 0 0 1 1.155-.5 1.41 1.41 0 0 1 1.004.745l30.784 70.294 8.226 5.032-33.043-95.75-1.404-3.989-6.587-3.588.05.05zm50.7 36.891a12.544 12.544 0 0 1 .599-8.31 12.694 12.694 0 0 1 5.687-6.147 13.983 13.983 0 0 1 16.297 1.998 12.559 12.559 0 0 1 .365 17.831l-.365.365a13.843 13.843 0 0 1-18.93.05 13.588 13.588 0 0 1-3.654-5.787z",style:{strokeWidth:4.99743}}))}},3100:(e,t,a)=>{a.d(t,{Z:()=>_});var l,c,r,i,n,h,s,d,f,m,o,p,v,M,Z,E,u,g,x,b,y,j,z,w=a(7294);function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},H.apply(this,arguments)}const _=e=>{let{title:t,titleId:a,..._}=e;return w.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",width:606.784,height:466.947,viewBox:"0 0 606.784 466.947","aria-labelledby":a},_),t?w.createElement("title",{id:a},t):null,l||(l=w.createElement("path",{d:"M243.114 465.757c0 .66.53 1.19 1.19 1.19h361.29c.66 0 1.19-.53 1.19-1.19 0-.66-.53-1.19-1.19-1.19h-361.29c-.66 0-1.19.53-1.19 1.19Z",fill:"#ccc"})),c||(c=w.createElement("path",{d:"m478.731 208.216-12.811-88.46 11.303-1.225c11.816-1.277 22.814 5.659 26.749 16.872 7.114 9.12 11.273 19.824 11.459 32.658 4.6 13.11-2.28 27.638-15.337 32.386l-21.363 7.769Z",fill:"#3f3d56"})),r||(r=w.createElement("path",{fill:"#a0616a",d:"m480.185 444.738-8.607.203-4.798-38.67 12.702-.301.703 38.768z"})),i||(i=w.createElement("path",{d:"M450.654 462.696c0 1.454 1.032 2.632 2.305 2.632h17.085s1.681-6.758 8.536-9.667l.474 9.667h8.813l-1.068-15.544s2.358-8.316-2.538-12.567c-4.897-4.251-.93-3.66-.93-3.66l-1.927-9.62-13.319 1.566-.097 15.103-6.464 14.99-9.48 4.683c-.844.417-1.39 1.366-1.39 2.417Z",fill:"#2f2e41"})),n||(n=w.createElement("path",{fill:"#a0616a",d:"m448.738 444.445-8.608.203-4.798-38.67 12.703-.301.703 38.768z"})),h||(h=w.createElement("path",{d:"M419.206 462.403c0 1.454 1.032 2.632 2.305 2.632h17.085s1.682-6.758 8.537-9.667l.473 9.667h8.814l-1.068-15.544s2.357-8.316-2.54-12.567c-4.896-4.251-.93-3.66-.93-3.66l-1.926-9.62-13.318 1.566-.098 15.103-6.463 14.99-9.48 4.683c-.844.417-1.39 1.366-1.39 2.417ZM473.52 114.477l-30.999 5.39c-2.135-5.465-12.473-20.548-13.358-25.9-2.302-13.913 8.07-26.74 22.134-27.79 13.488-1.006 21.705 1.52 22.853 14.368.403 4.503 6.267 8.566 7.448 12.93 6.516 24.077-6.52 15.87-8.078 21.002ZM426.979 215.32l-2.022 30.998 8.68 172.717 16-3 10.797-140.74 3.945 143.199 18.869.674L496.508 251a57.051 57.051 0 0 0-9.554-36.354l-59.975.674Z",fill:"#2f2e41"})),s||(s=w.createElement("path",{d:"M466.064 115.586h-24.732l-5.593 8.76-19.542 8.087 10.782 76.822-2.696 33.02c15.236 5.17 50.593 13.171 76.166-7.947l-22.93-41.246 5.392-57.953-10.445-9.503-6.402-10.04Z",fill:"#0077b6"})),d||(d=w.createElement("circle",{cx:452.381,cy:92.544,r:18.686,fill:"#a0616a"})),f||(f=w.createElement("path",{d:"M498.509 260.2c-.402-2.029-.312-3.98.163-5.581l-5.046-19.081 9.15-2.136 4.134 19.586c1.05 1.3 1.876 3.069 2.277 5.097.918 4.634-.729 8.864-3.678 9.448-2.948.584-6.083-2.7-7-7.333Z",fill:"#a0616a"})),m||(m=w.createElement("path",{d:"M470.444 130.749s11.456-4.718 16.847 4.043c5.391 8.76 19.542 111.863 19.542 111.863l-11.792 1.685-23.25-83.224-1.347-34.367Z",fill:"#0077b6"})),o||(o=w.createElement("path",{fill:"#3f3d56",d:"m478.638 190.035-9.566-67.072 8.148 6.517 1.418 60.555z"})),p||(p=w.createElement("path",{d:"M473.605 147.413c-1.53 1.574-3.29 2.672-4.975 3.222L455 166.55l-7.383-6.707 14.621-15.42c.503-1.702 1.551-3.49 3.081-5.064 3.496-3.596 8.185-4.707 10.473-2.483 2.288 2.225 1.308 6.943-2.187 10.538Z",fill:"#a0616a"})),v||(v=w.createElement("path",{d:"M428.687 127.805s-12.872 1.473-13.85 6.833 5.992 55.135 5.992 55.135l9.682 10.262 37.828-45.062-11.377-7.146-17.486 13.74-10.789-33.762Z",fill:"#0077b6"})),M||(M=w.createElement("path",{d:"M450.09 69.152c-7.6 1.337-14.965 5.452-18.908 12.086-3.944 6.634-11.169 15.877-5.93 21.545 1.81 1.959 4.116 3.442 5.745 5.554 2.771 3.595 3.172 8.646 1.79 12.97s-4.346 7.989-7.737 11.006c7.258-.748 13.882-5.905 16.388-12.757 1.16-3.17 1.396-6.974-.589-9.706-1.043-1.436-2.58-2.418-3.907-3.6-3.42-3.046-1.223-7.648-1.203-12.228s.597-7.766 4.044-10.782c2.373 1.897 10.243 1.44 13.242.953 3-.487 11.387 11.032 13.039 8.482 3.234 4.156 1.021-4.41.414.822-.434 3.743-2.892 6.97-3.633 10.665-.644 3.215.06 6.56 1.193 9.637 2.554 6.94 7.344 13.038 13.482 17.165-3.544-5.012-7.239-10.49-7.122-16.627.086-4.552 9.785-21.947 11.143-26.293 2.6-8.315-4.553-9.53-10.086-16.26-4.86-5.91-14.252-4.083-21.7-2.334",fill:"#2f2e41"})),Z||(Z=w.createElement("path",{d:"M304.98 0H19.02C8.53 0 0 8.53 0 19.02v294.96C0 324.47 8.53 333 19.02 333h285.96c10.49 0 19.02-8.53 19.02-19.02V19.02C324 8.53 315.47 0 304.98 0ZM322 313.98c0 9.39-7.63 17.02-17.02 17.02H19.02C9.63 331 2 323.37 2 313.98V19.02C2 9.63 9.63 2 19.02 2h285.96C314.37 2 322 9.63 322 19.02v294.96Z",fill:"#3f3d56"})),E||(E=w.createElement("path",{d:"M129.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13ZM176.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13Z",fill:"#e6e6e6"})),u||(u=w.createElement("path",{d:"M223.03 19.35h-28.06a2.565 2.565 0 0 0 0 5.13h28.06a2.565 2.565 0 0 0 0-5.13Z",fill:"#3f3d56"})),g||(g=w.createElement("path",{d:"M85.498 87.412h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#0077b6"})),x||(x=w.createElement("path",{d:"M122.738 140.888h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#e6e6e6"})),b||(b=w.createElement("path",{d:"M129.434 122.27c-.665 0-1.204-.539-1.204-1.204V89.758a1.204 1.204 0 1 1 2.408 0v31.308c0 .665-.54 1.204-1.204 1.204Zm-6.021-16.858c0 .665-.54 1.204-1.204 1.204h-13.951l5.17 5.168a1.206 1.206 0 1 1-1.705 1.706l-7.225-7.225a1.204 1.204 0 0 1-.002-1.703l.002-.002 7.225-7.225a1.206 1.206 0 1 1 1.705 1.705l-5.17 5.168h13.95c.666 0 1.205.54 1.205 1.204ZM49.623 158.888c0 .665.54 1.204 1.204 1.204h13.951l-5.17 5.168a1.206 1.206 0 1 0 1.705 1.705l7.225-7.224c.47-.47.471-1.232.002-1.703l-.002-.002-7.225-7.225a1.206 1.206 0 1 0-1.705 1.705l5.17 5.168h-13.95c-.666 0-1.205.54-1.205 1.204Zm-6.02 16.858c-.666 0-1.205-.539-1.205-1.204v-31.308a1.204 1.204 0 1 1 2.408 0v31.308c0 .665-.539 1.204-1.204 1.204Z",fill:"#3f3d56"})),y||(y=w.createElement("path",{d:"M231.738 115.035h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9ZM231.738 239.035h-35.2c-4.36 0-7.9 3.54-7.9 7.9v20.2c0 4.36 3.54 7.9 7.9 7.9h35.2c4.36 0 7.9-3.54 7.9-7.9v-20.2c0-4.36-3.54-7.9-7.9-7.9Z",fill:"#e6e6e6"})),j||(j=w.createElement("path",{d:"M197.28 204.604c0-.665.539-1.204 1.204-1.204h31.308a1.204 1.204 0 1 1 0 2.408h-31.308c-.665 0-1.204-.54-1.204-1.204Zm16.858 6.02c.665 0 1.204.54 1.204 1.205v13.95l5.168-5.17a1.206 1.206 0 1 1 1.705 1.705l-7.225 7.225c-.47.471-1.232.472-1.703.002l-.002-.002-7.225-7.225a1.206 1.206 0 1 1 1.705-1.705l5.169 5.17v-13.95c0-.665.539-1.204 1.204-1.204ZM214.138 180.81c.665 0 1.204-.539 1.204-1.204v-13.95l5.168 5.17a1.206 1.206 0 1 0 1.705-1.705l-7.225-7.225a1.204 1.204 0 0 0-1.703-.002l-.002.002-7.225 7.225a1.206 1.206 0 1 0 1.705 1.705l5.169-5.17v13.95c0 .665.539 1.205 1.204 1.205Zm-16.858 6.021c0-.665.539-1.204 1.204-1.204h31.308a1.204 1.204 0 1 1 0 2.408h-31.308c-.665 0-1.204-.539-1.204-1.204Z",fill:"#3f3d56"})),z||(z=w.createElement("circle",{cx:208.638,cy:22.035,r:9,fill:"#0077b6"})))}},4232:(e,t,a)=>{a.d(t,{Z:()=>L});var l,c,r,i,n,h,s,d,f,m,o,p,v,M,Z,E,u,g,x,b,y,j,z,w,H,_,N,k,C,O,S,V,A,W=a(7294);function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},B.apply(this,arguments)}const L=e=>{let{title:t,titleId:a,...L}=e;return W.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:1075.03,height:766.356,viewBox:"0 0 1075.03 766.356","aria-labelledby":a},L),void 0===t?W.createElement("title",{id:a},"mobile_prototyping"):t?W.createElement("title",{id:a},t):null,l||(l=W.createElement("ellipse",{cx:952.03,cy:736.356,rx:123,ry:30,fill:"#3f3d56"})),c||(c=W.createElement("path",{d:"M521.336 102.897v397.01a17.839 17.839 0 0 1-17.838 17.83H342.32a17.808 17.808 0 0 1-17.839-17.83v-397.01a17.838 17.838 0 0 1 17.839-17.839h24.123v3.095a14.688 14.688 0 0 0 14.689 14.689h81.97a14.688 14.688 0 0 0 14.689-14.689v-3.095h25.706a17.833 17.833 0 0 1 17.84 17.839Z",fill:"#0077b6"})),r||(r=W.createElement("path",{fill:"#3f3d56",d:"M331.562 151.412H514.28v88.996H331.562z"})),i||(i=W.createElement("path",{d:"M405.128 212.52c4.783 17.682 21.166 28.632 21.166 28.632s8.629-17.716 3.845-35.397-21.166-28.632-21.166-28.632-8.628 17.717-3.845 35.398Z",fill:"#fff"})),n||(n=W.createElement("path",{d:"M412.157 208.721c13.124 12.777 14.727 32.417 14.727 32.417s-19.676-1.074-32.8-13.85-14.729-32.418-14.729-32.418 19.677 1.075 32.802 13.851Z",fill:"#0077b6"})),h||(h=W.createElement("path",{d:"M448.64 212.52c-4.782 17.682-21.165 28.632-21.165 28.632s-8.629-17.716-3.846-35.397 21.167-28.632 21.167-28.632 8.628 17.717 3.845 35.398Z",fill:"#fff"})),s||(s=W.createElement("path",{d:"M441.612 208.721c-13.124 12.777-14.728 32.417-14.728 32.417s19.677-1.074 32.802-13.85 14.728-32.418 14.728-32.418-19.677 1.075-32.802 13.851Z",fill:"#0077b6"})),d||(d=W.createElement("path",{fill:"#f0f0f0",d:"M347.904 290.246h150.033v8.236H347.904zM347.904 303.514h150.033v8.236H347.904zM347.904 316.783h150.033v8.236H347.904zM347.904 330.052h150.033v8.236H347.904zM418.065 377.318l33.395 23.707-23.707 33.394-33.395-23.707z"})),f||(f=W.createElement("path",{d:"M427.451 443.03a9.45 9.45 0 1 1 9.451-9.452 9.462 9.462 0 0 1-9.45 9.451Zm0-17.328a7.876 7.876 0 1 0 7.876 7.876 7.885 7.885 0 0 0-7.876-7.876Z",fill:"#3f3d56"})),m||(m=W.createElement("path",{d:"M196.855 17.839v397.009a17.839 17.839 0 0 1-17.839 17.83H17.84A17.808 17.808 0 0 1 0 414.849V17.838A17.838 17.838 0 0 1 17.839 0h24.123v3.095A14.688 14.688 0 0 0 56.65 17.784h81.971A14.688 14.688 0 0 0 153.31 3.095V0h25.706a17.833 17.833 0 0 1 17.839 17.839Z",fill:"#f2f2f2"})),o||(o=W.createElement("path",{d:"M176.41 216.781H18.893V75.805h157.515Zm-155.94-1.575h154.364V77.38H20.469Z",fill:"#3f3d56"})),p||(p=W.createElement("path",{fill:"#3f3d56",d:"m19.156 77.18 1.05-1.175 155.94 139.401-1.05 1.174z"})),v||(v=W.createElement("path",{fill:"#3f3d56",d:"M19.155 215.405 175.098 76.006l1.05 1.175L20.204 216.579zM19.682 257.735h155.94v1.575H19.682zM19.682 271.911h155.94v1.575H19.682zM19.682 286.088h155.94v1.575H19.682zM19.682 300.264h77.97v1.575h-77.97zM19.682 314.44h77.97v1.575h-77.97z"})),M||(M=W.createElement("path",{d:"M845.03 17.839v397.009a17.839 17.839 0 0 1-17.839 17.83H666.014a17.808 17.808 0 0 1-17.839-17.83V17.838A17.838 17.838 0 0 1 666.014 0h24.123v3.095a14.688 14.688 0 0 0 14.689 14.689h81.97a14.688 14.688 0 0 0 14.689-14.689V0h25.706a17.833 17.833 0 0 1 17.839 17.839Z",fill:"#f2f2f2"})),Z||(Z=W.createElement("path",{fill:"#3f3d56",d:"M669.432 203.392h155.94v1.575h-155.94zM669.432 244.346h155.94v1.575h-155.94zM669.432 285.3h155.94v1.575h-155.94z"})),E||(E=W.createElement("circle",{cx:743.242,cy:117.997,r:25.602,fill:"#0077b6"})),u||(u=W.createElement("path",{fill:"#0077b6",d:"M785.993 196.304h11.026v25.202h-11.026zM689.121 236.47h11.026v25.202h-11.026zM753.703 276.637h11.026v25.202h-11.026z"})),g||(g=W.createElement("path",{d:"M746.603 146.687a31.503 31.503 0 1 1 31.503-31.503 31.539 31.539 0 0 1-31.503 31.503Zm0-61.431a29.928 29.928 0 1 0 29.928 29.928 29.962 29.962 0 0 0-29.928-29.928ZM216.592 209.542l1.542-1.273 63.197 76.538-1.542 1.274z",fill:"#3f3d56"})),x||(x=W.createElement("path",{d:"M288.245 294.751c-5.241-3.038-12.5-6.182-18.219-7.126l9.525-3.403 5.143-8.708c-.156 5.793 1.558 13.517 3.551 19.237ZM562.943 284.814l63.18-76.552 1.543 1.273-63.18 76.553z",fill:"#3f3d56"})),b||(b=W.createElement("path",{d:"M556.021 294.751c1.991-5.721 3.705-13.445 3.55-19.238l5.144 8.709 9.523 3.402c-5.718.943-12.977 4.088-18.217 7.127Z",fill:"#3f3d56"})),y||(y=W.createElement("path",{d:"M1016.53 377.856s0 146-23 199l-53 119s-34-2-36-16l40-124 24-73 6-114Z",fill:"#2f2e41"})),j||(j=W.createElement("path",{d:"m983.53 381.856-9 61 6 134 3 74s12 33 8 36l-8 6s-32-4-33-6-20-153-20-153-39-122-37-124 11-32 11-32Z",fill:"#2f2e41"})),z||(z=W.createElement("path",{d:"m990.53 682.856 4 23s11 47 0 47-31-13-32-21 2-44 2-44Z",fill:"#2f2e41"})),w||(w=W.createElement("path",{d:"M939.53 690.856s8 16 13 18 27.77 15.083 14.385 23.542-27.385.458-27.385.458l-46-25s6-25 15-27 31 10 31 10Z",fill:"#2f2e41"})),H||(H=W.createElement("circle",{cx:929.53,cy:120.856,r:36,fill:"#ffb8b8"})),_||(_=W.createElement("path",{d:"M959.53 123.856s7 46 14 52-15 27-25 26-21-23-21-23 3-29-2-37 34-18 34-18Z",fill:"#ffb8b8"})),N||(N=W.createElement("path",{d:"m951.53 182.856 16.985-15.678a64.292 64.292 0 0 0 20.015 16.678c13 7-25 79-25 79l-61-76s19.402-12.896 25.701-17.948Z",fill:"#3f3d56"})),k||(k=W.createElement("path",{d:"M961.53 243.856s26.8-46.719 23.9-61.86c0 0 39.1 9.86 41.1 22.86s-19 60-19 60 17 119 7 120-110 2-112-3 2-20-4-25-13-2-10-10 16-18 12-24-5-4-4-8-2-57-2-57-21-58-16-62 31.228-13.86 31.228-13.86Z",fill:"#3f3d56"})),C||(C=W.createElement("path",{d:"M1041.53 399.856s-3 40-20 38 3-45 3-45ZM892.53 398.856s6 24 13 22v-28l-3-5Z",fill:"#ffb8b8"})),O||(O=W.createElement("path",{d:"M958.892 126.035a6.222 6.222 0 0 0-1.027-2.895 4.694 4.694 0 0 0-2.188-1.386 9.833 9.833 0 0 0-11.717 5.02c-.923 2.014-1.367 4.608-3.392 5.505-2.354 1.042-4.966-1.177-5.89-3.58s-.95-5.126-2.183-7.387c-1.462-2.68-4.418-4.26-7.405-4.892-2.475-.525-5.504-.8-6.62-3.07a6.078 6.078 0 0 1-.452-2.745 28.964 28.964 0 0 1 1.787-9.791c-9.797-1.957-18.512 7.604-28.5 7.758a7.525 7.525 0 0 1-3.676-.72c-2.217-1.184-3.18-3.809-3.848-6.231q-1.064-3.86-1.751-7.81l3.2 1.467a12.55 12.55 0 0 1-1.426-5.512 13.192 13.192 0 0 1 4.918.415l.233-5.734c2.471 3.134 7.4 2.032 11.119.581 7.176-2.8 14.316-5.83 21.849-7.446s15.606-1.735 22.729 1.2c7.485 3.085 13.256 9.22 18.34 15.522 2.817 3.493 5.541 7.164 7.063 11.386a27.595 27.595 0 0 1-.06 17.6c-1.64 5.134-4.688 11.345-8.792 14.902-1.435-3.634-1.63-8.27-2.311-12.157Z",fill:"#2f2e41"})),S||(S=W.createElement("path",{d:"m890.53 192.856-13 3s-15 16-16 31-1 90-1 90l19 62s-2 14 0 14 3-3 3 1-5 0 0 4l10 8 16.713-22.158s1.287-8.842-1.713-10.842-3-3-2-6 3-4 2-6-4-5-4-7 0-4-1-5-8-25-8-25l4-78ZM1016.53 197.856l10 5s16 48 16 90 3 70 3 70 5 12 3 12-4 0-2 3 3 2 2 5-2-2-1 3 0 7-2 7-2 13-2 13l-24-9s4-5 3-7a9.965 9.965 0 0 1-1-4s5-1 0-3-3-2-2-8 4-5 1-6-21-94-21-94Z",fill:"#3f3d56"})),V||(V=W.createElement("circle",{cx:951.515,cy:183.178,r:3,fill:"#2f2e41"})),A||(A=W.createElement("circle",{cx:951.515,cy:193.178,r:3,fill:"#2f2e41"})))}},8391:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var l=a(3692),c=a(2949),r=a(2263);a(7294);const i={features:"features_t9lD",featureSvg:"featureSvg_GfXr"};var n=a(5893);const h=[{title:"Easy to Use",Svg:a(4232).Z,description:(0,n.jsx)(n.Fragment,{children:"Designed to be easily installed and used. Supports the React Native new architecture."})},{title:"Focus on What Matters",Svg:a(3100).Z,description:(0,n.jsx)(n.Fragment,{children:"Lets you focus on the design, using familiar concepts from React Native. Leave the heavy lifting for interaction with the Android widget to the library."})},{title:"Expo Support",Svg:a(5991).Z,description:(0,n.jsx)(n.Fragment,{children:"Support for expo using custom config plugin."})}];function s(e){let{Svg:t,title:a,description:l}=e;return(0,n.jsxs)("div",{className:"col col--4",children:[(0,n.jsx)("div",{className:"text--center",children:(0,n.jsx)(t,{className:i.featureSvg,role:"img"})}),(0,n.jsxs)("div",{className:"text--center padding-horiz--md",children:[(0,n.jsx)("h3",{children:a}),(0,n.jsx)("p",{children:l})]})]})}function d(){return(0,n.jsx)("section",{className:i.features,children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"row",children:h.map(((e,t)=>(0,n.jsx)(s,{...e},t)))})})})}var f=a(6040);const m={headerWrapper:"headerWrapper_sCgD",container:"container_bfhl",videoContainer:"videoContainer_ViX2",heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function o(){const{siteConfig:e}=(0,r.Z)(),{colorMode:t}=(0,c.I)();return(0,n.jsx)("header",{className:`hero ${"dark"===t?"hero--dark":"hero--primary"} ${m.heroBanner}`,children:(0,n.jsxs)("div",{className:m.headerWrapper,children:[(0,n.jsxs)("div",{className:`container ${m.container}`,children:[(0,n.jsx)("h1",{className:"hero__title",children:e.title}),(0,n.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,n.jsx)("div",{className:m.buttons,children:(0,n.jsx)(l.Z,{className:"button button--secondary button--lg",to:"/docs",children:"Check out the Tutorial"})})]}),(0,n.jsx)("div",{className:m.videoContainer,children:(0,n.jsx)("video",{controls:!0,autoPlay:!0,muted:!0,loop:!0,height:540,width:243,children:(0,n.jsx)("source",{src:"/react-native-android-widget/video.mp4",type:"video/mp4"})})})]})})}function p(){return(0,n.jsxs)(f.Z,{description:"Build Android Widgets with React Native",children:[(0,n.jsx)(o,{}),(0,n.jsx)("main",{children:(0,n.jsx)(d,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/24767a4f.74b80371.js b/assets/js/24767a4f.74b80371.js new file mode 100644 index 0000000..9122fe6 --- /dev/null +++ b/assets/js/24767a4f.74b80371.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1400],{2839:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>o});var t=n(5893),d=n(1151);const r={id:"WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",sidebar_label:"WidgetTaskHandlerProps",sidebar_position:0,custom_edit_url:null},c=void 0,s={id:"public-api/interfaces/WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetTaskHandlerProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",sidebar_label:"WidgetTaskHandlerProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"},next:{title:"WithAndroidWidgetsParams",permalink:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams"}},l={},o=[{value:"Properties",id:"properties",level:2},{value:"widgetInfo",id:"widgetinfo",level:3},{value:"widgetAction",id:"widgetaction",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"clickAction",id:"clickaction",level:3},{value:"clickActionData",id:"clickactiondata",level:3}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(i.h3,{id:"widgetinfo",children:"widgetInfo"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"widgetInfo"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,t.jsx)(i.code,{children:"WidgetInfo"})})]}),"\n",(0,t.jsx)(i.p,{children:"Information about the widget being handled."}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"widgetaction",children:"widgetAction"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"widgetAction"}),": ",(0,t.jsx)(i.code,{children:'"WIDGET_ADDED"'})," | ",(0,t.jsx)(i.code,{children:'"WIDGET_UPDATE"'})," | ",(0,t.jsx)(i.code,{children:'"WIDGET_RESIZED"'})," | ",(0,t.jsx)(i.code,{children:'"WIDGET_DELETED"'})," | ",(0,t.jsx)(i.code,{children:'"WIDGET_CLICK"'})]}),"\n",(0,t.jsx)(i.p,{children:"What kind of action is being handled"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"renderwidget",children:"renderWidget"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"renderWidget"}),": (",(0,t.jsx)(i.code,{children:"widgetComponent"}),": ",(0,t.jsx)(i.code,{children:"Element"}),") => ",(0,t.jsx)(i.code,{children:"void"})]}),"\n",(0,t.jsx)(i.p,{children:"Function that needs to be called with the Widget JSX to render"}),"\n",(0,t.jsx)(i.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,t.jsxs)(i.p,{children:["\u25b8 (",(0,t.jsx)(i.code,{children:"widgetComponent"}),"): ",(0,t.jsx)(i.code,{children:"void"})]}),"\n",(0,t.jsx)(i.p,{children:"Function that needs to be called with the Widget JSX to render"}),"\n",(0,t.jsx)(i.h5,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(i.table,{children:[(0,t.jsx)(i.thead,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,t.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,t.jsx)(i.tbody,{children:(0,t.jsxs)(i.tr,{children:[(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"widgetComponent"})}),(0,t.jsx)(i.td,{style:{textAlign:"left"},children:(0,t.jsx)(i.code,{children:"Element"})})]})})]}),"\n",(0,t.jsx)(i.h5,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.code,{children:"void"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"clickAction"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Click action if widgetAction was WIDGET_CLICK"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"clickActionData"}),": ",(0,t.jsx)(i.code,{children:"Record"}),"<",(0,t.jsx)(i.code,{children:"string"}),", ",(0,t.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,t.jsxs)(i.p,{children:["Additional click action data if widgetAction was ",(0,t.jsx)(i.code,{children:"WIDGET_CLICK"})]})]})}function h(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>c});var t=n(7294);const d={},r=t.createContext(d);function c(e){const i=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:c(e.components),t.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/24767a4f.b7c28857.js b/assets/js/24767a4f.b7c28857.js deleted file mode 100644 index d2da956..0000000 --- a/assets/js/24767a4f.b7c28857.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1400],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>k});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d=r.createContext({}),p=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),u=p(n),k=i,m=u["".concat(d,".").concat(k)]||u[k]||s[k]||a;return n?r.createElement(m,l(l({ref:t},c),{},{components:n})):r.createElement(m,l({ref:t},c))}));function k(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=u;var o={};for(var d in t)hasOwnProperty.call(t,d)&&(o[d]=t[d]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var p=2;p<a;p++)l[p]=n[p];return r.createElement.apply(null,l)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},8419:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var r=n(7462),i=(n(7294),n(3905));const a={id:"WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",sidebar_label:"WidgetTaskHandlerProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/WidgetTaskHandlerProps",id:"public-api/interfaces/WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetTaskHandlerProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetTaskHandlerProps",title:"Interface: WidgetTaskHandlerProps",sidebar_label:"WidgetTaskHandlerProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"},next:{title:"WithAndroidWidgetsParams",permalink:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams"}},d={},p=[{value:"Properties",id:"properties",level:2},{value:"widgetInfo",id:"widgetinfo",level:3},{value:"widgetAction",id:"widgetaction",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"clickAction",id:"clickaction",level:3},{value:"clickActionData",id:"clickactiondata",level:3}],c={toc:p};function s(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"widgetinfo"},"widgetInfo"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgetInfo"),": ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,i.kt)("inlineCode",{parentName:"a"},"WidgetInfo"))),(0,i.kt)("p",null,"Information about the widget being handled."),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"widgetaction"},"widgetAction"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgetAction"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"WIDGET_ADDED"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"WIDGET_UPDATE"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"WIDGET_RESIZED"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"WIDGET_DELETED"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"WIDGET_CLICK"')),(0,i.kt)("p",null,"What kind of action is being handled"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"renderwidget"},"renderWidget"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"renderWidget"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"widgetComponent"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"Element"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"widgetComponent"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("p",null,"Function that needs to be called with the Widget JSX to render"),(0,i.kt)("h5",{id:"parameters"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"widgetComponent")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"Element"))))),(0,i.kt)("h5",{id:"returns"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"clickaction"},"clickAction"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("p",null,"Click action if widgetAction was WIDGET_CLICK"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,i.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,i.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,i.kt)("p",null,"Additional click action data if widgetAction was ",(0,i.kt)("inlineCode",{parentName:"p"},"WIDGET_CLICK")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/281947f5.046e7e9b.js b/assets/js/281947f5.046e7e9b.js new file mode 100644 index 0000000..7105d02 --- /dev/null +++ b/assets/js/281947f5.046e7e9b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6831],{8062:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>s,contentTitle:()=>l,default:()=>h,frontMatter:()=>t,metadata:()=>d,toc:()=>o});var c=n(5893),r=n(1151);const t={id:"OverlapWidgetProps",title:"Interface: OverlapWidgetProps",sidebar_label:"OverlapWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,d={id:"public-api/interfaces/OverlapWidgetProps",title:"Interface: OverlapWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OverlapWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OverlapWidgetProps",title:"Interface: OverlapWidgetProps",sidebar_label:"OverlapWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"},next:{title:"OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"}},s={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:["\n",(0,c.jsx)(i.p,{children:(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,c.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,c.jsxs)(i.p,{children:["\u21b3 ",(0,c.jsx)(i.strong,{children:(0,c.jsx)(i.code,{children:"OverlapWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(i.h3,{id:"children",children:"children"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"children"}),": ",(0,c.jsx)(i.code,{children:"any"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"style"}),": ",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",children:(0,c.jsx)(i.code,{children:"OverlapWidgetStyle"})})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickAction"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,c.jsxs)(i.p,{children:["There are a few special values for ",(0,c.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(i.p,{children:"Those are:"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," does not require ",(0,c.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," requires a ",(0,c.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickActionData"}),": ",(0,c.jsx)(i.code,{children:"Record"}),"<",(0,c.jsx)(i.code,{children:"string"}),", ",(0,c.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,c.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,c.jsxs)(i.p,{children:["If ",(0,c.jsx)(i.code,{children:"clickAction"})," is ",(0,c.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,c.jsx)(i,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>d,a:()=>l});var c=n(7294);const r={},t=c.createContext(r);function l(e){const i=c.useContext(t);return c.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),c.createElement(t.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/281947f5.7c144a7d.js b/assets/js/281947f5.7c144a7d.js deleted file mode 100644 index d613dc9..0000000 --- a/assets/js/281947f5.7c144a7d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6831],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>k});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var p=n.createContext({}),c=function(e){var t=n.useContext(p),i=t;return e&&(i="function"==typeof e?e(t):l(l({},t),e)),i},d=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,p=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=c(i),k=r,m=u["".concat(p,".").concat(k)]||u[k]||s[k]||a;return i?n.createElement(m,l(l({ref:t},d),{},{components:i})):n.createElement(m,l({ref:t},d))}));function k(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,l=new Array(a);l[0]=u;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:r,l[1]=o;for(var c=2;c<a;c++)l[c]=i[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,i)}u.displayName="MDXCreateElement"},7452:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=i(7462),r=(i(7294),i(3905));const a={id:"OverlapWidgetProps",title:"Interface: OverlapWidgetProps",sidebar_label:"OverlapWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/OverlapWidgetProps",id:"public-api/interfaces/OverlapWidgetProps",title:"Interface: OverlapWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OverlapWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OverlapWidgetProps",title:"Interface: OverlapWidgetProps",sidebar_label:"OverlapWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"},next:{title:"OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"}},p={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:c};function s(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"OverlapWidgetProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"any")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"style"},"style"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"style"),": ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"},(0,r.kt)("inlineCode",{parentName:"a"},"OverlapWidgetStyle"))),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickaction"},"clickAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,r.kt)("p",null,"There are a few special values for ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,r.kt)("p",null,"Those are:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,r.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,r.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,r.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,r.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,r.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,r.kt)("p",null,"If ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,r.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,r.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2eb66e86.13cacfbe.js b/assets/js/2eb66e86.13cacfbe.js new file mode 100644 index 0000000..334d462 --- /dev/null +++ b/assets/js/2eb66e86.13cacfbe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6090],{5587:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>a});var c=n(5893),t=n(1151);const r={id:"ImageWidgetProps",title:"Interface: ImageWidgetProps",sidebar_label:"ImageWidgetProps",sidebar_position:0,custom_edit_url:null},d=void 0,s={id:"public-api/interfaces/ImageWidgetProps",title:"Interface: ImageWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ImageWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ImageWidgetProps",title:"Interface: ImageWidgetProps",sidebar_label:"ImageWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"},next:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"}},l={},a=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"imageWidth",id:"imagewidth",level:3},{value:"imageHeight",id:"imageheight",level:3},{value:"image",id:"image",level:3},{value:"style",id:"style",level:3},{value:"radius",id:"radius",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function o(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:["\n",(0,c.jsx)(i.p,{children:(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,c.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,c.jsxs)(i.p,{children:["\u21b3 ",(0,c.jsx)(i.strong,{children:(0,c.jsx)(i.code,{children:"ImageWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(i.h3,{id:"imagewidth",children:"imageWidth"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"imageWidth"}),": ",(0,c.jsx)(i.code,{children:"number"})]}),"\n",(0,c.jsx)(i.p,{children:"Width of the image"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"imageheight",children:"imageHeight"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"imageHeight"}),": ",(0,c.jsx)(i.code,{children:"number"})]}),"\n",(0,c.jsx)(i.p,{children:"Height of the image"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"image",children:"image"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"image"}),": ",(0,c.jsx)(i.a,{href:"../#imagewidgetsource",children:(0,c.jsx)(i.code,{children:"ImageWidgetSource"})})]}),"\n",(0,c.jsxs)(i.p,{children:["Image loaded using ",(0,c.jsx)(i.code,{children:"require('./path/to/image')"}),',\nor a path to image starting with "http:", "https:", or "data:/image"']}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"style"}),": ",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,c.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"radius",children:"radius"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"radius"}),": ",(0,c.jsx)(i.code,{children:"number"})]}),"\n",(0,c.jsx)(i.p,{children:"Image radius"}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickAction"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,c.jsxs)(i.p,{children:["There are a few special values for ",(0,c.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(i.p,{children:"Those are:"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," does not require ",(0,c.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," requires a ",(0,c.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickActionData"}),": ",(0,c.jsx)(i.code,{children:"Record"}),"<",(0,c.jsx)(i.code,{children:"string"}),", ",(0,c.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,c.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,c.jsxs)(i.p,{children:["If ",(0,c.jsx)(i.code,{children:"clickAction"})," is ",(0,c.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,c.jsx)(i,{...e,children:(0,c.jsx)(o,{...e})}):o(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>d});var c=n(7294);const t={},r=c.createContext(t);function d(e){const i=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),c.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2eb66e86.41fe1108.js b/assets/js/2eb66e86.41fe1108.js deleted file mode 100644 index babf6d8..0000000 --- a/assets/js/2eb66e86.41fe1108.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6090],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>u});var n=i(7294);function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach((function(t){a(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t){if(null==e)return{};var i,n,a=function(e,t){if(null==e)return{};var i,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),i=t;return e&&(i="function"==typeof e?e(t):l(l({},t),e)),i},d=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var i=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),m=c(i),u=a,k=m["".concat(p,".").concat(u)]||m[u]||s[u]||r;return i?n.createElement(k,l(l({ref:t},d),{},{components:i})):n.createElement(k,l({ref:t},d))}));function u(e,t){var i=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=i.length,l=new Array(r);l[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,l[1]=o;for(var c=2;c<r;c++)l[c]=i[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,i)}m.displayName="MDXCreateElement"},3130:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>r,metadata:()=>o,toc:()=>c});var n=i(7462),a=(i(7294),i(3905));const r={id:"ImageWidgetProps",title:"Interface: ImageWidgetProps",sidebar_label:"ImageWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/ImageWidgetProps",id:"public-api/interfaces/ImageWidgetProps",title:"Interface: ImageWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ImageWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ImageWidgetProps",title:"Interface: ImageWidgetProps",sidebar_label:"ImageWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"},next:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"}},p={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"imageWidth",id:"imagewidth",level:3},{value:"imageHeight",id:"imageheight",level:3},{value:"image",id:"image",level:3},{value:"style",id:"style",level:3},{value:"radius",id:"radius",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:c};function s(e){let{components:t,...i}=e;return(0,a.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,a.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"ImageWidgetProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"imagewidth"},"imageWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"imageWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"Width of the image"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"imageheight"},"imageHeight"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"imageHeight"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"Height of the image"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"image"},"image"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"image"),": ",(0,a.kt)("a",{parentName:"p",href:"../#imagewidgetsource"},(0,a.kt)("inlineCode",{parentName:"a"},"ImageWidgetSource"))),(0,a.kt)("p",null,"Image loaded using ",(0,a.kt)("inlineCode",{parentName:"p"},"require('./path/to/image')"),',\nor a path to image starting with "http:", "https:", or "data:/image"'),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"style"},"style"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"style"),": ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"radius"},"radius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"radius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"Image radius"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"clickaction"},"clickAction"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,a.kt)("p",null,"There are a few special values for ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,a.kt)("p",null,"Those are:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,a.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,a.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,a.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,a.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,a.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,a.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,a.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,a.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,a.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,a.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,a.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,a.kt)("p",null,"If ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,a.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,a.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,a.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/31e029c9.2d016fba.js b/assets/js/31e029c9.2d016fba.js deleted file mode 100644 index 68d9f6c..0000000 --- a/assets/js/31e029c9.2d016fba.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1946],{3905:(e,t,i)=>{i.d(t,{Zo:()=>c,kt:()=>u});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function o(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function a(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?o(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var s=n.createContext({}),l=function(e){var t=n.useContext(s),i=t;return e&&(i="function"==typeof e?e(t):a(a({},t),e)),i},c=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,c=d(e,["components","mdxType","originalType","parentName"]),p=l(i),u=r,f=p["".concat(s,".").concat(u)]||p[u]||g[u]||o;return i?n.createElement(f,a(a({ref:t},c),{},{components:i})):n.createElement(f,a({ref:t},c))}));function u(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=i.length,a=new Array(o);a[0]=p;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:r,a[1]=d;for(var l=2;l<o;l++)a[l]=i[l];return n.createElement.apply(null,a)}return n.createElement.apply(null,i)}p.displayName="MDXCreateElement"},450:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>g,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var n=i(7462),r=(i(7294),i(3905));const o={sidebar_position:5},a="Register widget in Expo",d={unversionedId:"tutorial/register-widget-expo",id:"tutorial/register-widget-expo",title:"Register widget in Expo",description:"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.",source:"@site/docs/tutorial/register-widget-expo.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget-expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget-expo.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"default",previous:{title:"Register widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget"},next:{title:"Make Widget configurable (Optional)",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable"}},s={},l=[{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2},{value:"Use config plugin in app.(json|config.js|config.ts)",id:"use-config-plugin-in-appjsonconfigjsconfigts",level:2},{value:"Build Dev Client",id:"build-dev-client",level:2}],c={toc:l};function g(e){let{components:t,...o}=e;return(0,r.kt)("wrapper",(0,n.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"register-widget-in-expo"},"Register widget in Expo"),(0,r.kt)("p",null,"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files."),(0,r.kt)("p",null,"Expo provides ",(0,r.kt)("a",{parentName:"p",href:"https://docs.expo.dev/guides/config-plugins/"},"Config Plugins")," that can be used to configure the native android project."),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a config plugin."),(0,r.kt)("h2",{id:"create-widget-preview-image"},"Create widget preview image"),(0,r.kt)("p",null,"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."),(0,r.kt)("p",null,"Take a screenshot of the widget, and place it inside ",(0,r.kt)("inlineCode",{parentName:"p"},"assets/widget-preview/hello.png")),(0,r.kt)("pre",null,"assets/widget-preview/hello.png"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"Hello Widget Preview",src:i(6945).Z,width:"327",height:"208"})),(0,r.kt)("h2",{id:"add-custom-fonts-used-in-widgets"},"Add custom fonts used in widgets"),(0,r.kt)("p",null,"If we need custom fonts for our widgets, we can add them in the assets directory"),(0,r.kt)("p",null,"For example, ",(0,r.kt)("inlineCode",{parentName:"p"},"assets/fonts/Inter.ttf")),(0,r.kt)("h2",{id:"use-config-plugin-in-appjsonconfigjsconfigts"},"Use config plugin in ",(0,r.kt)("a",{parentName:"h2",href:"https://docs.expo.dev/workflow/configuration/"},"app.(json|config.js|config.ts)")),(0,r.kt)("p",null,"In this example we are using ",(0,r.kt)("inlineCode",{parentName:"p"},"app.config.ts")," but the changes are similar for all configuration types."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="app.config.ts"',title:'"app.config.ts"'},"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n // Paths to all custom fonts used in all widgets\n fonts: ['./assets/fonts/Inter.ttf'],\n widgets: [\n {\n name: 'Hello', // This name will be the **name** with which we will reference our widget.\n label: 'My Hello Widget', // Label shown in the widget picker\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget', // Description shown in the widget picker\n previewImage: './assets/widget-preview/hello.png', // Path to widget preview image\n\n // How often, in milliseconds, that this AppWidget wants to be updated.\n // The task handler will be called with widgetAction = 'UPDATE_WIDGET'.\n // Default is 0 (no automatic updates)\n // Minimum is 1800000 (30 minutes == 30 * 60 * 1000).\n updatePeriodMillis: 1800000,\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n")),(0,r.kt)("h2",{id:"build-dev-client"},"Build Dev Client"),(0,r.kt)("p",null,"Build an ",(0,r.kt)("a",{parentName:"p",href:"https://docs.expo.dev/development/create-development-builds/"},"Expo Dev Client")," that will include ",(0,r.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," and the new widget"))}g.isMDXComponent=!0},6945:(e,t,i)=>{i.d(t,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="}}]); \ No newline at end of file diff --git a/assets/js/31e029c9.9d3c63b6.js b/assets/js/31e029c9.9d3c63b6.js new file mode 100644 index 0000000..9c1281a --- /dev/null +++ b/assets/js/31e029c9.9d3c63b6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1946],{2003:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>a,contentTitle:()=>o,default:()=>l,frontMatter:()=>s,metadata:()=>r,toc:()=>c});var n=t(5893),d=t(1151);const s={sidebar_position:5},o="Register widget in Expo",r={id:"tutorial/register-widget-expo",title:"Register widget in Expo",description:"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.",source:"@site/docs/tutorial/register-widget-expo.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget-expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget-expo.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"default",previous:{title:"Register widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget"},next:{title:"Make Widget configurable (Optional)",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable"}},a={},c=[{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2},{value:"Use config plugin in app.(json|config.js|config.ts)",id:"use-config-plugin-in-appjsonconfigjsconfigts",level:2},{value:"Build Dev Client",id:"build-dev-client",level:2}];function g(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"register-widget-in-expo",children:"Register widget in Expo"}),"\n",(0,n.jsx)(i.p,{children:"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files."}),"\n",(0,n.jsxs)(i.p,{children:["Expo provides ",(0,n.jsx)(i.a,{href:"https://docs.expo.dev/guides/config-plugins/",children:"Config Plugins"})," that can be used to configure the native android project."]}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.code,{children:"react-native-android-widget"})," exports a config plugin."]}),"\n",(0,n.jsx)(i.h2,{id:"create-widget-preview-image",children:"Create widget preview image"}),"\n",(0,n.jsx)(i.p,{children:"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."}),"\n",(0,n.jsxs)(i.p,{children:["Take a screenshot of the widget, and place it inside ",(0,n.jsx)(i.code,{children:"assets/widget-preview/hello.png"})]}),"\n",(0,n.jsx)("pre",{children:"assets/widget-preview/hello.png"}),"\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.img,{alt:"Hello Widget Preview",src:t(6945).Z+"",width:"327",height:"208"})}),"\n",(0,n.jsx)(i.h2,{id:"add-custom-fonts-used-in-widgets",children:"Add custom fonts used in widgets"}),"\n",(0,n.jsx)(i.p,{children:"If we need custom fonts for our widgets, we can add them in the assets directory"}),"\n",(0,n.jsxs)(i.p,{children:["For example, ",(0,n.jsx)(i.code,{children:"assets/fonts/Inter.ttf"})]}),"\n",(0,n.jsxs)(i.h2,{id:"use-config-plugin-in-appjsonconfigjsconfigts",children:["Use config plugin in ",(0,n.jsx)(i.a,{href:"https://docs.expo.dev/workflow/configuration/",children:"app.(json|config.js|config.ts)"})]}),"\n",(0,n.jsxs)(i.p,{children:["In this example we are using ",(0,n.jsx)(i.code,{children:"app.config.ts"})," but the changes are similar for all configuration types."]}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-js",metastring:'title="app.config.ts"',children:"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n // Paths to all custom fonts used in all widgets\n fonts: ['./assets/fonts/Inter.ttf'],\n widgets: [\n {\n name: 'Hello', // This name will be the **name** with which we will reference our widget.\n label: 'My Hello Widget', // Label shown in the widget picker\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget', // Description shown in the widget picker\n previewImage: './assets/widget-preview/hello.png', // Path to widget preview image\n\n // How often, in milliseconds, that this AppWidget wants to be updated.\n // The task handler will be called with widgetAction = 'UPDATE_WIDGET'.\n // Default is 0 (no automatic updates)\n // Minimum is 1800000 (30 minutes == 30 * 60 * 1000).\n updatePeriodMillis: 1800000,\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n"})}),"\n",(0,n.jsx)(i.h2,{id:"build-dev-client",children:"Build Dev Client"}),"\n",(0,n.jsxs)(i.p,{children:["Build an ",(0,n.jsx)(i.a,{href:"https://docs.expo.dev/development/create-development-builds/",children:"Expo Dev Client"})," that will include ",(0,n.jsx)(i.code,{children:"react-native-android-widget"})," and the new widget"]})]})}function l(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},6945:(e,i,t)=>{t.d(i,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="},1151:(e,i,t)=>{t.d(i,{Z:()=>r,a:()=>o});var n=t(7294);const d={},s=n.createContext(d);function o(e){const i=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:o(e.components),n.createElement(s.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/334fbae1.2749aa58.js b/assets/js/334fbae1.2749aa58.js deleted file mode 100644 index e625364..0000000 --- a/assets/js/334fbae1.2749aa58.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6998],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d=r.createContext({}),p=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=p(n),f=i,m=u["".concat(d,".").concat(f)]||u[f]||s[f]||a;return n?r.createElement(m,o(o({ref:t},c),{},{components:n})):r.createElement(m,o({ref:t},c))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=u;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var p=2;p<a;p++)o[p]=n[p];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},6105:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var r=n(7462),i=(n(7294),n(3905));const a={id:"WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",sidebar_label:"WidgetConfigurationScreenProps",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/WidgetConfigurationScreenProps",id:"public-api/interfaces/WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetConfigurationScreenProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",sidebar_label:"WidgetConfigurationScreenProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"},next:{title:"WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"}},d={},p=[{value:"Properties",id:"properties",level:2},{value:"widgetInfo",id:"widgetinfo",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"setResult",id:"setresult",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5}],c={toc:p};function s(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"widgetinfo"},"widgetInfo"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgetInfo"),": ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,i.kt)("inlineCode",{parentName:"a"},"WidgetInfo"))),(0,i.kt)("p",null,"Information about the widget being configured."),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"renderwidget"},"renderWidget"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"renderWidget"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"widgetComponent"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"Element"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"widgetComponent"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("p",null,"Function that can be called with the Widget JSX to render"),(0,i.kt)("h5",{id:"parameters"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"widgetComponent")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"Element"))))),(0,i.kt)("h5",{id:"returns"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"setresult"},"setResult"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"setResult"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"result"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"ok"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"cancel"'),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"result"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("p",null,"This must be called after finishing with configuration.\n'ok' means the widget is configured and can be added,\n'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it"),(0,i.kt)("h5",{id:"parameters-1"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"result")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},'"ok"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"cancel"'))))),(0,i.kt)("h5",{id:"returns-1"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/334fbae1.8f27ce28.js b/assets/js/334fbae1.8f27ce28.js new file mode 100644 index 0000000..df53cc6 --- /dev/null +++ b/assets/js/334fbae1.8f27ce28.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6998],{3532:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>h,frontMatter:()=>d,metadata:()=>c,toc:()=>o});var n=i(5893),r=i(1151);const d={id:"WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",sidebar_label:"WidgetConfigurationScreenProps",sidebar_position:0,custom_edit_url:null},s=void 0,c={id:"public-api/interfaces/WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetConfigurationScreenProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetConfigurationScreenProps",title:"Interface: WidgetConfigurationScreenProps",sidebar_label:"WidgetConfigurationScreenProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"},next:{title:"WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"}},l={},o=[{value:"Properties",id:"properties",level:2},{value:"widgetInfo",id:"widgetinfo",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"setResult",id:"setresult",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5}];function a(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(t.h3,{id:"widgetinfo",children:"widgetInfo"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"widgetInfo"}),": ",(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,n.jsx)(t.code,{children:"WidgetInfo"})})]}),"\n",(0,n.jsx)(t.p,{children:"Information about the widget being configured."}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsx)(t.h3,{id:"renderwidget",children:"renderWidget"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"renderWidget"}),": (",(0,n.jsx)(t.code,{children:"widgetComponent"}),": ",(0,n.jsx)(t.code,{children:"Element"}),") => ",(0,n.jsx)(t.code,{children:"void"})]}),"\n",(0,n.jsx)(t.p,{children:"Function that can be called with the Widget JSX to render"}),"\n",(0,n.jsx)(t.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(t.p,{children:["\u25b8 (",(0,n.jsx)(t.code,{children:"widgetComponent"}),"): ",(0,n.jsx)(t.code,{children:"void"})]}),"\n",(0,n.jsx)(t.p,{children:"Function that can be called with the Widget JSX to render"}),"\n",(0,n.jsx)(t.h5,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"widgetComponent"})}),(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"Element"})})]})})]}),"\n",(0,n.jsx)(t.h5,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"void"})}),"\n",(0,n.jsx)(t.hr,{}),"\n",(0,n.jsx)(t.h3,{id:"setresult",children:"setResult"}),"\n",(0,n.jsxs)(t.p,{children:["\u2022 ",(0,n.jsx)(t.strong,{children:"setResult"}),": (",(0,n.jsx)(t.code,{children:"result"}),": ",(0,n.jsx)(t.code,{children:'"ok"'})," | ",(0,n.jsx)(t.code,{children:'"cancel"'}),") => ",(0,n.jsx)(t.code,{children:"void"})]}),"\n",(0,n.jsx)(t.p,{children:"This must be called after finishing with configuration.\n'ok' means the widget is configured and can be added,\n'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it"}),"\n",(0,n.jsx)(t.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,n.jsxs)(t.p,{children:["\u25b8 (",(0,n.jsx)(t.code,{children:"result"}),"): ",(0,n.jsx)(t.code,{children:"void"})]}),"\n",(0,n.jsx)(t.p,{children:"This must be called after finishing with configuration.\n'ok' means the widget is configured and can be added,\n'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it"}),"\n",(0,n.jsx)(t.h5,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{style:{textAlign:"left"},children:(0,n.jsx)(t.code,{children:"result"})}),(0,n.jsxs)(t.td,{style:{textAlign:"left"},children:[(0,n.jsx)(t.code,{children:'"ok"'})," | ",(0,n.jsx)(t.code,{children:'"cancel"'})]})]})})]}),"\n",(0,n.jsx)(t.h5,{id:"returns-1",children:"Returns"}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.code,{children:"void"})})]})}function h(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>c,a:()=>s});var n=i(7294);const r={},d=n.createContext(r);function s(e){const t=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3666eb9e.0a1700d1.js b/assets/js/3666eb9e.0a1700d1.js deleted file mode 100644 index cbd916b..0000000 --- a/assets/js/3666eb9e.0a1700d1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[4483],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>g});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var d=n.createContext({}),p=function(e){var t=n.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=p(r),g=i,v=u["".concat(d,".").concat(g)]||u[g]||s[g]||a;return r?n.createElement(v,o(o({ref:t},l),{},{components:r})):n.createElement(v,o({ref:t},l))}));function g(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var c={};for(var d in t)hasOwnProperty.call(t,d)&&(c[d]=t[d]);c.originalType=e,c.mdxType="string"==typeof e?e:i,o[1]=c;for(var p=2;p<a;p++)o[p]=r[p];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},3831:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(7462),i=(r(7294),r(3905));const a={sidebar_position:1},o="WidgetPreview",c={unversionedId:"api/widget-preview",id:"api/widget-preview",title:"WidgetPreview",description:"react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.",source:"@site/docs/api/widget-preview.md",sourceDirName:"api",slug:"/api/widget-preview",permalink:"/react-native-android-widget/docs/api/widget-preview",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/widget-preview.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Congratulations!",permalink:"/react-native-android-widget/docs/tutorial/congratulations"},next:{title:"registerWidgetTaskHandler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler"}},d={},p=[{value:"Usage",id:"usage",level:2},{value:"Types",id:"types",level:2}],l={toc:p};function s(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"widgetpreview"},"WidgetPreview"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a ",(0,i.kt)("inlineCode",{parentName:"p"},"WidgetPreview")," component that can be used to preview a widget in any screen in our React Native application."),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="HelloWidgetPreviewScreen.tsx"',title:'"HelloWidgetPreviewScreen.tsx"'},"import * as React from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport { WidgetPreview } from 'react-native-android-widget';\n\nimport { HelloWidget } from './HelloWidget';\n\nexport function HelloWidgetPreviewScreen() {\n return (\n <View style={styles.container}>\n <WidgetPreview\n renderWidget={() => <HelloWidget />}\n width={320}\n height={200}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n")),(0,i.kt)("h2",{id:"types"},"Types"),(0,i.kt)("p",null,"Check the types in the ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"},"Public API")," documentation"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3666eb9e.78798a89.js b/assets/js/3666eb9e.78798a89.js new file mode 100644 index 0000000..3889eac --- /dev/null +++ b/assets/js/3666eb9e.78798a89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[4483],{3467:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>s,contentTitle:()=>d,default:()=>p,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=i(5893),r=i(1151);const a={sidebar_position:1},d="WidgetPreview",o={id:"api/widget-preview",title:"WidgetPreview",description:"react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.",source:"@site/docs/api/widget-preview.md",sourceDirName:"api",slug:"/api/widget-preview",permalink:"/react-native-android-widget/docs/api/widget-preview",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/widget-preview.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Congratulations!",permalink:"/react-native-android-widget/docs/tutorial/congratulations"},next:{title:"registerWidgetTaskHandler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler"}},s={},c=[{value:"Usage",id:"usage",level:2},{value:"Types",id:"types",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"widgetpreview",children:"WidgetPreview"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"react-native-android-widget"})," exports a ",(0,n.jsx)(t.code,{children:"WidgetPreview"})," component that can be used to preview a widget in any screen in our React Native application."]}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-jsx",metastring:'title="HelloWidgetPreviewScreen.tsx"',children:"import * as React from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport { WidgetPreview } from 'react-native-android-widget';\n\nimport { HelloWidget } from './HelloWidget';\n\nexport function HelloWidgetPreviewScreen() {\n return (\n <View style={styles.container}>\n <WidgetPreview\n renderWidget={() => <HelloWidget />}\n width={320}\n height={200}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n"})}),"\n",(0,n.jsx)(t.h2,{id:"types",children:"Types"}),"\n",(0,n.jsxs)(t.p,{children:["Check the types in the ",(0,n.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>d});var n=i(7294);const r={},a=n.createContext(r);function d(e){const t=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/399d2a39.616fc433.js b/assets/js/399d2a39.616fc433.js new file mode 100644 index 0000000..afb6ca8 --- /dev/null +++ b/assets/js/399d2a39.616fc433.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6573],{6455:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>a,default:()=>g,frontMatter:()=>o,metadata:()=>r,toc:()=>l});var t=n(5893),d=n(1151);const o={sidebar_position:6},a="Make Widget configurable (Optional)",r={id:"tutorial/make-widget-configurable",title:"Make Widget configurable (Optional)",description:"In order to some of the widgets configurable, we need to create a widget configuration activity.",source:"@site/docs/tutorial/make-widget-configurable.md",sourceDirName:"tutorial",slug:"/tutorial/make-widget-configurable",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/make-widget-configurable.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"},next:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"}},c={},l=[{value:"Add a widget configuration activity class",id:"add-a-widget-configuration-activity-class",level:2},{value:"Update the widget provider xml file for the widget",id:"update-the-widget-provider-xml-file-for-the-widget",level:2},{value:"Add widget configuration activity in AndroidManifest.xml",id:"add-widget-configuration-activity-in-androidmanifestxml",level:2},{value:"Make Widget configurable in Expo using config plugin",id:"make-widget-configurable-in-expo-using-config-plugin",level:2},{value:"Create the Widget Configuration Screen",id:"create-the-widget-configuration-screen",level:2}];function s(e){const i={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,d.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"make-widget-configurable-optional",children:"Make Widget configurable (Optional)"}),"\n",(0,t.jsx)(i.p,{children:"In order to some of the widgets configurable, we need to create a widget configuration activity."}),"\n",(0,t.jsxs)(i.admonition,{title:"Note",type:"info",children:[(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"WIDGET_ADDED"})," event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration."]}),(0,t.jsxs)(i.p,{children:["If the configuration is cancelled when adding the widget, ",(0,t.jsx)(i.code,{children:"WIDGET_DELETED"})," will be fired."]})]}),"\n",(0,t.jsx)(i.h2,{id:"add-a-widget-configuration-activity-class",children:"Add a widget configuration activity class"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java"',children:"package com.yourapppackage;\n\nimport com.reactnativeandroidwidget.RNWidgetConfigurationActivity;\n\npublic class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {\n}\n"})}),"\n",(0,t.jsx)(i.h2,{id:"update-the-widget-provider-xml-file-for-the-widget",children:"Update the widget provider xml file for the widget"}),"\n",(0,t.jsxs)(i.p,{children:["In the widget provider we created, add ",(0,t.jsx)(i.code,{children:"configure"})," and ",(0,t.jsx)(i.code,{children:"widgetFeatures"})," properties."]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'<?xml version="1.0" encoding="utf-8"?>\n<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"\n android:minWidth="320dp"\n android:minHeight="120dp"\n\n android:updatePeriodMillis="0"\n\n android:initialLayout="@layout/rn_widget"\n\n android:previewImage="@drawable/hello_preview"\n android:description="@string/widget_hello_description"\n\n android:resizeMode="none"\n\n\n android:configure="com.yourapppackage.WidgetConfigurationActivity"\n android:widgetFeatures="reconfigurable"\n\n\n android:widgetCategory="home_screen">\n</appwidget-provider>\n'})}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:configure"})," should reference the configuration activity we created"]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:widgetFeatures"})," can be ",(0,t.jsx)(i.code,{children:"reconfigurable"})," or ",(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"reconfigurable"})," means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"})," means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"add-widget-configuration-activity-in-androidmanifestxml",children:"Add widget configuration activity in AndroidManifest.xml"}),"\n",(0,t.jsxs)(i.p,{children:["Finally, we need to add the widget configuration activity in ",(0,t.jsx)(i.code,{children:"AndroidManifest.xml"})]}),"\n",(0,t.jsxs)(i.p,{children:["In ",(0,t.jsx)(i.code,{children:"AndroidManifest.xml"}),", add a activity"]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <activity android:name=".WidgetConfigurationActivity"\n android:exported="true">\n <intent-filter>\n <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>\n </intent-filter>\n </activity>\n </application>\n</manifest>\n'})}),"\n",(0,t.jsx)(i.p,{children:"For the activity"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:name"})," myst be ",(0,t.jsx)(i.code,{children:".WidgetConfigurationActivity"})," (same as the Java class extending ",(0,t.jsx)(i.code,{children:"RNWidgetConfigurationActivity"}),")"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"make-widget-configurable-in-expo-using-config-plugin",children:"Make Widget configurable in Expo using config plugin"}),"\n",(0,t.jsxs)(i.p,{children:["If using Expo, the configuration is much simpler. We will only need to set the ",(0,t.jsx)(i.code,{children:"widgetFeatures"})," property in the config plugin to ",(0,t.jsx)(i.code,{children:"reconfigurable"})," or ",(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"}),"."]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-js",metastring:'title="app.config.ts"',children:"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n widgets: [\n {\n name: 'Hello',\n label: 'My Hello Widget',\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget',\n previewImage: './assets/widget-preview/hello.png',\n updatePeriodMillis: 1800000,\n\n // This\n widgetFeatures: 'reconfigurable',\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n"})}),"\n",(0,t.jsx)(i.h2,{id:"create-the-widget-configuration-screen",children:"Create the Widget Configuration Screen"}),"\n",(0,t.jsxs)(i.p,{children:["For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/api/register-widget-configuration-screen",children:(0,t.jsx)(i.code,{children:"registerWidgetConfigurationScreen"})})]})]})}function g(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(s,{...e})}):s(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>r,a:()=>a});var t=n(7294);const d={},o=t.createContext(d);function a(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:a(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/399d2a39.b5ef2174.js b/assets/js/399d2a39.b5ef2174.js deleted file mode 100644 index 17f2ce4..0000000 --- a/assets/js/399d2a39.b5ef2174.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6573],{3905:(e,t,i)=>{i.d(t,{Zo:()=>g,kt:()=>s});var n=i(7294);function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach((function(t){a(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t){if(null==e)return{};var i,n,a=function(e,t){if(null==e)return{};var i,n,a={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},g=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,a=e.mdxType,r=e.originalType,l=e.parentName,g=d(e,["components","mdxType","originalType","parentName"]),u=c(i),s=a,f=u["".concat(l,".").concat(s)]||u[s]||p[s]||r;return i?n.createElement(f,o(o({ref:t},g),{},{components:i})):n.createElement(f,o({ref:t},g))}));function s(e,t){var i=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=i.length,o=new Array(r);o[0]=u;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:a,o[1]=d;for(var c=2;c<r;c++)o[c]=i[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,i)}u.displayName="MDXCreateElement"},6073:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>p,frontMatter:()=>r,metadata:()=>d,toc:()=>c});var n=i(7462),a=(i(7294),i(3905));const r={sidebar_position:6},o="Make Widget configurable (Optional)",d={unversionedId:"tutorial/make-widget-configurable",id:"tutorial/make-widget-configurable",title:"Make Widget configurable (Optional)",description:"In order to some of the widgets configurable, we need to create a widget configuration activity.",source:"@site/docs/tutorial/make-widget-configurable.md",sourceDirName:"tutorial",slug:"/tutorial/make-widget-configurable",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/make-widget-configurable.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"},next:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"}},l={},c=[{value:"Add a widget configuration activity class",id:"add-a-widget-configuration-activity-class",level:2},{value:"Update the widget provider xml file for the widget",id:"update-the-widget-provider-xml-file-for-the-widget",level:2},{value:"Add widget configuration activity in AndroidManifest.xml",id:"add-widget-configuration-activity-in-androidmanifestxml",level:2},{value:"Make Widget configurable in Expo using config plugin",id:"make-widget-configurable-in-expo-using-config-plugin",level:2},{value:"Create the Widget Configuration Screen",id:"create-the-widget-configuration-screen",level:2}],g={toc:c};function p(e){let{components:t,...i}=e;return(0,a.kt)("wrapper",(0,n.Z)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"make-widget-configurable-optional"},"Make Widget configurable (Optional)"),(0,a.kt)("p",null,"In order to some of the widgets configurable, we need to create a widget configuration activity."),(0,a.kt)("admonition",{title:"Note",type:"info"},(0,a.kt)("p",{parentName:"admonition"},(0,a.kt)("inlineCode",{parentName:"p"},"WIDGET_ADDED")," event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration."),(0,a.kt)("p",{parentName:"admonition"},"If the configuration is cancelled when adding the widget, ",(0,a.kt)("inlineCode",{parentName:"p"},"WIDGET_DELETED")," will be fired.")),(0,a.kt)("h2",{id:"add-a-widget-configuration-activity-class"},"Add a widget configuration activity class"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java"',title:'"android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java"'},"package com.yourapppackage;\n\nimport com.reactnativeandroidwidget.RNWidgetConfigurationActivity;\n\npublic class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {\n}\n")),(0,a.kt)("h2",{id:"update-the-widget-provider-xml-file-for-the-widget"},"Update the widget provider xml file for the widget"),(0,a.kt)("p",null,"In the widget provider we created, add ",(0,a.kt)("inlineCode",{parentName:"p"},"configure")," and ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetFeatures")," properties."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',title:'"android/app/src/main/res/xml/widgetprovider_hello.xml"'},'<?xml version="1.0" encoding="utf-8"?>\n<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"\n android:minWidth="320dp"\n android:minHeight="120dp"\n\n android:updatePeriodMillis="0"\n\n android:initialLayout="@layout/rn_widget"\n\n android:previewImage="@drawable/hello_preview"\n android:description="@string/widget_hello_description"\n\n android:resizeMode="none"\n\n\n android:configure="com.yourapppackage.WidgetConfigurationActivity"\n android:widgetFeatures="reconfigurable"\n\n\n android:widgetCategory="home_screen">\n</appwidget-provider>\n')),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"android:configure")," should reference the configuration activity we created"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"android:widgetFeatures")," can be ",(0,a.kt)("inlineCode",{parentName:"li"},"reconfigurable")," or ",(0,a.kt)("inlineCode",{parentName:"li"},"reconfigurable|configuration_optional"),(0,a.kt)("ul",{parentName:"li"},(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"reconfigurable")," means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget."),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"reconfigurable|configuration_optional")," means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added")))),(0,a.kt)("h2",{id:"add-widget-configuration-activity-in-androidmanifestxml"},"Add widget configuration activity in AndroidManifest.xml"),(0,a.kt)("p",null,"Finally, we need to add the widget configuration activity in ",(0,a.kt)("inlineCode",{parentName:"p"},"AndroidManifest.xml")),(0,a.kt)("p",null,"In ",(0,a.kt)("inlineCode",{parentName:"p"},"AndroidManifest.xml"),", add a activity"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',title:'"android/app/src/main/AndroidManifest.xml"'},'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <activity android:name=".WidgetConfigurationActivity"\n android:exported="true">\n <intent-filter>\n <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>\n </intent-filter>\n </activity>\n </application>\n</manifest>\n')),(0,a.kt)("p",null,"For the activity"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"android:name")," myst be ",(0,a.kt)("inlineCode",{parentName:"li"},".WidgetConfigurationActivity")," (same as the Java class extending ",(0,a.kt)("inlineCode",{parentName:"li"},"RNWidgetConfigurationActivity"),")")),(0,a.kt)("h2",{id:"make-widget-configurable-in-expo-using-config-plugin"},"Make Widget configurable in Expo using config plugin"),(0,a.kt)("p",null,"If using Expo, the configuration is much simpler. We will only need to set the ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetFeatures")," property in the config plugin to ",(0,a.kt)("inlineCode",{parentName:"p"},"reconfigurable")," or ",(0,a.kt)("inlineCode",{parentName:"p"},"reconfigurable|configuration_optional"),"."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="app.config.ts"',title:'"app.config.ts"'},"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n widgets: [\n {\n name: 'Hello',\n label: 'My Hello Widget',\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget',\n previewImage: './assets/widget-preview/hello.png',\n updatePeriodMillis: 1800000,\n\n // This\n widgetFeatures: 'reconfigurable',\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n")),(0,a.kt)("h2",{id:"create-the-widget-configuration-screen"},"Create the Widget Configuration Screen"),(0,a.kt)("p",null,"For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/api/register-widget-configuration-screen"},(0,a.kt)("inlineCode",{parentName:"a"},"registerWidgetConfigurationScreen"))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3a45f1c7.31188328.js b/assets/js/3a45f1c7.31188328.js new file mode 100644 index 0000000..136a1ac --- /dev/null +++ b/assets/js/3a45f1c7.31188328.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9239],{108:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>s,default:()=>h,frontMatter:()=>d,metadata:()=>a,toc:()=>l});var c=i(5893),t=i(1151);const d={sidebar_position:5,sidebar_label:"Handling Clicks"},s="Handling Clicks",a={id:"handling-clicks",title:"Handling Clicks",description:"All widget primitives can be clicked, and execute some code.",source:"@site/docs/handling-clicks.md",sourceDirName:".",slug:"/handling-clicks",permalink:"/react-native-android-widget/docs/handling-clicks",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/handling-clicks.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5,sidebar_label:"Handling Clicks"},sidebar:"default",previous:{title:"Update Widget",permalink:"/react-native-android-widget/docs/update-widget"},next:{title:"Demo",permalink:"/react-native-android-widget/docs/demo"}},r={},l=[{value:"Special cases",id:"special-cases",level:2},{value:"Demo",id:"demo",level:2}];function o(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.h1,{id:"handling-clicks",children:"Handling Clicks"}),"\n",(0,c.jsxs)(n.p,{children:["All widget ",(0,c.jsx)(n.a,{href:"./primitives/index",children:"primitives"})," can be clicked, and execute some code."]}),"\n",(0,c.jsxs)(n.p,{children:["To add a click action to ",(0,c.jsx)(n.code,{children:"FlexWidget"}),", we need to pass a ",(0,c.jsx)(n.code,{children:"clickAction"})," prop, and an optional ",(0,c.jsx)(n.code,{children:"clickActionData"})," prop. ",(0,c.jsx)(n.code,{children:"clickActionData"})," can be used to add additional data that we need."]}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-tsx",children:"import { FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget clickAction=\"MY_ACTION\" clickActionData={{ id: 0 }}>\n ...\n </FlexWidget>\n );\n}\n"})}),"\n",(0,c.jsxs)(n.p,{children:["Inside our ",(0,c.jsx)(n.a,{href:"/react-native-android-widget/docs/api/register-widget-task-handler",children:"registerWidgetTaskHandler"})," handler we can check for the ",(0,c.jsx)(n.code,{children:"widgetAction"}),", and if the ",(0,c.jsx)(n.code,{children:"widgetAction"})," is ",(0,c.jsx)(n.code,{children:"WIDGET_CLICK"}),", ",(0,c.jsx)(n.code,{children:"props.clickAction"})," will be the ",(0,c.jsx)(n.code,{children:"clickAction"})," we set to the View."]}),"\n",(0,c.jsx)(n.pre,{children:(0,c.jsx)(n.code,{className:"language-ts",children:"export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n // ...;\n break;\n\n case 'WIDGET_UPDATE':\n // ...;\n break;\n\n case 'WIDGET_RESIZED':\n // ...;\n break;\n\n case 'WIDGET_DELETED':\n // ...;\n break;\n\n case 'WIDGET_CLICK':\n if (props.clickAction === 'MY_ACTION') {\n // Do stuff when primitive with `clickAction=\"MY_ACTION\"` is clicked\n // props.clickActionData === { id: 0 }\n }\n break;\n\n default:\n break;\n }\n}\n"})}),"\n",(0,c.jsx)(n.h2,{id:"special-cases",children:"Special cases"}),"\n",(0,c.jsxs)(n.p,{children:["There are a few special values for ",(0,c.jsx)(n.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(n.p,{children:"Those are:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:["\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.code,{children:'"OPEN_APP"'})}),"\n",(0,c.jsxs)(n.p,{children:["This ",(0,c.jsx)(n.code,{children:"clickAction"})," does not required ",(0,c.jsx)(n.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n"]}),"\n",(0,c.jsxs)(n.li,{children:["\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.code,{children:'"OPEN_URI"'})}),"\n",(0,c.jsxs)(n.p,{children:["This ",(0,c.jsx)(n.code,{children:"clickAction"})," requires a ",(0,c.jsx)(n.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(n.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(n.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(n.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(n.code,{children:"androidwidgetexample://deep-link"}),")"]}),"\n",(0,c.jsx)(n.p,{children:"For the deep link to open a screen in the app deep linking must be set up using:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.a,{href:"https://reactnative.dev/docs/linking",children:"Linking"})}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.a,{href:"https://docs.expo.dev/guides/linking/",children:"Expo Linking"})}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.a,{href:"https://expo.github.io/router/docs/features/linking",children:"Expo Router"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(n.h2,{id:"demo",children:"Demo"}),"\n",(0,c.jsxs)(n.p,{children:["All click action types are presend in the ",(0,c.jsx)(n.a,{href:"/react-native-android-widget/docs/demo#click-demo-widget-preview",children:"Click Demo"})," widget in the demo app."]})]})}function h(e={}){const{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(o,{...e})}):o(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>a,a:()=>s});var c=i(7294);const t={},d=c.createContext(t);function s(e){const n=c.useContext(d);return c.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),c.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3a45f1c7.3551f181.js b/assets/js/3a45f1c7.3551f181.js deleted file mode 100644 index 75d746d..0000000 --- a/assets/js/3a45f1c7.3551f181.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9239],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>u});var i=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=i.createContext({}),p=function(e){var t=i.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=p(e.components);return i.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},k=i.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),k=p(n),u=a,m=k["".concat(c,".").concat(u)]||k[u]||s[u]||r;return n?i.createElement(m,o(o({ref:t},d),{},{components:n})):i.createElement(m,o({ref:t},d))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,o=new Array(r);o[0]=k;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var p=2;p<r;p++)o[p]=n[p];return i.createElement.apply(null,o)}return i.createElement.apply(null,n)}k.displayName="MDXCreateElement"},9152:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>s,frontMatter:()=>r,metadata:()=>l,toc:()=>p});var i=n(7462),a=(n(7294),n(3905));const r={sidebar_position:5,sidebar_label:"Handling Clicks"},o="Handling Clicks",l={unversionedId:"handling-clicks",id:"handling-clicks",title:"Handling Clicks",description:"All widget primitives can be clicked, and execute some code.",source:"@site/docs/handling-clicks.md",sourceDirName:".",slug:"/handling-clicks",permalink:"/react-native-android-widget/docs/handling-clicks",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/handling-clicks.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5,sidebar_label:"Handling Clicks"},sidebar:"default",previous:{title:"Update Widget",permalink:"/react-native-android-widget/docs/update-widget"},next:{title:"Demo",permalink:"/react-native-android-widget/docs/demo"}},c={},p=[{value:"Special cases",id:"special-cases",level:2},{value:"Demo",id:"demo",level:2}],d={toc:p};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,i.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"handling-clicks"},"Handling Clicks"),(0,a.kt)("p",null,"All widget ",(0,a.kt)("a",{parentName:"p",href:"./primitives/index"},"primitives")," can be clicked, and execute some code."),(0,a.kt)("p",null,"To add a click action to ",(0,a.kt)("inlineCode",{parentName:"p"},"FlexWidget"),", we need to pass a ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," prop, and an optional ",(0,a.kt)("inlineCode",{parentName:"p"},"clickActionData")," prop. ",(0,a.kt)("inlineCode",{parentName:"p"},"clickActionData")," can be used to add additional data that we need."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-tsx"},"import { FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget clickAction=\"MY_ACTION\" clickActionData={{ id: 0 }}>\n ...\n </FlexWidget>\n );\n}\n")),(0,a.kt)("p",null,"Inside our ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/api/register-widget-task-handler"},"registerWidgetTaskHandler")," handler we can check for the ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetAction"),", and if the ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetAction")," is ",(0,a.kt)("inlineCode",{parentName:"p"},"WIDGET_CLICK"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"props.clickAction")," will be the ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," we set to the View."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-ts"},"export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n // ...;\n break;\n\n case 'WIDGET_UPDATE':\n // ...;\n break;\n\n case 'WIDGET_RESIZED':\n // ...;\n break;\n\n case 'WIDGET_DELETED':\n // ...;\n break;\n\n case 'WIDGET_CLICK':\n if (props.clickAction === 'MY_ACTION') {\n // Do stuff when primitive with `clickAction=\"MY_ACTION\"` is clicked\n // props.clickActionData === { id: 0 }\n }\n break;\n\n default:\n break;\n }\n}\n")),(0,a.kt)("h2",{id:"special-cases"},"Special cases"),(0,a.kt)("p",null,"There are a few special values for ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,a.kt)("p",null,"Those are:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("inlineCode",{parentName:"p"},'"OPEN_APP"')),(0,a.kt)("p",{parentName:"li"},"This ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," does not required ",(0,a.kt)("inlineCode",{parentName:"p"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("inlineCode",{parentName:"p"},'"OPEN_URI"')),(0,a.kt)("p",{parentName:"li"},"This ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," requires a ",(0,a.kt)("inlineCode",{parentName:"p"},"clickActionData")," that contains ",(0,a.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }"),".\nThe ",(0,a.kt)("inlineCode",{parentName:"p"},"uri")," can be a web uri (",(0,a.kt)("inlineCode",{parentName:"p"},"https://google.com"),"), or an app deep link (",(0,a.kt)("inlineCode",{parentName:"p"},"androidwidgetexample://deep-link"),")"),(0,a.kt)("p",{parentName:"li"},"For the deep link to open a screen in the app deep linking must be set up using:"),(0,a.kt)("ul",{parentName:"li"},(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://reactnative.dev/docs/linking"},"Linking")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://docs.expo.dev/guides/linking/"},"Expo Linking")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"https://expo.github.io/router/docs/features/linking"},"Expo Router"))))),(0,a.kt)("h2",{id:"demo"},"Demo"),(0,a.kt)("p",null,"All click action types are presend in the ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/demo#click-demo-widget-preview"},"Click Demo")," widget in the demo app."))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3fa31a86.0941861b.js b/assets/js/3fa31a86.0941861b.js deleted file mode 100644 index e7fd600..0000000 --- a/assets/js/3fa31a86.0941861b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7938],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>g});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),d=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},c=function(e){var t=d(e.components);return n.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),u=d(r),g=i,v=u["".concat(l,".").concat(g)]||u[g]||s[g]||o;return r?n.createElement(v,a(a({ref:t},c),{},{components:r})):n.createElement(v,a({ref:t},c))}));function g(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,a=new Array(o);a[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,a[1]=p;for(var d=2;d<o;d++)a[d]=r[d];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},8058:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>p,toc:()=>d});var n=r(7462),i=(r(7294),r(3905));const o={sidebar_position:2},a="OverlapWidget",p={unversionedId:"primitives/overlap-widget",id:"primitives/overlap-widget",title:"OverlapWidget",description:"Widget container that lays out child widgets on on top of the other.",source:"@site/docs/primitives/overlap-widget.md",sourceDirName:"primitives",slug:"/primitives/overlap-widget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/overlap-widget.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"FlexWidget",permalink:"/react-native-android-widget/docs/primitives/flex-widget"},next:{title:"ListWidget",permalink:"/react-native-android-widget/docs/primitives/list-widget"}},l={},d=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}],c={toc:d};function s(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"overlapwidget"},"OverlapWidget"),(0,i.kt)("p",null,"Widget container that lays out child widgets on on top of the other."),(0,i.kt)("p",null,"The child widgets can be positioned using margins."),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-tsx"},"import { OverlapWidget, FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <OverlapWidget>\n <FlexWidget style={{ marginTop: 10, marginLeft: 10 }}>...</FlexWidget>\n <FlexWidget style={{ marginTop: 20, marginLeft: 10 }}>...</FlexWidget>\n </OverlapWidget>\n );\n}\n")),(0,i.kt)("h2",{id:"props"},"Props"),(0,i.kt)("p",null,"Check the props in the ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/OverlapWidgetProps"},"Public API")," documentation"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3fa31a86.ea7fa94f.js b/assets/js/3fa31a86.ea7fa94f.js new file mode 100644 index 0000000..d289efa --- /dev/null +++ b/assets/js/3fa31a86.ea7fa94f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7938],{4416:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var n=i(5893),r=i(1151);const o={sidebar_position:2},d="OverlapWidget",s={id:"primitives/overlap-widget",title:"OverlapWidget",description:"Widget container that lays out child widgets on on top of the other.",source:"@site/docs/primitives/overlap-widget.md",sourceDirName:"primitives",slug:"/primitives/overlap-widget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/overlap-widget.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"FlexWidget",permalink:"/react-native-android-widget/docs/primitives/flex-widget"},next:{title:"ListWidget",permalink:"/react-native-android-widget/docs/primitives/list-widget"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"overlapwidget",children:"OverlapWidget"}),"\n",(0,n.jsx)(t.p,{children:"Widget container that lays out child widgets on on top of the other."}),"\n",(0,n.jsx)(t.p,{children:"The child widgets can be positioned using margins."}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"import { OverlapWidget, FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <OverlapWidget>\n <FlexWidget style={{ marginTop: 10, marginLeft: 10 }}>...</FlexWidget>\n <FlexWidget style={{ marginTop: 20, marginLeft: 10 }}>...</FlexWidget>\n </OverlapWidget>\n );\n}\n"})}),"\n",(0,n.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,n.jsxs)(t.p,{children:["Check the props in the ",(0,n.jsx)(t.a,{href:"/docs/public-api/interfaces/OverlapWidgetProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>s,a:()=>d});var n=i(7294);const r={},o=n.createContext(r);function d(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/436fd1e4.abb0f073.js b/assets/js/436fd1e4.abb0f073.js deleted file mode 100644 index e5c01aa..0000000 --- a/assets/js/436fd1e4.abb0f073.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8645],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var o=n.createContext({}),c=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(o.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,v=u["".concat(o,".").concat(m)]||u[m]||d[m]||i;return r?n.createElement(v,l(l({ref:t},s),{},{components:r})):n.createElement(v,l({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,l=new Array(i);l[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var c=2;c<i;c++)l[c]=r[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},647:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var n=r(7462),a=(r(7294),r(3905));const i={id:"OverlapWidget",title:"Namespace: OverlapWidget",sidebar_label:"OverlapWidget",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"public-api/namespaces/OverlapWidget",id:"public-api/namespaces/OverlapWidget",title:"Namespace: OverlapWidget",description:"Variables",source:"@site/docs/public-api/namespaces/OverlapWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/OverlapWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/OverlapWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OverlapWidget",title:"Namespace: OverlapWidget",sidebar_label:"OverlapWidget",sidebar_position:0,custom_edit_url:null}},o={},c=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"OverlapWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"OverlapWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"OverlapWidgetInternalProps")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4787fd9f.15fa7793.js b/assets/js/4787fd9f.15fa7793.js new file mode 100644 index 0000000..77893fa --- /dev/null +++ b/assets/js/4787fd9f.15fa7793.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1161],{4767:(e,i,c)=>{c.r(i),c.d(i,{assets:()=>d,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var n=c(5893),t=c(1151);const r={id:"ClickActionProps",title:"Interface: ClickActionProps",sidebar_label:"ClickActionProps",sidebar_position:0,custom_edit_url:null},s=void 0,o={id:"public-api/interfaces/ClickActionProps",title:"Interface: ClickActionProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ClickActionProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ClickActionProps",title:"Interface: ClickActionProps",sidebar_label:"ClickActionProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},next:{title:"CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"}},d={},l=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"clickAction",id:"clickaction",level:3},{value:"clickActionData",id:"clickactiondata",level:3}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",children:(0,n.jsx)(i.code,{children:"FlexWidgetProps"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",children:(0,n.jsx)(i.code,{children:"IconWidgetProps"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",children:(0,n.jsx)(i.code,{children:"ImageWidgetProps"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",children:(0,n.jsx)(i.code,{children:"OverlapWidgetProps"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",children:(0,n.jsx)(i.code,{children:"SvgWidgetProps"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",children:(0,n.jsx)(i.code,{children:"TextWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"clickAction"}),": ",(0,n.jsx)(i.code,{children:"string"})]}),"\n",(0,n.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,n.jsxs)(i.p,{children:["There are a few special values for ",(0,n.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,n.jsx)(i.p,{children:"Those are:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,n.jsx)(i.code,{children:"clickAction"})," does not require ",(0,n.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,n.jsx)(i.code,{children:"clickAction"})," requires a ",(0,n.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,n.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,n.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,n.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,n.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"clickActionData"}),": ",(0,n.jsx)(i.code,{children:"Record"}),"<",(0,n.jsx)(i.code,{children:"string"}),", ",(0,n.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,n.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,n.jsxs)(i.p,{children:["If ",(0,n.jsx)(i.code,{children:"clickAction"})," is ",(0,n.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,n.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]})]})}function p(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1151:(e,i,c)=>{c.d(i,{Z:()=>o,a:()=>s});var n=c(7294);const t={},r=n.createContext(t);function s(e){const i=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4787fd9f.73d50786.js b/assets/js/4787fd9f.73d50786.js deleted file mode 100644 index 6baef34..0000000 --- a/assets/js/4787fd9f.73d50786.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1161],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>k});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function l(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var c=n.createContext({}),p=function(e){var t=n.useContext(c),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},d=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(i),k=r,m=u["".concat(c,".").concat(k)]||u[k]||s[k]||a;return i?n.createElement(m,o(o({ref:t},d),{},{components:i})):n.createElement(m,o({ref:t},d))}));function k(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,o=new Array(a);o[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var p=2;p<a;p++)o[p]=i[p];return n.createElement.apply(null,o)}return n.createElement.apply(null,i)}u.displayName="MDXCreateElement"},266:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var n=i(7462),r=(i(7294),i(3905));const a={id:"ClickActionProps",title:"Interface: ClickActionProps",sidebar_label:"ClickActionProps",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/ClickActionProps",id:"public-api/interfaces/ClickActionProps",title:"Interface: ClickActionProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ClickActionProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ClickActionProps",title:"Interface: ClickActionProps",sidebar_label:"ClickActionProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},next:{title:"CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"}},c={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"clickAction",id:"clickaction",level:3},{value:"clickActionData",id:"clickactiondata",level:3}],d={toc:p};function s(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"ClickActionProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"FlexWidgetProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"IconWidgetProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ImageWidgetProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"OverlapWidgetProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"SvgWidgetProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TextWidgetProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"clickaction"},"clickAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,r.kt)("p",null,"There are a few special values for ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,r.kt)("p",null,"Those are:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,r.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,r.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,r.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,r.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,r.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,r.kt)("p",null,"If ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,r.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,r.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4972.38a3e4ab.js b/assets/js/4972.38a3e4ab.js deleted file mode 100644 index 21160f4..0000000 --- a/assets/js/4972.38a3e4ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[4972],{4972:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var n=a(7294),o=a(5999),l=a(1944),r=a(7961);function i(){return n.createElement(n.Fragment,null,n.createElement(l.d,{title:(0,o.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),n.createElement(r.Z,null,n.createElement("main",{className:"container margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col col--6 col--offset-3"},n.createElement("h1",{className:"hero__title"},n.createElement(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),n.createElement("p",null,n.createElement(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),n.createElement("p",null,n.createElement(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/49b00a7f.69ae74ca.js b/assets/js/49b00a7f.69ae74ca.js deleted file mode 100644 index ab42a6b..0000000 --- a/assets/js/49b00a7f.69ae74ca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5187],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),d=c(r),f=i,y=d["".concat(l,".").concat(f)]||d[f]||u[f]||a;return r?n.createElement(y,o(o({ref:t},s),{},{components:r})):n.createElement(y,o({ref:t},s))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=d;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;c<a;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},7323:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(7462),i=(r(7294),r(3905));const a={id:"OtherStyleProps",title:"Interface: OtherStyleProps",sidebar_label:"OtherStyleProps",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"public-api/interfaces/OtherStyleProps",id:"public-api/interfaces/OtherStyleProps",title:"Interface: OtherStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OtherStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OtherStyleProps",title:"Interface: OtherStyleProps",sidebar_label:"OtherStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},next:{title:"OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"}},l={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"rotation",id:"rotation",level:3}],s={toc:c};function u(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"OtherStyleProps"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,i.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"rotation"},"rotation"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"rotation"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/49b00a7f.fcdcb0c2.js b/assets/js/49b00a7f.fcdcb0c2.js new file mode 100644 index 0000000..1dd873f --- /dev/null +++ b/assets/js/49b00a7f.fcdcb0c2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5187],{3526:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var i=r(5893),n=r(1151);const o={id:"OtherStyleProps",title:"Interface: OtherStyleProps",sidebar_label:"OtherStyleProps",sidebar_position:0,custom_edit_url:null},s=void 0,a={id:"public-api/interfaces/OtherStyleProps",title:"Interface: OtherStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/OtherStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"OtherStyleProps",title:"Interface: OtherStyleProps",sidebar_label:"OtherStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},next:{title:"OverlapWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps"}},c={},l=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"rotation",id:"rotation",level:3}];function d(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.code,{children:"OtherStyleProps"})})}),"\n",(0,i.jsxs)(t.p,{children:["\u21b3 ",(0,i.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,i.jsx)(t.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(t.h3,{id:"rotation",children:"rotation"}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.code,{children:"Optional"})," ",(0,i.jsx)(t.strong,{children:"rotation"}),": ",(0,i.jsx)(t.code,{children:"number"})]})]})}function p(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>a,a:()=>s});var i=r(7294);const n={},o=i.createContext(n);function s(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4b7010bf.5e24f586.js b/assets/js/4b7010bf.5e24f586.js deleted file mode 100644 index 9584081..0000000 --- a/assets/js/4b7010bf.5e24f586.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5710],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),s=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=s(e.components);return r.createElement(l.Provider,{value:t},e.children)},g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,p=d(e,["components","mdxType","originalType","parentName"]),c=s(n),m=a,u=c["".concat(l,".").concat(m)]||c[m]||g[m]||i;return n?r.createElement(u,o(o({ref:t},p),{},{components:n})):r.createElement(u,o({ref:t},p))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=c;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:a,o[1]=d;for(var s=2;s<i;s++)o[s]=n[s];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}c.displayName="MDXCreateElement"},1769:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>g,frontMatter:()=>i,metadata:()=>d,toc:()=>s});var r=n(7462),a=(n(7294),n(3905));const i={sidebar_position:3},o="Register task handler",d={unversionedId:"tutorial/register-task-handler",id:"tutorial/register-task-handler",title:"Register task handler",description:"We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.",source:"@site/docs/tutorial/register-task-handler.md",sourceDirName:"tutorial",slug:"/tutorial/register-task-handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-task-handler.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"Widget Preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview"},next:{title:"Register widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget"}},l={},s=[{value:"Create task handler function",id:"create-task-handler-function",level:2},{value:"Register widget task handler",id:"register-widget-task-handler",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Next steps",id:"next-steps",level:2}],p={toc:s};function g(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"register-task-handler"},"Register task handler"),(0,a.kt)("p",null,"We designed and previewed our widget. Now we need to register a ",(0,a.kt)("em",{parentName:"p"},"task handler")," that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks."),(0,a.kt)("h2",{id:"create-task-handler-function"},"Create task handler function"),(0,a.kt)("p",null,"First, create a task handler function, containing:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="widget-task-handler.tsx"',title:'"widget-task-handler.tsx"'},"import React from 'react';\nimport type { WidgetTaskHandlerProps } from 'react-native-android-widget';\nimport { HelloWidget } from './HelloWidget';\n\nconst nameToWidget = {\n // Hello will be the **name** with which we will reference our widget.\n Hello: HelloWidget,\n};\n\nexport async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n const widgetInfo = props.widgetInfo;\n const Widget =\n nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];\n\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_UPDATE':\n // Not needed for now\n break;\n\n case 'WIDGET_RESIZED':\n // Not needed for now\n break;\n\n case 'WIDGET_DELETED':\n // Not needed for now\n break;\n\n case 'WIDGET_CLICK':\n // Not needed for now\n break;\n\n default:\n break;\n }\n}\n")),(0,a.kt)("p",null,"We use ",(0,a.kt)("inlineCode",{parentName:"p"},"nameToWidget")," to map from the ",(0,a.kt)("strong",{parentName:"p"},"name")," to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this."),(0,a.kt)("h2",{id:"register-widget-task-handler"},"Register widget task handler"),(0,a.kt)("p",null,"In the main ",(0,a.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"index.tsx"),") file for our app, when we register the main component, register the widget task handler."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { AppRegistry } from 'react-native';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n")),(0,a.kt)("h2",{id:"register-widget-task-handler-expo"},"Register widget task handler (Expo)"),(0,a.kt)("p",null,"If we are using Expo, there is no ",(0,a.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"index.tsx"),"), but we can create it."),(0,a.kt)("p",null,"First, update ",(0,a.kt)("inlineCode",{parentName:"p"},"package.json")," main field to point to ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},".js"),") instead of ",(0,a.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="package.json"',title:'"package.json"'},'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n')),(0,a.kt)("p",null,"Create the file, using ",(0,a.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")," as a template.\nThen import ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetTaskHandler")," and register it."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { registerRootComponent } from 'expo';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n")),(0,a.kt)("h2",{id:"next-steps"},"Next steps"),(0,a.kt)("p",null,"We designed our widget, saw the preview, and registered a handler that will handle adding it to the home screen."),(0,a.kt)("p",null,"We still need to tell the application that there is a widget called ",(0,a.kt)("inlineCode",{parentName:"p"},"Hello"),"."),(0,a.kt)("p",null,"Continue with:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"./register-widget"},"Register widget")," if you are using React Native bare"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"./register-widget-expo"},"Register widget in Expo")," if you are using Expo")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4b7010bf.cdfc4910.js b/assets/js/4b7010bf.cdfc4910.js new file mode 100644 index 0000000..c1af2b0 --- /dev/null +++ b/assets/js/4b7010bf.cdfc4910.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5710],{3348:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>g,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var i=n(5893),r=n(1151);const s={sidebar_position:3},a="Register task handler",d={id:"tutorial/register-task-handler",title:"Register task handler",description:"We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.",source:"@site/docs/tutorial/register-task-handler.md",sourceDirName:"tutorial",slug:"/tutorial/register-task-handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-task-handler.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"Widget Preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview"},next:{title:"Register widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget"}},o={},l=[{value:"Create task handler function",id:"create-task-handler-function",level:2},{value:"Register widget task handler",id:"register-widget-task-handler",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Next steps",id:"next-steps",level:2}];function c(e){const t={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"register-task-handler",children:"Register task handler"}),"\n",(0,i.jsxs)(t.p,{children:["We designed and previewed our widget. Now we need to register a ",(0,i.jsx)(t.em,{children:"task handler"})," that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks."]}),"\n",(0,i.jsx)(t.h2,{id:"create-task-handler-function",children:"Create task handler function"}),"\n",(0,i.jsx)(t.p,{children:"First, create a task handler function, containing:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="widget-task-handler.tsx"',children:"import React from 'react';\nimport type { WidgetTaskHandlerProps } from 'react-native-android-widget';\nimport { HelloWidget } from './HelloWidget';\n\nconst nameToWidget = {\n // Hello will be the **name** with which we will reference our widget.\n Hello: HelloWidget,\n};\n\nexport async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n const widgetInfo = props.widgetInfo;\n const Widget =\n nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];\n\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_UPDATE':\n // Not needed for now\n break;\n\n case 'WIDGET_RESIZED':\n // Not needed for now\n break;\n\n case 'WIDGET_DELETED':\n // Not needed for now\n break;\n\n case 'WIDGET_CLICK':\n // Not needed for now\n break;\n\n default:\n break;\n }\n}\n"})}),"\n",(0,i.jsxs)(t.p,{children:["We use ",(0,i.jsx)(t.code,{children:"nameToWidget"})," to map from the ",(0,i.jsx)(t.strong,{children:"name"})," to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this."]}),"\n",(0,i.jsx)(t.h2,{id:"register-widget-task-handler",children:"Register widget task handler"}),"\n",(0,i.jsxs)(t.p,{children:["In the main ",(0,i.jsx)(t.code,{children:"index.js"})," (or ",(0,i.jsx)(t.code,{children:"index.ts"}),", ",(0,i.jsx)(t.code,{children:"index.tsx"}),") file for our app, when we register the main component, register the widget task handler."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="index.ts"',children:"import { AppRegistry } from 'react-native';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n"})}),"\n",(0,i.jsx)(t.h2,{id:"register-widget-task-handler-expo",children:"Register widget task handler (Expo)"}),"\n",(0,i.jsxs)(t.p,{children:["If we are using Expo, there is no ",(0,i.jsx)(t.code,{children:"index.js"})," (or ",(0,i.jsx)(t.code,{children:"index.ts"}),", ",(0,i.jsx)(t.code,{children:"index.tsx"}),"), but we can create it."]}),"\n",(0,i.jsxs)(t.p,{children:["First, update ",(0,i.jsx)(t.code,{children:"package.json"})," main field to point to ",(0,i.jsx)(t.code,{children:"index.ts"})," (or ",(0,i.jsx)(t.code,{children:".js"}),") instead of ",(0,i.jsx)(t.code,{children:"node_modules/expo/AppEntry.js"})]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="package.json"',children:'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n'})}),"\n",(0,i.jsxs)(t.p,{children:["Create the file, using ",(0,i.jsx)(t.code,{children:"node_modules/expo/AppEntry.js"})," as a template.\nThen import ",(0,i.jsx)(t.code,{children:"widgetTaskHandler"})," and register it."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="index.ts"',children:"import { registerRootComponent } from 'expo';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n"})}),"\n",(0,i.jsx)(t.h2,{id:"next-steps",children:"Next steps"}),"\n",(0,i.jsx)(t.p,{children:"We designed our widget, saw the preview, and registered a handler that will handle adding it to the home screen."}),"\n",(0,i.jsxs)(t.p,{children:["We still need to tell the application that there is a widget called ",(0,i.jsx)(t.code,{children:"Hello"}),"."]}),"\n",(0,i.jsx)(t.p,{children:"Continue with:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.a,{href:"./register-widget",children:"Register widget"})," if you are using React Native bare"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.a,{href:"./register-widget-expo",children:"Register widget in Expo"})," if you are using Expo"]}),"\n"]})]})}function g(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>a});var i=n(7294);const r={},s=i.createContext(r);function a(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5b19e069.0e7de974.js b/assets/js/5b19e069.0e7de974.js deleted file mode 100644 index 1b9a2e7..0000000 --- a/assets/js/5b19e069.0e7de974.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1408],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=r.createContext({}),l=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=l(e.components);return r.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,s=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=l(n),m=i,f=u["".concat(s,".").concat(m)]||u[m]||c[m]||a;return n?r.createElement(f,o(o({ref:t},d),{},{components:n})):r.createElement(f,o({ref:t},d))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=u;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var l=2;l<a;l++)o[l]=n[l];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},7212:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>p,toc:()=>l});var r=n(7462),i=(n(7294),n(3905));const a={sidebar_position:5},o="TextWidget",p={unversionedId:"primitives/text-widget",id:"primitives/text-widget",title:"TextWidget",description:"Widget for displaying text.",source:"@site/docs/primitives/text-widget.md",sourceDirName:"primitives",slug:"/primitives/text-widget",permalink:"/react-native-android-widget/docs/primitives/text-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/text-widget.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"default",previous:{title:"ImageWidget",permalink:"/react-native-android-widget/docs/primitives/image-widget"},next:{title:"IconWidget",permalink:"/react-native-android-widget/docs/primitives/icon-widget"}},s={},l=[{value:"Usage",id:"usage",level:2},{value:"Fonts",id:"fonts",level:2},{value:"Bare React Native",id:"bare-react-native",level:3},{value:"Expo",id:"expo",level:3},{value:"Example",id:"example",level:2},{value:"Props",id:"props",level:2}],d={toc:l};function c(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"textwidget"},"TextWidget"),(0,i.kt)("p",null,"Widget for displaying text."),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-tsx"},"import { FlexWidget, TextWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <TextWidget\n text=\"Hello\"\n style={{\n fontSize: 32,\n fontFamily: 'Inter',\n color: '#000000',\n }}\n />\n </FlexWidget>\n );\n}\n")),(0,i.kt)("h2",{id:"fonts"},"Fonts"),(0,i.kt)("p",null,"Text widget supports custom fonts, but we must provide the font file."),(0,i.kt)("h3",{id:"bare-react-native"},"Bare React Native"),(0,i.kt)("p",null,"To use a custom font in bare React Native app we must copy the font file(s) to ",(0,i.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts"),". The ",(0,i.kt)("inlineCode",{parentName:"p"},"fontFamily")," style prop will match the file by name."),(0,i.kt)("p",null,"For example, ",(0,i.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts/Inter.ttf")),(0,i.kt)("h3",{id:"expo"},"Expo"),(0,i.kt)("p",null,"To use a custom font in an Expo app, we can add them in the assets directory."),(0,i.kt)("p",null,"For example, ",(0,i.kt)("inlineCode",{parentName:"p"},"assets/fonts/Inter.ttf")),(0,i.kt)("p",null,"Then, when using the config plugin we must provide a list of all the custom fonts we need."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-ts"},"export default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [\n ['react-native-android-widget', {\n fonts: ['./assets/fonts/Inter.ttf'],\n widgets: [...],\n }]\n ],\n});\n")),(0,i.kt)("h2",{id:"example"},"Example"),(0,i.kt)("p",null,"Check the ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/widgets/RotatedWidget.tsx"},"example widget")),(0,i.kt)("h2",{id:"props"},"Props"),(0,i.kt)("p",null,"Check the props in the ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/TextWidgetProps"},"Public API")," documentation"))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5b19e069.15947364.js b/assets/js/5b19e069.15947364.js new file mode 100644 index 0000000..f78114c --- /dev/null +++ b/assets/js/5b19e069.15947364.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1408],{9513:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>p,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var i=n(5893),s=n(1151);const o={sidebar_position:5},r="TextWidget",d={id:"primitives/text-widget",title:"TextWidget",description:"Widget for displaying text.",source:"@site/docs/primitives/text-widget.md",sourceDirName:"primitives",slug:"/primitives/text-widget",permalink:"/react-native-android-widget/docs/primitives/text-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/text-widget.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"default",previous:{title:"ImageWidget",permalink:"/react-native-android-widget/docs/primitives/image-widget"},next:{title:"IconWidget",permalink:"/react-native-android-widget/docs/primitives/icon-widget"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Fonts",id:"fonts",level:2},{value:"Bare React Native",id:"bare-react-native",level:3},{value:"Expo",id:"expo",level:3},{value:"Example",id:"example",level:2},{value:"Props",id:"props",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"textwidget",children:"TextWidget"}),"\n",(0,i.jsx)(t.p,{children:"Widget for displaying text."}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",children:"import { FlexWidget, TextWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <TextWidget\n text=\"Hello\"\n style={{\n fontSize: 32,\n fontFamily: 'Inter',\n color: '#000000',\n }}\n />\n </FlexWidget>\n );\n}\n"})}),"\n",(0,i.jsx)(t.h2,{id:"fonts",children:"Fonts"}),"\n",(0,i.jsx)(t.p,{children:"Text widget supports custom fonts, but we must provide the font file."}),"\n",(0,i.jsx)(t.h3,{id:"bare-react-native",children:"Bare React Native"}),"\n",(0,i.jsxs)(t.p,{children:["To use a custom font in bare React Native app we must copy the font file(s) to ",(0,i.jsx)(t.code,{children:"android/app/src/main/assets/fonts"}),". The ",(0,i.jsx)(t.code,{children:"fontFamily"})," style prop will match the file by name."]}),"\n",(0,i.jsxs)(t.p,{children:["For example, ",(0,i.jsx)(t.code,{children:"android/app/src/main/assets/fonts/Inter.ttf"})]}),"\n",(0,i.jsx)(t.h3,{id:"expo",children:"Expo"}),"\n",(0,i.jsx)(t.p,{children:"To use a custom font in an Expo app, we can add them in the assets directory."}),"\n",(0,i.jsxs)(t.p,{children:["For example, ",(0,i.jsx)(t.code,{children:"assets/fonts/Inter.ttf"})]}),"\n",(0,i.jsx)(t.p,{children:"Then, when using the config plugin we must provide a list of all the custom fonts we need."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"export default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [\n ['react-native-android-widget', {\n fonts: ['./assets/fonts/Inter.ttf'],\n widgets: [...],\n }]\n ],\n});\n"})}),"\n",(0,i.jsx)(t.h2,{id:"example",children:"Example"}),"\n",(0,i.jsxs)(t.p,{children:["Check the ",(0,i.jsx)(t.a,{href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/widgets/RotatedWidget.tsx",children:"example widget"})]}),"\n",(0,i.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,i.jsxs)(t.p,{children:["Check the props in the ",(0,i.jsx)(t.a,{href:"/docs/public-api/interfaces/TextWidgetProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>r});var i=n(7294);const s={},o=i.createContext(s);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d454204.02dc3d4e.js b/assets/js/5d454204.02dc3d4e.js deleted file mode 100644 index 0128d18..0000000 --- a/assets/js/5d454204.02dc3d4e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3814],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var o=n.createContext({}),d=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),k=d(r),u=a,m=k["".concat(o,".").concat(u)]||k[u]||s[u]||i;return r?n.createElement(m,l(l({ref:t},c),{},{components:r})):n.createElement(m,l({ref:t},c))}));function u(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,l=new Array(i);l[0]=k;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d<i;d++)l[d]=r[d];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}k.displayName="MDXCreateElement"},377:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var n=r(7462),a=(r(7294),r(3905));const i={id:"WidgetPreviewProps",title:"Interface: WidgetPreviewProps",sidebar_label:"WidgetPreviewProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"public-api/interfaces/WidgetPreviewProps",id:"public-api/interfaces/WidgetPreviewProps",title:"Interface: WidgetPreviewProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetPreviewProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetPreviewProps",title:"Interface: WidgetPreviewProps",sidebar_label:"WidgetPreviewProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},next:{title:"WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"}},o={},d=[{value:"Properties",id:"properties",level:2},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3},{value:"onClick",id:"onclick",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"showBorder",id:"showborder",level:3},{value:"highlightClickableAreas",id:"highlightclickableareas",level:3}],c={toc:d};function s(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"renderwidget"},"renderWidget"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renderWidget"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,a.kt)("inlineCode",{parentName:"p"},"width"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"height"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," }) => ",(0,a.kt)("inlineCode",{parentName:"p"},"Element")),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"Element")),(0,a.kt)("p",null,"Callback function that will be called by ",(0,a.kt)("inlineCode",{parentName:"p"},"WidgetPreview")," to generate the widget UI."),(0,a.kt)("h5",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"Object"))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props.width")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"number"))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props.height")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"number"))))),(0,a.kt)("h5",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"Element")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"height"},"height"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"height"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"The height of the widget"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"width"},"width"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"width"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"The width of the widget"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"onclick"},"onClick"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"onClick"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"OnClick"),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("p",null,"Callback function that will be called when clicked on a clickable area of the widget."),(0,a.kt)("h5",{id:"parameters-1"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"OnClick"))))),(0,a.kt)("h5",{id:"returns-1"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"showborder"},"showBorder"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"showBorder"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("p",null,"Whether to show a border around the widget. Usefull for widgets that do not use the whole space."),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"highlightclickableareas"},"highlightClickableAreas"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"highlightClickableAreas"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("p",null,"Whether to add a highlight to the clickable areas"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5d454204.2c28231e.js b/assets/js/5d454204.2c28231e.js new file mode 100644 index 0000000..b7da929 --- /dev/null +++ b/assets/js/5d454204.2c28231e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3814],{8943:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>d,metadata:()=>s,toc:()=>h});var r=t(5893),n=t(1151);const d={id:"WidgetPreviewProps",title:"Interface: WidgetPreviewProps",sidebar_label:"WidgetPreviewProps",sidebar_position:0,custom_edit_url:null},l=void 0,s={id:"public-api/interfaces/WidgetPreviewProps",title:"Interface: WidgetPreviewProps",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetPreviewProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetPreviewProps",title:"Interface: WidgetPreviewProps",sidebar_label:"WidgetPreviewProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},next:{title:"WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"}},c={},h=[{value:"Properties",id:"properties",level:2},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3},{value:"onClick",id:"onclick",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"showBorder",id:"showborder",level:3},{value:"highlightClickableAreas",id:"highlightclickableareas",level:3}];function o(e){const i={code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"renderwidget",children:"renderWidget"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"renderWidget"}),": (",(0,r.jsx)(i.code,{children:"props"}),": { ",(0,r.jsx)(i.code,{children:"width"}),": ",(0,r.jsx)(i.code,{children:"number"})," ; ",(0,r.jsx)(i.code,{children:"height"}),": ",(0,r.jsx)(i.code,{children:"number"})," }) => ",(0,r.jsx)(i.code,{children:"Element"})]}),"\n",(0,r.jsxs)(i.p,{children:["Callback function that will be called by ",(0,r.jsx)(i.code,{children:"WidgetPreview"})," to generate the widget UI."]}),"\n",(0,r.jsx)(i.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,r.jsxs)(i.p,{children:["\u25b8 (",(0,r.jsx)(i.code,{children:"props"}),"): ",(0,r.jsx)(i.code,{children:"Element"})]}),"\n",(0,r.jsxs)(i.p,{children:["Callback function that will be called by ",(0,r.jsx)(i.code,{children:"WidgetPreview"})," to generate the widget UI."]}),"\n",(0,r.jsx)(i.h5,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(i.table,{children:[(0,r.jsx)(i.thead,{children:(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsxs)(i.tbody,{children:[(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"props"})}),(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"Object"})})]}),(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"props.width"})}),(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"number"})})]}),(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"props.height"})}),(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"number"})})]})]})]}),"\n",(0,r.jsx)(i.h5,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.code,{children:"Element"})}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"height",children:"height"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"height"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.p,{children:"The height of the widget"}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"width",children:"width"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"width"}),": ",(0,r.jsx)(i.code,{children:"number"})]}),"\n",(0,r.jsx)(i.p,{children:"The width of the widget"}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"onclick",children:"onClick"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"onClick"}),": (",(0,r.jsx)(i.code,{children:"props"}),": ",(0,r.jsx)(i.code,{children:"OnClick"}),") => ",(0,r.jsx)(i.code,{children:"void"})]}),"\n",(0,r.jsx)(i.p,{children:"Callback function that will be called when clicked on a clickable area of the widget."}),"\n",(0,r.jsx)(i.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,r.jsxs)(i.p,{children:["\u25b8 (",(0,r.jsx)(i.code,{children:"props"}),"): ",(0,r.jsx)(i.code,{children:"void"})]}),"\n",(0,r.jsx)(i.p,{children:"Callback function that will be called when clicked on a clickable area of the widget."}),"\n",(0,r.jsx)(i.h5,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(i.table,{children:[(0,r.jsx)(i.thead,{children:(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.th,{style:{textAlign:"left"},children:"Name"}),(0,r.jsx)(i.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,r.jsx)(i.tbody,{children:(0,r.jsxs)(i.tr,{children:[(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"props"})}),(0,r.jsx)(i.td,{style:{textAlign:"left"},children:(0,r.jsx)(i.code,{children:"OnClick"})})]})})]}),"\n",(0,r.jsx)(i.h5,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.code,{children:"void"})}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"showborder",children:"showBorder"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"showBorder"}),": ",(0,r.jsx)(i.code,{children:"boolean"})]}),"\n",(0,r.jsx)(i.p,{children:"Whether to show a border around the widget. Usefull for widgets that do not use the whole space."}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"highlightclickableareas",children:"highlightClickableAreas"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"highlightClickableAreas"}),": ",(0,r.jsx)(i.code,{children:"boolean"})]}),"\n",(0,r.jsx)(i.p,{children:"Whether to add a highlight to the clickable areas"})]})}function a(e={}){const{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},1151:(e,i,t)=>{t.d(i,{Z:()=>s,a:()=>l});var r=t(7294);const n={},d=r.createContext(n);function l(e){const i=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(d.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/5d5554be.5dcec4c9.js b/assets/js/5d5554be.5dcec4c9.js deleted file mode 100644 index a615303..0000000 --- a/assets/js/5d5554be.5dcec4c9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3667],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var o=n.createContext({}),d=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=d(r),m=a,k=u["".concat(o,".").concat(m)]||u[m]||c[m]||i;return r?n.createElement(k,l(l({ref:t},s),{},{components:r})):n.createElement(k,l({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,l=new Array(i);l[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d<i;d++)l[d]=r[d];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},9331:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var n=r(7462),a=(r(7294),r(3905));const i={id:"FlexWidget",title:"Namespace: FlexWidget",sidebar_label:"FlexWidget",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"public-api/namespaces/FlexWidget",id:"public-api/namespaces/FlexWidget",title:"Namespace: FlexWidget",description:"Variables",source:"@site/docs/public-api/namespaces/FlexWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/FlexWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/FlexWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidget",title:"Namespace: FlexWidget",sidebar_label:"FlexWidget",sidebar_position:0,custom_edit_url:null}},o={},d=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"processChildren",id:"processchildren",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4}],s={toc:d};function c(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"FlexWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"FlexWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"FlexWidgetInternalProps")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"processchildren"},"processChildren"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"processChildren"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"\xabdestructured\xbb"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"children"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"any"),"[]"),(0,a.kt)("h4",{id:"parameters-1"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"\xabdestructured\xbb")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"FlexWidgetProps")))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"children")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"any"),"[]")))),(0,a.kt)("h4",{id:"returns-1"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"any"),"[]"))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.f07c34e3.js b/assets/js/5e95c892.f07c34e3.js new file mode 100644 index 0000000..91803df --- /dev/null +++ b/assets/js/5e95c892.f07c34e3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9661],{1892:(e,r,a)=>{a.r(r),a.d(r,{default:()=>u});a(7294);var s=a(512),d=a(1944),t=a(5281),c=a(8790),n=a(6040),i=a(5893);function u(e){return(0,i.jsx)(d.FG,{className:(0,s.Z)(t.k.wrapper.docsPages),children:(0,i.jsx)(n.Z,{children:(0,c.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/70097127.889666fc.js b/assets/js/70097127.889666fc.js deleted file mode 100644 index 1efca66..0000000 --- a/assets/js/70097127.889666fc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1744],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),p=l(r),f=o,y=p["".concat(u,".").concat(f)]||p[f]||d[f]||i;return r?n.createElement(y,a(a({ref:t},s),{},{components:r})):n.createElement(y,a({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=p;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var l=2;l<i;l++)a[l]=r[l];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}p.displayName="MDXCreateElement"},5098:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var n=r(7462),o=(r(7294),r(3905));const i={sidebar_position:7},a="Try it out",c={unversionedId:"tutorial/try-it-our",id:"tutorial/try-it-our",title:"Try it out",description:"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.",source:"@site/docs/tutorial/try-it-our.md",sourceDirName:"tutorial",slug:"/tutorial/try-it-our",permalink:"/react-native-android-widget/docs/tutorial/try-it-our",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/try-it-our.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"default",previous:{title:"Make Widget configurable (Optional)",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable"},next:{title:"Congratulations!",permalink:"/react-native-android-widget/docs/tutorial/congratulations"}},u={},l=[],s={toc:l};function d(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"try-it-out"},"Try it out"),(0,o.kt)("p",null,"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen."),(0,o.kt)("p",null,"If everything was successful, you should see it in the widget picker, and be able to drop it on the home screen."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/70097127.e0004669.js b/assets/js/70097127.e0004669.js new file mode 100644 index 0000000..666b7ce --- /dev/null +++ b/assets/js/70097127.e0004669.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1744],{4115:(t,e,r)=>{r.r(e),r.d(e,{assets:()=>d,contentTitle:()=>a,default:()=>l,frontMatter:()=>n,metadata:()=>s,toc:()=>c});var i=r(5893),o=r(1151);const n={sidebar_position:7},a="Try it out",s={id:"tutorial/try-it-our",title:"Try it out",description:"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.",source:"@site/docs/tutorial/try-it-our.md",sourceDirName:"tutorial",slug:"/tutorial/try-it-our",permalink:"/react-native-android-widget/docs/tutorial/try-it-our",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/try-it-our.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"default",previous:{title:"Make Widget configurable (Optional)",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable"},next:{title:"Congratulations!",permalink:"/react-native-android-widget/docs/tutorial/congratulations"}},d={},c=[];function u(t){const e={h1:"h1",p:"p",...(0,o.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.h1,{id:"try-it-out",children:"Try it out"}),"\n",(0,i.jsx)(e.p,{children:"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen."}),"\n",(0,i.jsx)(e.p,{children:"If everything was successful, you should see it in the widget picker, and be able to drop it on the home screen."})]})}function l(t={}){const{wrapper:e}={...(0,o.a)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(u,{...t})}):u(t)}},1151:(t,e,r)=>{r.d(e,{Z:()=>s,a:()=>a});var i=r(7294);const o={},n=i.createContext(o);function a(t){const e=i.useContext(n);return i.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:a(t.components),i.createElement(n.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/7135efbc.014508c3.js b/assets/js/7135efbc.014508c3.js new file mode 100644 index 0000000..1529c32 --- /dev/null +++ b/assets/js/7135efbc.014508c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7071],{8285:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/FlexWidgetStyle",title:"Interface: FlexWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},next:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"flex",id:"flex",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"flexDirection",id:"flexdirection",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"alignItems",id:"alignitems",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"justifyContent",id:"justifycontent",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"flexGap",id:"flexgap",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"flexGapColor",id:"flexgapcolor",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"overflow",id:"overflow",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-41",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"FlexStyleProps"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"FlexWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"flex",children:"flex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexdirection",children:"flexDirection"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexDirection"}),": ",(0,n.jsx)(r.code,{children:'"row"'})," | ",(0,n.jsx)(r.code,{children:'"column"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexDirection"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"alignitems",children:"alignItems"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"alignItems"}),": ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})," | ",(0,n.jsx)(r.code,{children:'"center"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.alignItems"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"justifycontent",children:"justifyContent"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"justifyContent"}),": ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})," | ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"space-between"'})," | ",(0,n.jsx)(r.code,{children:'"space-around"'})," | ",(0,n.jsx)(r.code,{children:'"space-evenly"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.justifyContent"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgap",children:"flexGap"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGap"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGap"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgapcolor",children:"flexGapColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGapColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGapColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"overflow",children:"overflow"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"overflow"}),": ",(0,n.jsx)(r.code,{children:'"hidden"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.overflow"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-35",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-36",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-37",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-38",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-39",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-40",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-41",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7135efbc.2352fcb2.js b/assets/js/7135efbc.2352fcb2.js deleted file mode 100644 index e1bb127..0000000 --- a/assets/js/7135efbc.2352fcb2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7071],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>c});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var d=i.createContext({}),p=function(e){var t=i.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},m=function(e){var t=p(e.components);return i.createElement(d.Provider,{value:t},e.children)},h={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},k=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),k=p(r),c=n,f=k["".concat(d,".").concat(c)]||k[c]||h[c]||a;return r?i.createElement(f,o(o({ref:t},m),{},{components:r})):i.createElement(f,o({ref:t},m))}));function c(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=k;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:n,o[1]=l;for(var p=2;p<a;p++)o[p]=r[p];return i.createElement.apply(null,o)}return i.createElement.apply(null,r)}k.displayName="MDXCreateElement"},4376:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var i=r(7462),n=(r(7294),r(3905));const a={id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/FlexWidgetStyle",id:"public-api/interfaces/FlexWidgetStyle",title:"Interface: FlexWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},next:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"}},d={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"flex",id:"flex",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"flexDirection",id:"flexdirection",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"alignItems",id:"alignitems",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"justifyContent",id:"justifycontent",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"flexGap",id:"flexgap",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"flexGapColor",id:"flexgapcolor",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"overflow",id:"overflow",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-41",level:4}],m={toc:p};function h(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("inlineCode",{parentName:"p"},"FlexStyleProps"))),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"FlexWidgetStyle"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"flex"},"flex"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"flex"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.flex"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"flexdirection"},"flexDirection"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"flexDirection"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"row"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"column"')),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.flexDirection"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"alignitems"},"alignItems"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"alignItems"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"flex-start"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"flex-end"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"center"')),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.alignItems"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"justifycontent"},"justifyContent"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"justifyContent"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"flex-start"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"flex-end"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"center"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"space-between"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"space-around"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"space-evenly"')),(0,n.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.justifyContent"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"flexgap"},"flexGap"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"flexGap"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.flexGap"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"flexgapcolor"},"flexGapColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"flexGapColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.flexGapColor"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"overflow"},"overflow"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"overflow"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"hidden"')),(0,n.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,n.kt)("p",null,"FlexStyleProps.overflow"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margin"},"margin"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"margin"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin"},"margin")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal"},"marginHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical"},"marginVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margintop"},"marginTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop"},"marginTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom"},"marginBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginleft"},"marginLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft"},"marginLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginright"},"marginRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright"},"marginRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"padding"},"padding"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"padding"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding"},"padding")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal"},"paddingHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical"},"paddingVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop"},"paddingTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom"},"paddingBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft"},"paddingLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingright"},"paddingRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright"},"paddingRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"height"},"height"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"height"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height"},"height")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"width"},"width"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"width"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width"},"width")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor"},"backgroundColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Object")),(0,n.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"from")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"to")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"orientation")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,n.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient"},"backgroundGradient")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth"},"borderWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth"},"borderTopWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth"},"borderBottomWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth"},"borderLeftWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth"},"borderRightWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordercolor"},"borderColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor"},"borderColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor"},"borderTopColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor"},"borderBottomColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor"},"borderLeftColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor"},"borderRightColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderradius"},"borderRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius"},"borderRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius"},"borderTopLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius"},"borderTopRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius"},"borderBottomLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius"},"borderBottomRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,n.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle"},"borderStyle")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"rotation"},"rotation"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"rotation"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation"},"rotation")))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/730f732a.53c7e01b.js b/assets/js/730f732a.53c7e01b.js new file mode 100644 index 0000000..beebee9 --- /dev/null +++ b/assets/js/730f732a.53c7e01b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8998],{1382:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>s,contentTitle:()=>a,default:()=>p,frontMatter:()=>t,metadata:()=>l,toc:()=>o});var d=n(5893),r=n(1151);const t={id:"PaddingStyleProps",title:"Interface: PaddingStyleProps",sidebar_label:"PaddingStyleProps",sidebar_position:0,custom_edit_url:null},a=void 0,l={id:"public-api/interfaces/PaddingStyleProps",title:"Interface: PaddingStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/PaddingStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PaddingStyleProps",title:"Interface: PaddingStyleProps",sidebar_label:"PaddingStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"},next:{title:"RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"}},s={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"padding",id:"padding",level:3},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"paddingTop",id:"paddingtop",level:3},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"paddingLeft",id:"paddingleft",level:3},{value:"paddingRight",id:"paddingright",level:3}];function c(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(i.ul,{children:["\n",(0,d.jsxs)(i.li,{children:["\n",(0,d.jsx)(i.p,{children:(0,d.jsx)(i.strong,{children:(0,d.jsx)(i.code,{children:"PaddingStyleProps"})})}),"\n",(0,d.jsxs)(i.p,{children:["\u21b3 ",(0,d.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,d.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(i.h3,{id:"padding",children:"padding"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"padding"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingHorizontal"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingVertical"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingTop"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingBottom"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingLeft"}),": ",(0,d.jsx)(i.code,{children:"number"})]}),"\n",(0,d.jsx)(i.hr,{}),"\n",(0,d.jsx)(i.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,d.jsxs)(i.p,{children:["\u2022 ",(0,d.jsx)(i.code,{children:"Optional"})," ",(0,d.jsx)(i.strong,{children:"paddingRight"}),": ",(0,d.jsx)(i.code,{children:"number"})]})]})}function p(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,d.jsx)(i,{...e,children:(0,d.jsx)(c,{...e})}):c(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>l,a:()=>a});var d=n(7294);const r={},t=d.createContext(r);function a(e){const i=d.useContext(t);return d.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function l(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),d.createElement(t.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/730f732a.79713d87.js b/assets/js/730f732a.79713d87.js deleted file mode 100644 index 894f472..0000000 --- a/assets/js/730f732a.79713d87.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8998],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>g});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=r.createContext({}),o=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},c=function(e){var t=o(e.components);return r.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,c=d(e,["components","mdxType","originalType","parentName"]),s=o(n),g=i,m=s["".concat(l,".").concat(g)]||s[g]||u[g]||a;return n?r.createElement(m,p(p({ref:t},c),{},{components:n})):r.createElement(m,p({ref:t},c))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,p=new Array(a);p[0]=s;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:i,p[1]=d;for(var o=2;o<a;o++)p[o]=n[o];return r.createElement.apply(null,p)}return r.createElement.apply(null,n)}s.displayName="MDXCreateElement"},8505:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>u,frontMatter:()=>a,metadata:()=>d,toc:()=>o});var r=n(7462),i=(n(7294),n(3905));const a={id:"PaddingStyleProps",title:"Interface: PaddingStyleProps",sidebar_label:"PaddingStyleProps",sidebar_position:0,custom_edit_url:null},p=void 0,d={unversionedId:"public-api/interfaces/PaddingStyleProps",id:"public-api/interfaces/PaddingStyleProps",title:"Interface: PaddingStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/PaddingStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"PaddingStyleProps",title:"Interface: PaddingStyleProps",sidebar_label:"PaddingStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"OverlapWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"},next:{title:"RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"}},l={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"padding",id:"padding",level:3},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"paddingTop",id:"paddingtop",level:3},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"paddingLeft",id:"paddingleft",level:3},{value:"paddingRight",id:"paddingright",level:3}],c={toc:o};function u(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"PaddingStyleProps"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,i.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"padding"},"padding"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"padding"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingright"},"paddingRight"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7402041a.7638dbdf.js b/assets/js/7402041a.7638dbdf.js deleted file mode 100644 index a4a786e..0000000 --- a/assets/js/7402041a.7638dbdf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9557],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>g});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.createContext({}),l=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):d(d({},t),e)),n},s=function(e){var t=l(e.components);return r.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),u=l(n),g=i,m=u["".concat(p,".").concat(g)]||u[g]||c[g]||a;return n?r.createElement(m,d(d({ref:t},s),{},{components:n})):r.createElement(m,d({ref:t},s))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,d=new Array(a);d[0]=u;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,d[1]=o;for(var l=2;l<a;l++)d[l]=n[l];return r.createElement.apply(null,d)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},8415:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>c,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var r=n(7462),i=(n(7294),n(3905));const a={sidebar_position:4,sidebar_label:"Update Widget"},d="Update Widget",o={unversionedId:"update-widget",id:"update-widget",title:"Update Widget",description:"There are two ways to update a widget once it is added on the home screen.",source:"@site/docs/update-widget.md",sourceDirName:".",slug:"/update-widget",permalink:"/react-native-android-widget/docs/update-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/update-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4,sidebar_label:"Update Widget"},sidebar:"default",previous:{title:"SvgWidget",permalink:"/react-native-android-widget/docs/primitives/svg-widget"},next:{title:"Handling Clicks",permalink:"/react-native-android-widget/docs/handling-clicks"}},p={},l=[{value:"updatePeriodMillis",id:"updateperiodmillis",level:2},{value:"requestWidgetUpdate",id:"requestwidgetupdate",level:2}],s={toc:l};function c(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"update-widget"},"Update Widget"),(0,i.kt)("p",null,"There are two ways to update a widget once it is added on the home screen."),(0,i.kt)("h2",{id:"updateperiodmillis"},"updatePeriodMillis"),(0,i.kt)("p",null,"Schedule updates using ",(0,i.kt)("inlineCode",{parentName:"p"},"android:updatePeriodMillis")," (or ",(0,i.kt)("inlineCode",{parentName:"p"},"updatePeriodMillis")," with Expo)"),(0,i.kt)("p",null,"When using this option, the ",(0,i.kt)("inlineCode",{parentName:"p"},"widgetTaskHandler")," function will be called with ",(0,i.kt)("inlineCode",{parentName:"p"},"widgetAction = 'WIDGET_UPDATE'"),", and you can use it to update the widget."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="widget-task-handler.tsx"',title:'"widget-task-handler.tsx"'},"export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n\n switch (props.widgetAction) {\n ...\n\n case 'WIDGET_UPDATE':\n props.renderWidget(<Widget />);\n break;\n\n ...\n }\n}\n")),(0,i.kt)("admonition",{title:"Note",type:"info"},(0,i.kt)("p",{parentName:"admonition"},"Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes.")),(0,i.kt)("p",null,"More details about ",(0,i.kt)("inlineCode",{parentName:"p"},"updatePeriodMillis")," on the ",(0,i.kt)("a",{parentName:"p",href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis"},"official documentation"),"."),(0,i.kt)("h2",{id:"requestwidgetupdate"},"requestWidgetUpdate"),(0,i.kt)("p",null,"You can call ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/api/request-widget-update"},(0,i.kt)("inlineCode",{parentName:"a"},"requestWidgetUpdate"))," any time when your app is open as a result of some user action, and request a widget update."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7402041a.c9221ca9.js b/assets/js/7402041a.c9221ca9.js new file mode 100644 index 0000000..46450ce --- /dev/null +++ b/assets/js/7402041a.c9221ca9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9557],{6035:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var d=i(5893),n=i(1151);const a={sidebar_position:4,sidebar_label:"Update Widget"},r="Update Widget",s={id:"update-widget",title:"Update Widget",description:"There are two ways to update a widget once it is added on the home screen.",source:"@site/docs/update-widget.md",sourceDirName:".",slug:"/update-widget",permalink:"/react-native-android-widget/docs/update-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/update-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4,sidebar_label:"Update Widget"},sidebar:"default",previous:{title:"SvgWidget",permalink:"/react-native-android-widget/docs/primitives/svg-widget"},next:{title:"Handling Clicks",permalink:"/react-native-android-widget/docs/handling-clicks"}},o={},c=[{value:"updatePeriodMillis",id:"updateperiodmillis",level:2},{value:"requestWidgetUpdate",id:"requestwidgetupdate",level:2}];function l(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,n.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.h1,{id:"update-widget",children:"Update Widget"}),"\n",(0,d.jsx)(t.p,{children:"There are two ways to update a widget once it is added on the home screen."}),"\n",(0,d.jsx)(t.h2,{id:"updateperiodmillis",children:"updatePeriodMillis"}),"\n",(0,d.jsxs)(t.p,{children:["Schedule updates using ",(0,d.jsx)(t.code,{children:"android:updatePeriodMillis"})," (or ",(0,d.jsx)(t.code,{children:"updatePeriodMillis"})," with Expo)"]}),"\n",(0,d.jsxs)(t.p,{children:["When using this option, the ",(0,d.jsx)(t.code,{children:"widgetTaskHandler"})," function will be called with ",(0,d.jsx)(t.code,{children:"widgetAction = 'WIDGET_UPDATE'"}),", and you can use it to update the widget."]}),"\n",(0,d.jsx)(t.pre,{children:(0,d.jsx)(t.code,{className:"language-js",metastring:'title="widget-task-handler.tsx"',children:"export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n\n switch (props.widgetAction) {\n ...\n\n case 'WIDGET_UPDATE':\n props.renderWidget(<Widget />);\n break;\n\n ...\n }\n}\n"})}),"\n",(0,d.jsx)(t.admonition,{title:"Note",type:"info",children:(0,d.jsx)(t.p,{children:"Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes."})}),"\n",(0,d.jsxs)(t.p,{children:["More details about ",(0,d.jsx)(t.code,{children:"updatePeriodMillis"})," on the ",(0,d.jsx)(t.a,{href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis",children:"official documentation"}),"."]}),"\n",(0,d.jsx)(t.h2,{id:"requestwidgetupdate",children:"requestWidgetUpdate"}),"\n",(0,d.jsxs)(t.p,{children:["You can call ",(0,d.jsx)(t.a,{href:"/react-native-android-widget/docs/api/request-widget-update",children:(0,d.jsx)(t.code,{children:"requestWidgetUpdate"})})," any time when your app is open as a result of some user action, and request a widget update."]})]})}function p(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>s,a:()=>r});var d=i(7294);const n={},a=d.createContext(n);function r(e){const t=d.useContext(a);return d.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),d.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/74b23640.b7ba9192.js b/assets/js/74b23640.b7ba9192.js new file mode 100644 index 0000000..e1129f4 --- /dev/null +++ b/assets/js/74b23640.b7ba9192.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2814],{9562:(A,e,t)=>{t.r(e),t.d(e,{assets:()=>a,contentTitle:()=>d,default:()=>o,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var n=t(5893),i=t(1151);const r={sidebar_position:6,sidebar_label:"Demo"},d="Demo",s={id:"demo",title:"Demo",description:"You can download the demo app with the example widgets from the Releases Page",source:"@site/docs/demo.md",sourceDirName:".",slug:"/demo",permalink:"/react-native-android-widget/docs/demo",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/demo.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,sidebar_label:"Demo"},sidebar:"default",previous:{title:"Handling Clicks",permalink:"/react-native-android-widget/docs/handling-clicks"},next:{title:"Limitations",permalink:"/react-native-android-widget/docs/limitations"}},a={},c=[{value:"Fitness Widget Preview",id:"fitness-widget-preview",level:2},{value:"List Widget Preview",id:"list-widget-preview",level:2},{value:"Resizable Music Widget Preview",id:"resizable-music-widget-preview",level:2},{value:"Rotated Widget Preview",id:"rotated-widget-preview",level:2},{value:"Shopify Widget Preview",id:"shopify-widget-preview",level:2},{value:"Click Demo Widget Preview",id:"click-demo-widget-preview",level:2},{value:"Counter Widget Preview",id:"counter-widget-preview",level:2},{value:"Configurable Widget Preview",id:"configurable-widget-preview",level:2},{value:"Debug Events Widget Preview",id:"debug-events-widget-preview",level:2}];function l(A){const e={a:"a",h1:"h1",h2:"h2",img:"img",p:"p",...(0,i.a)(),...A.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.h1,{id:"demo",children:"Demo"}),"\n",(0,n.jsxs)(e.p,{children:["You can download the demo app with the example widgets from the ",(0,n.jsx)(e.a,{href:"https://github.com/sAleksovski/react-native-android-widget/releases",children:"Releases Page"})]}),"\n",(0,n.jsx)(e.h2,{id:"fitness-widget-preview",children:"Fitness Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Fitness Widget Preview",src:t(1242).Z+"",width:"880",height:"575"})}),"\n",(0,n.jsx)(e.h2,{id:"list-widget-preview",children:"List Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"List Widget Preview",src:t(4061).Z+"",width:"880",height:"605"})}),"\n",(0,n.jsx)(e.h2,{id:"resizable-music-widget-preview",children:"Resizable Music Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Resizable Music Widget Preview",src:t(76).Z+"",width:"963",height:"886"})}),"\n",(0,n.jsx)(e.h2,{id:"rotated-widget-preview",children:"Rotated Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Rotated Widget Preview",src:t(786).Z+"",width:"553",height:"886"})}),"\n",(0,n.jsx)(e.h2,{id:"shopify-widget-preview",children:"Shopify Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Shopify Widget Preview",src:t(2248).Z+"",width:"880",height:"1100"})}),"\n",(0,n.jsx)(e.h2,{id:"click-demo-widget-preview",children:"Click Demo Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Click Demo Widget Preview",src:t(4949).Z+"",width:"916",height:"545"})}),"\n",(0,n.jsx)(e.h2,{id:"counter-widget-preview",children:"Counter Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Counter Widget Preview",src:t(9183).Z+"",width:"825",height:"330"})}),"\n",(0,n.jsx)(e.h2,{id:"configurable-widget-preview",children:"Configurable Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Configurable Widget Preview",src:t(9183).Z+"",width:"825",height:"330"})}),"\n",(0,n.jsx)(e.h2,{id:"debug-events-widget-preview",children:"Debug Events Widget Preview"}),"\n",(0,n.jsx)(e.p,{children:(0,n.jsx)(e.img,{alt:"Debug Events Widget Preview",src:t(7974).Z+"",width:"886",height:"580"})})]})}function o(A={}){const{wrapper:e}={...(0,i.a)(),...A.components};return e?(0,n.jsx)(e,{...A,children:(0,n.jsx)(l,{...A})}):l(A)}},4949:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/clickdemo-593febb0e4f48be76bd8b38d13d988d3.png"},9183:(A,e,t)=>{t.d(e,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzkAAAFKCAYAAAA+O5FfAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7d17lJ1lYS7w502ABAomECNXgcot3ARhQeVSCVYQCwie4wGsFRDE1nUQsceztFJrbRWoUioiWqiiWBRIrQvBog1eQpGDQhGIchESxRKIGEyASJhB4D1/TIIh5DJ7Zu/59t7z+601a5LMe3nyF3l43+/bJbSk1jo9yU5Jdk6yXZLNkkxZ5esly79PbygmAADdb1GSx5d/PbHSrx9PsjjJL5Lcl+S+UsqjTYXsRaXpAN2q1vrKJHtkqNCsKDU7JZnaZC4AAMalxzJUeO5f6fvcUspdjabqUkrOcrXWPZLMXP71mjiFAQCg+y1KckOSOcu/7i6l1GYjNW/clhylBgCAPqT0ZJyVnFrr7yd5R5I/TbJtw3EAAKDT5iX5lyT/Ukr5edNhxkrfl5xa66ZJjk/ytiQHNhwHAACa8v+SXJbkX0spS5oO00l9WXJqrRskOTJDxebIJBs0mwgAALrG00m+keRLSb5ZSnm64Txt11clp9a6foauor0/yS4NxwEAgG53b5K/T/LlUspvmw7TLn1Rcmqtv5fktCT/J8k2DccBAIBesyDJeUk+V0p5sukwo9XTJafWulmSM5KcnmRaw3EAAKDX/TrJhUkuLKUsbjrMSPVkyam1Tkry3iQfTLJJw3EAAKDfLE3y0SQXlFIGmw7Tqp4rObXW/5nk40le0XQWAADocz9L8n9LKV9rOkgreqbk1FpfmeRTSQ5pOgsAAIwzNyQ5o5Qyt+kgwzGh6QDrUmt9Wa31c0luj4IDAABNOCTJ7bXWf661vqzpMOvStSc5nrsBAICu1PXP63Rlyam1bpPk6iT7Np0FAABYrduSHFtKWdB0kFV13XW1WusxSeZGwQEAgG62b5K5y//93lW6puTUWtevtX4mQyc4mzadBwAAWKdNk1xda/10rXX9psOs0BXX1Wqtr0gyK05vAACgV92W5LhSys+aDtL4SU6t9a1J7oyCAwAAvWzfJHcu//d9oxotObXWTyS5PMnGTeYAAADaYuMkl9daP9hkiMauq9VaL0lyWlP7AwAAHfXPpZR3NrHxmJecWusGSS5LcsJY7w0AAIypK5OcVEp5eiw3HdOSU2vdKMk3khw6lvsCAACN+V6So0opy8ZqwzErObXW6RkqOPuP1Z4AAEBXuCXJ4aWUx8diszEpObXWbTLU4HYci/0AAICu8+Mkf1xKWdDpjTpecmqtmyX5zyS7d3ovAACgq/0kySGllMWd3KSjJafWOinJjUn26+Q+AABAz7glyWtKKYOd2qBjn5NTa52Y5KtRcAAAgN/ZP8ms5X2hIzr5YaD/kuSoDq4PAAD0pjcm+WKnFu9Iyam1npvkLZ1YGwAA6At/urw3tF3bn8mptX4gyTntXhcAAOhL7y2lfLKdC7a15NRaD0ny3XT2GhwAANA/nkvyR6WUOe1asG0lp9b6siRzk2zerjUBAIBx4ZEkryyl/Kodi7XlxKXWWpJcFQUHAABo3eZJrlzeK0atXdfKzkkys01rAQAA48+hST7cjoVG3ZRqrUclubYNWQAAgPGtLc/njKrk1Fq3TXJnkqmjWQcAAGC5UT+fM+LrarXW9ZJ8LQoOAADQPqN+Pmc0z+S8L8m+o5gPAACwOocmef9IJ4+oHdVat0lyd5JNRroxAADAWixNslspZUGrE0d6kvPpKDgAAEDnbJKh3tGylk9yaq1HJPnmSDYDAABo0RtKKd9qZUJLJafWukGSuUl2aWUeAADACN2bZK9SytPDndDqdbUPRsEBAADGzowkf9HKhGGf5Cx/2cC8JJNaDAUAADAaLb2EoJWTnI9GwQEAAMbeJkn+ariDh3WSU2vdIsmDSdYbYSgAAIDReCrJDqWUhesaONyTnA9EwQEAAJqzYYb5AaHrPMmptU5JsnD5ogAAAE15KslWpZTH1jZoOCc5742CAwAANG/DJGeua9BaT3KWn+I8kGRqm0IBAACMxpIMneYMrGnAuk5y3hUFBwAA6B6bJvnztQ1Y40lOrXVykp8l2bLNoQAAAEbj4Qy9aW21pzlrO8n58yg4AABA99kqyclr+uHaSs6x7c8CAADQFies6Qerva5Wa90+Q1fVhvVhoQAAAGOsJtmplDJ/1R+s6STnhCg4AABA9ypJ/tfqfrC2kgMAANDNVttbXlRyaq17J9mr43EAAABGZ6/l/eUFVneSs8a3FAAAAHSZF53mvOi5m1rrr5JMH5M4AAAAozOvlLLTyn/wgpOc5Uc9Cg4AANArdlz1ytqq19VmjmEYAACAdnhBj1m15BwxhkEAAADa4QUl5/lncmqtGyR5IsmksU4EAAAwCouTvLSUUpMXnuQcGAUHAADoPZtlpY/BWbnkeB4HAADoVc8/eqPkAAAA/eD5klMSz+MAAAA9byDJ1FLK4IqTHM/jAAAAvWxykgOS311X23vNYwEAAHrC3snvSs72DQYBAABoh+2T35WcGQ0GAQAAaIcZiZIDAAD0jxlJUmqtE5I8nWRis3kAAABG5dkkG0xIsnMUHAAAoPdNTLLzhLiqBgAA9I8ZSg4AANBPZkxIskXTKQAAANpkiwkZ+mRQAACAfjB5QpKpTacAAABok6lKDgAA0E+UHAAAoK8oOQAAQF+Z7MUDAABAP1FyAACAvjK11FoHkkxqOgkAAEAbDJZaa206BQAAQLtMaDoAAABAOyk5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FeUHAAAoK8oOQAAQF9RcgAAgL6i5AAAAH1FyQEAAPqKkgMAAPQVJQcAAOgrSg4AANBXlBwAAKCvKDkAAEBfUXIAAIC+ouQAAAB9RckBAAD6ipIDAAD0FSUHAADoK0oOAADQV5QcAACgryg5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FfWazoAAP2n1pqBgYEMDg5mcHAwEyZMyAYbbJANNtggG264YdPxAOhzSg4AI/b0009n3rx5ueuuuzJ37tzMnz//+d8vW7ZstXOmTZuWXXfdNdttt1123XXX7LbbbpkxY0Z23nnnTJw4cYz/BgD0o1JrrU2HAKB3LFu2LHPmzMns2bMza9asLFy4sC3rbr/99jn22GNz+OGHZ+bMmU58ABgxJQeAYXnggQfyla98JZ/5zGfy0EMPdXSvbbbZJu94xzty8sknZ7vttuvoXgD0HyUHgLX61a9+lQsvvDDnnXdeBgYGxnTvyZMn54wzzsgZZ5yRrbfeekz3BqB3KTkArFatNVdeeWXe8573ZNGiRY1mmTZtWj7+8Y/nxBNPzHrreZwUgLVTcgB4kUcffTTvfe97c/nllzcd5QWOOeaYXHzxxdl8882bjgJAF1NyAHiB+++/P8cff3xuv/32pqOs1s4775yvfOUr2XfffZuOAkCXUnIAeN6tt96aN73pTR1/scBoTZs2Lddcc00OPPDApqMA0IWUHACSJHfeeWde//rX55FHHmk6yrBMmTIls2fPzv777990FAC6jJIDQObPn5+ZM2dmwYIFbVlv7733zk477ZSXvvSl2WijjfLss89mYGAgjzzySH7+85/njjvuaMs+O+ywQ2644QZvXgPgBZQcgHFu6dKlecMb3pCbbrppxGvsscceeetb35pDDjkku+22W6ZMmbLOPe+9997cdNNNueqqq/KDH/xgxHsfccQRufbaa711DYDnKTkA49zpp5+eiy66aERzX/Oa1+Sss87Ka1/72hGXjFprbr755px77rm59tprR7TGF77whZx88skjmgtA/1FyAMax66+/PocffnjL86ZMmZLzzz8/J510UiZOnNiWLLXWXHHFFTn99NOzZMmSluZOnz49P/7xj71aGoAkyYSmAwDQjCeffDJnnnlmy/N22223fP/7388pp5zStoKTJKWU/Mmf/Em+/e1vZ9ttt21p7qJFi3LZZZe1LQsAvc1JDsA49bnPfS6nnXZaS3P22muvXHvttXn5y1/eoVRDbrnllhx66KFZtmzZsOdsueWWueeee9b5PBAA/c9JDsA4tGzZspx77rktzZk+fXq++tWvdrzgJMn++++f888/v6U5CxcuzPXXX9+hRAD0EiUHYBz69re/nfnz57c055JLLsmOO+7YoUQvduqpp+aAAw5oac7VV1/doTQA9BLX1QDGobe85S258sorhz3+zW9+c2bNmpVSSgdTvdg111yTY445ZtjjJ0+enIULF2bq1KkdTAW978ILL2zp86r+7u/+LltttVUHE0F7KTkA48ySJUuy2WabtTTn5ptvzqtf/eoOJVqzgYGB7LLLLvnv//7vYc+58cYbc/DBB3cwFfS+U089NZdeeumwx99///1jepILo+W6GsA4c9ttt7U0/qCDDmqk4CRDJzPHHXdcS3Na+b/TAPQnJQdgnLn11ltbGn/CCSd0KMnw/OEf/mFL45UcAJQcgHHmrrvuamn8fvvt16EkwzNjxoyWxt93330dSgJAr1ByAMaZuXPntjR+l1126VCS4dluu+1aGv+Tn/wkHjcFGN+UHIBxpNaaH//4x8Mev/XWWzf+prJJkyZlhx12GPb4JUuW5IknnuhgIgC6nZIDMI489dRTLY0fiw/+HI5WcwwMDHQoCQC9YL2mAwAwdp577rm8853vHPb4bik5G264YUvjlRyA8U3JARhHNt5441x88cVNx2jZxIkTWxr/zDPPdCgJAL3AdTUAul6rz9hMmTKlQ0kA6AVKDgBdb/78+S2NV3IAxjclB4Cu9uijj+ahhx4a9vhXv/rVWX/99TuYCIBup+QA0NVa/fDSP/qjP+pQEgB6hZIDQFebM2dOS+P333//DiUBoFcoOQB0rcHBwVx++eXDHr/pppvmkEMO6WAiAHqBkgNA1/r3f//3zJs3b9jjTznlFC8dAEDJAaA7PfXUU/nbv/3bluYcf/zxHUoDQC9RcgDoSueff37uvPPOYY8/7rjjst9++3UwEQC9QskBoOvMnj07f/VXf9XSnL/8y7/sUBoAeo2SA0BX+eEPf5jjjjuupTl/9md/lr333rtDiQDoNUoOAF3juuuuy+tf//o8/vjjw56z9dZb52/+5m86mAqAXqPkANC4Rx99NO973/ty5JFHtlRwkuTSSy/NFlts0aFkAPSi9ZoOAMD49cADD2TWrFk577zzsmjRopbnX3jhhTn88MM7kAyAXqbkADAmnnnmmfzqV7/KfffdlzvuuCPf/OY3M3v27BGvd8455+T0009vY0IA+oWSA8CIfPjDH84999yz1jFPP/10fvOb3+TXv/517r333gwMDLRl70suuSSnnXZaW9YCoP8oOQCMyNy5c3P11VeP6Z477LBDvvjFL+bggw8e030B6C1KDgA94T3veU8+9KEPZdq0aU1HgY6ZM2dOnn322Y7v8/DDD7c0/uabb84vfvGLDqX5nT322CObb755x/eh/yk5AHS1N77xjfnrv/7r7Lvvvk1HgY5785vfnF//+tdNx3iRE088cUz2+Y//+A8vE6EtlBwAutJBBx2U8847L3/wB3+QUkrTcQDoIT4nB4CudNNNN+XDH/5wLr/88pY/OweA8U3JAaBrzZ49OyeeeGJ22WWXnH322SP6LB0Axh8lB4Cu98gjj+Sss87K7rvvnosuuiiDg4NNRwKgi3kmh8bNmjUrV1xxRSN7v+xlL8vFF1/cyN5A6xYtWpTTTz89X/3qV/OZz3wmu+66a9ORAOhCSg6NW7hw4Zh/1sYKe+65ZyP7AqMzZ86cHHTQQbn88svzx3/8x03HAaDLKDkAjMi//du/pda61jHPPPNMfvvb3+aJJ57I4sWLs3DhwsybNy933HFHrrvuuixYsGDE+y9ZsiRHHnlkrrrqqhx33HEjXgeA/qPkADAiEyas+7HOiRMnZtKkSdl4442z1VZbZY899shhhx2WJHn22WefLzsXX3xxHnrooRHlOP744zN16lSfrQHA87x4AIBGTJw4Mfvuu28+9KEP5d57782ll16abbfddkRrnXjiifn5z3/e5oQA9ConOQA0buONN87b3/72HHvssfnIRz6SCy64oKX5jzzySN7//vfnqquu8sGh9LRXvvKVeeqppzq+z/z581t6Jfvee++dyZMndzDRkI022qjjezA+lLquC9XQYRdccEHOPPPMRvbec889M3fu3Eb2BtZs1qxZOemkkzIwMNDSvNmzZz9/HQ5Ys1NPPTWXXnrpsMfff//92XHHHTuYCNrLdTUAus5xxx2Xa665Juuvv35L884///x1vgwBgP6n5ADQlQ477LBccsklLc351re+lZtvvrlDiQDoFUoOAF3rpJNOavn10K0WIwD6j2dyAOhqd999d3bfffdhj588eXIefvjhbLrpph1MBb3NMzn0Oyc5AHS13XbbLSeffPKwxw8MDOS73/1uBxMB0O2UHAC6XqtX1q699toOJQGgFyg5AHS9gw8+uKU3rX3nO9/xljWAcUzJAaDrbbLJJjn00EOHPX7BggV58MEHO5gIgG6m5ADQE171qle1NP6nP/1ph5IA0O2UHAB6wrbbbtvS+EcffbRDSQDodkoOAD1hs802a2n8448/3qEkAHQ7JQeAnrDRRhu1NF7JARi/lBwAekIppaPjAegf6zUdAICx8+53vzsPPPDAsMfPmjUrG264YQcTDd/g4GBL41s9+QGgfyg5AOPIz372s1x33XXDHv/UU091TclZunRpS+O7JTcAY891NYBxZJNNNmlp/JIlSzqUpHUPP/xwS+OnTZvWoSQAdDslB2AcmT59ekvjH3rooQ4lad28efNaGr/11lt3KAkA3U7JARhHXvGKV7Q0/ic/+UmHkrTuxhtvbGm8kgMwfik5AOPIdttt19L4OXPmdChJa+bPn5/58+cPe/y2226bLbbYooOJAOhmSg7AODJjxoyWxv/rv/5rHnnkkQ6lGb5Wy9bhhx+eCRP8Jw5gvPJfAIBxZJdddsk222zT0pyrrrqqQ2mG57nnnsvnPve5luYccMABHUoDQC9QcgDGkYkTJ+boo49uac4nPvGJLF68uEOJ1u073/lOfvCDH7Q0Z+bMmR1KA0AvUHIAxpljjjmmpfELFizI2Wef3aE0azcwMJCzzjqrpTlHHHFEyy9YAKC/KDkA48zMmTOz/fbbtzTnH/7hH/K1r32tQ4nW7GMf+1huvfXWlua87W1v61AaAHqFkgMwzkyaNClnnHFGy/NOPvnk3HDDDR1ItHqXXnppPvrRj7Y0Z+edd86b3vSmDiUCoFcoOQDj0CmnnNLyCwiWLl2ao48+Ol//+tc7lGpIrTWf/vSnc+qpp7Y89/3vf3823HDDDqQCoJcoOQDj0JQpU/KRj3yk5XlLly7Nsccemw9+8IN54okn2p5r4cKFefvb3553v/vdLc896KCD8ta3vrXtmQDoPUoOwDh14oknjvhq1znnnJN99903X/rSl/Lkk0+OOsvixYvzyU9+Mq961aty2WWXjWiNT33qU5k0adKoswDQ+0qttTYdAoBmPPjggznwwAOzYMGCEa+x+eab59RTT83rXve67LPPPpkyZcqw5i1atCi33HJLvvWtb+Wyyy7L0qVLR5zhH//xH3PmmWeOeD6MN7Nmzcq8efOGPf6d73xnXvrSl3YwEbSXkgMwzt1666057LDD8vjjj7dlvf322y977rlntt5660ydOjWTJk1KrTUDAwNZvHhxHnzwwdx2222555572rLfu971rlx00UUppbRlPQB6n5IDQK6//voce+yxWbZsWdNRWvKWt7wln//8571sAIAX8EwOADnssMNy/fXXZ8stt2w6yrC94x3vyBe+8AUFB4AXUXIASJIceOCB+d73vpcDDjig6Sjr9NGPfjSf/exnvWgAgNVyXQ2AF3jyySfzsY99LOecc07TUV5km222yec///kcfvjhTUcBoIs5yQHgBX7v934vZ599dm688cYcfPDBTcd53umnn57bbrtNwQFgnZzkALBGv/3tb3PFFVfk3HPPbdvb0Fp19NFH5wMf+EAOPPDARvYHoPcoOQCs0+DgYK655pr80z/9U7773e92fL/1118/J5xwQk477bQcfPDBXg8NQEuUHABacvfdd+cb3/hGrrnmmtx0001tXfuoo47KUUcdlaOPPjpbbbVVW9cGYPxQcgAYsQULFuRHP/pR7rrrrtx+++350Y9+lPnz569z3vrrr58ZM2Zkr732yj777JM99tgj++yzT6ZNmzYGqQHod0oOAG01ODiYRYsW5Te/+U0GBwczODiYUkomTZqUSZMm5SUveUmmT5+e9dZbr+moAPQpJQcAAOgrXiENAAD0FSUHAADoK0oOAADQV5QcAACgryg5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FeUHAAAoK8oOQAAQF9RcgAAgL6i5AAAAH1FyQEAAPqKkgMAAPQVJQcAAOgrSg4AANBXlBwAAKCvKDkAAEBfUXIAAIC+MiHJYNMhAAAA2mRwQpLHmk4BAADQJo9NSDLQdAoAAIA2GVByAACAfjLguhoAANBPHlNyAACAfuKZHAAAoK8oOQAAQF9xXQ0AAOgrAxOS/LLpFAAAAG3yywlJ7m06BQAAQJvcq+QAAAD95IFSa90kyZIkE5tOAwAAMArPJpkyoZSyNMmCptMAAACM0oJSypMTlv/mgUajAAAAjN69STJh5d8AAAD0MCUHAADoKw8kSg4AANA/7k2SkiS11klJHksyuclEAAAAIzSY5CWllKcnJEkpZTDJD5vNBAAAMGI/KKU8nfzuulqSzGkoDAAAwGg932eUHAAAoB8832fKil94LgcAAOhRzz+Pk6x0kuO5HAAAoEc9/zxO8sLraokrawAAQO95QY9RcgAAgF73gh5TVv5NrXW9JA8ledlYJgIAABihRUm2KqU8s+IPXnCSs/wHV4x1KgAAgBH6ysoFJ3nxdbUkuXKMwgAAAIzWF1f9g7K6UbXW+Ule0fE4AAAAI/fTUsqMVf9wdSc5SfIvHQ4DAAAwWqu9hbamk5zfTzJ/TT8HAABoWE3yilLKA6v+YLUnOaWUnyf5z06nAgAAGKH/XF3BSdZ8XS3xAgIAAKB7veiFAyus8TparXVyhq6sbdWJRAAAACO0MENX1QZW98M1nuQsn3Bhp1IBAACM0KfWVHCSdbxYoNY6NcnPkmza7lQAAAAj8FiS7Uspj69pwNqeyUkp5bEkl7Q7FQAAwAhdvLaCkwzjFdG11i0z9GzOhu1KBQAAMAJPZehZnF+ubdBaT3KSpJSyMMmX2pUKAABghC5ZV8FJhvlhn7XWnZLcnWS90aYCAAAYgWeSvHw4JWedJzlJUkq5P8mXR5sKAABghL48nIKTDPMkJ0lqrdskmZdk0khTAQAAjMBgkh1LKQuGM3hYJzlJsnzBc0eaCgAAYITOHW7BSVo4yUmSWusGGTrNeXmrqQAAAEbgp0leWUp5ergThn2SkyTLFz6j1VQAAAAjdGYrBSdpseQkSSnl6iRfb3UeAABAi75eSvlWq5Nauq62gpcQAAAAHbY0yW6tPIuzQssnOYmXEAAAAB139kgKTjLCk5wkqbWun+T7SfYf6RoAAACrcWuSA0spz4xk8ohLTpLUWrdLckeSqaNZBwAAYLnHkuxdSvnFSBcY0XW1FZZv/PbRrAEAALCSk0ZTcJJRlpzk+betXTDadQAAgHHvglLKNaNdZFTX1VbwfA4AADBKo3oOZ2VtKTnJ88/n3J1ko3atCQAAjAujfg5nZaO+rrbC8kD/u13rAQAA48aon8NZWdtKTpKUUr6Y5O/buSYAANDX/r4dz+GsrG3X1VZWa/10nOoAAABr90+llHe1e9FOlZyS5Ookb+zE+gAAQM+7IslbSym13Qt3pOQkSa11UpLrkry2U3sAAAA9aU6S15VSnu3E4h0rOUlSa904yXfi1dIAAMCQW5O8tpTym05t0NGSkyS11s2S3JBkj07vBQAAdLW7krymlLK4k5t0vOQkSa11yyT/lWSrsdgPAADoOj9LcnApZWGnN2rrK6TXZPlfZLckt4zFfgAAQFf5rySvGouCk4xRyUmSUsrjSQ5N8o2x2hMAAGjcNzN0Re2JsdpwzEpOkpRSliU5Nsk/j+W+AABAIy5NclQp5amx3HRMS06SlFKeLaW8M8l5Y703AAAwZj5ZSjm1lPLcWG88Ji8eWJNa6/9J8ommcwAAAG1Tk7y3lHJBUwEaLxe11iOSfDnJZk1nAQAARmVJkuNLKdc3GaLxkpMktdaXJ/lqfGgoAAD0qu8neUspZUHTQcb8mZzVKaU8mOQPk5yboeMtAACgN9Qkf59kZjcUnKRLTnJW5voaAAD0jK64nraqris5ietrAADQA7rmetqquuK62qpcXwMAgK7VddfTVtWVJzkrq7Vuk+SzSY5qOgsAAIxzs5K8b/mhRNfq+pKzQq31yCQXJNmh6SwAADDOzE9yWinle00HGY6uvK62OqWUf0+ye5K/TLKs4TgAADAeLEtyVpLde6XgJD10krMyV9gAAKDjeuJq2ur0ZMlZodb66iR/keR/JJnYcBwAAOh1zyb5WpJzSim3Nx1mpHq65KxQa90uyRlJ3pHkJQ3HAQCAXvNEks8nuaCU8oumw4xWX5ScFWqtL0lySpL3JNm+4TgAANDtfpGhl3t9vpTyRNNh2qWvSs4KtdaJSd6UoatsBzQcBwAAus0Pkpyf5GullGebDtNufVlyVlZr3STJ8Un+NMlrMg7+zgAAsIrnknw3yZeT/FspZWnDeTpqXP2Dv9b68iQnZKjwvLLhOAAA0Gk/zlCxuayU8sumw4yVcVVyVlZr3T7JzCSHJnltkm2aTQQAAKO2IMn3VnyVUh5oOE8jxm3JWVWtdecMlZ1Dl39NbzYRAACs0y/zwlIzr+E80FPaTQAAAGpJREFUXUHJWYNa6+4ZutK2U5KdV/o+tclcAACMS48luT/Jfcu/35/kR6WUextN1aWUnBbVWl+aobKzc5LtkmyWZMoqXy9Z/t1pEAAAa7IoyeMZ+oyax1f5Wpyh1zvfl+T+UsqipkL2ov8PH0WjcxapSkAAAAAASUVORK5CYII="},7974:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/debugevents-0a6dd2b6a94eb896f9c53e7aff325833.png"},1242:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/fitness-0c38df17d7bb7f1b8846f0f21347c685.png"},4061:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/list-0d495fe5548effb055930ecbdd3eb9ae.png"},76:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/resizable-1058d2386ccea47b5a616cabf5d79173.png"},786:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/rotated-ec4a7afbecb2f7eeb34c792a7e0389d0.png"},2248:(A,e,t)=>{t.d(e,{Z:()=>n});const n=t.p+"assets/images/shopify-ea022a5b06aaa27eb58e5c8bd2e6ade1.png"},1151:(A,e,t)=>{t.d(e,{Z:()=>s,a:()=>d});var n=t(7294);const i={},r=n.createContext(i);function d(A){const e=n.useContext(r);return n.useMemo((function(){return"function"==typeof A?A(e):{...e,...A}}),[e,A])}function s(A){let e;return e=A.disableParentContext?"function"==typeof A.components?A.components(i):A.components||i:d(A.components),n.createElement(r.Provider,{value:e},A.children)}}}]); \ No newline at end of file diff --git a/assets/js/74b23640.e6072dec.js b/assets/js/74b23640.e6072dec.js deleted file mode 100644 index 6f00b4c..0000000 --- a/assets/js/74b23640.e6072dec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2814],{3905:(A,e,t)=>{t.d(e,{Zo:()=>s,kt:()=>v});var r=t(7294);function n(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function i(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,r)}return t}function a(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){n(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function d(A,e){if(null==A)return{};var t,r,n=function(A,e){if(null==A)return{};var t,r,n={},i=Object.keys(A);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||(n[t]=A[t]);return n}(A,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(A);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(A,t)&&(n[t]=A[t])}return n}var l=r.createContext({}),o=function(A){var e=r.useContext(l),t=e;return A&&(t="function"==typeof A?A(e):a(a({},e),A)),t},s=function(A){var e=o(A.components);return r.createElement(l.Provider,{value:e},A.children)},c={inlineCode:"code",wrapper:function(A){var e=A.children;return r.createElement(r.Fragment,{},e)}},g=r.forwardRef((function(A,e){var t=A.components,n=A.mdxType,i=A.originalType,l=A.parentName,s=d(A,["components","mdxType","originalType","parentName"]),g=o(t),v=n,k=g["".concat(l,".").concat(v)]||g[v]||c[v]||i;return t?r.createElement(k,a(a({ref:e},s),{},{components:t})):r.createElement(k,a({ref:e},s))}));function v(A,e){var t=arguments,n=e&&e.mdxType;if("string"==typeof A||n){var i=t.length,a=new Array(i);a[0]=g;var d={};for(var l in e)hasOwnProperty.call(e,l)&&(d[l]=e[l]);d.originalType=A,d.mdxType="string"==typeof A?A:n,a[1]=d;for(var o=2;o<i;o++)a[o]=t[o];return r.createElement.apply(null,a)}return r.createElement.apply(null,t)}g.displayName="MDXCreateElement"},7020:(A,e,t)=>{t.r(e),t.d(e,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var r=t(7462),n=(t(7294),t(3905));const i={sidebar_position:6,sidebar_label:"Demo"},a="Demo",d={unversionedId:"demo",id:"demo",title:"Demo",description:"You can download the demo app with the example widgets from the Releases Page",source:"@site/docs/demo.md",sourceDirName:".",slug:"/demo",permalink:"/react-native-android-widget/docs/demo",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/demo.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,sidebar_label:"Demo"},sidebar:"default",previous:{title:"Handling Clicks",permalink:"/react-native-android-widget/docs/handling-clicks"},next:{title:"Limitations",permalink:"/react-native-android-widget/docs/limitations"}},l={},o=[{value:"Fitness Widget Preview",id:"fitness-widget-preview",level:2},{value:"List Widget Preview",id:"list-widget-preview",level:2},{value:"Resizable Music Widget Preview",id:"resizable-music-widget-preview",level:2},{value:"Rotated Widget Preview",id:"rotated-widget-preview",level:2},{value:"Shopify Widget Preview",id:"shopify-widget-preview",level:2},{value:"Click Demo Widget Preview",id:"click-demo-widget-preview",level:2},{value:"Counter Widget Preview",id:"counter-widget-preview",level:2},{value:"Configurable Widget Preview",id:"configurable-widget-preview",level:2},{value:"Debug Events Widget Preview",id:"debug-events-widget-preview",level:2}],s={toc:o};function c(A){let{components:e,...i}=A;return(0,n.kt)("wrapper",(0,r.Z)({},s,i,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"demo"},"Demo"),(0,n.kt)("p",null,"You can download the demo app with the example widgets from the ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/sAleksovski/react-native-android-widget/releases"},"Releases Page")),(0,n.kt)("h2",{id:"fitness-widget-preview"},"Fitness Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Fitness Widget Preview",src:t(1242).Z,width:"880",height:"575"})),(0,n.kt)("h2",{id:"list-widget-preview"},"List Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"List Widget Preview",src:t(4061).Z,width:"880",height:"605"})),(0,n.kt)("h2",{id:"resizable-music-widget-preview"},"Resizable Music Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Resizable Music Widget Preview",src:t(76).Z,width:"963",height:"886"})),(0,n.kt)("h2",{id:"rotated-widget-preview"},"Rotated Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Rotated Widget Preview",src:t(786).Z,width:"553",height:"886"})),(0,n.kt)("h2",{id:"shopify-widget-preview"},"Shopify Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Shopify Widget Preview",src:t(2248).Z,width:"880",height:"1100"})),(0,n.kt)("h2",{id:"click-demo-widget-preview"},"Click Demo Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Click Demo Widget Preview",src:t(4949).Z,width:"916",height:"545"})),(0,n.kt)("h2",{id:"counter-widget-preview"},"Counter Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Counter Widget Preview",src:t(9183).Z,width:"825",height:"330"})),(0,n.kt)("h2",{id:"configurable-widget-preview"},"Configurable Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Configurable Widget Preview",src:t(9183).Z,width:"825",height:"330"})),(0,n.kt)("h2",{id:"debug-events-widget-preview"},"Debug Events Widget Preview"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"Debug Events Widget Preview",src:t(7974).Z,width:"886",height:"580"})))}c.isMDXComponent=!0},4949:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/clickdemo-593febb0e4f48be76bd8b38d13d988d3.png"},9183:(A,e,t)=>{t.d(e,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzkAAAFKCAYAAAA+O5FfAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7d17lJ1lYS7w502ABAomECNXgcot3ARhQeVSCVYQCwie4wGsFRDE1nUQsceztFJrbRWoUioiWqiiWBRIrQvBog1eQpGDQhGIchESxRKIGEyASJhB4D1/TIIh5DJ7Zu/59t7z+601a5LMe3nyF3l43+/bJbSk1jo9yU5Jdk6yXZLNkkxZ5esly79PbygmAADdb1GSx5d/PbHSrx9PsjjJL5Lcl+S+UsqjTYXsRaXpAN2q1vrKJHtkqNCsKDU7JZnaZC4AAMalxzJUeO5f6fvcUspdjabqUkrOcrXWPZLMXP71mjiFAQCg+y1KckOSOcu/7i6l1GYjNW/clhylBgCAPqT0ZJyVnFrr7yd5R5I/TbJtw3EAAKDT5iX5lyT/Ukr5edNhxkrfl5xa66ZJjk/ytiQHNhwHAACa8v+SXJbkX0spS5oO00l9WXJqrRskOTJDxebIJBs0mwgAALrG00m+keRLSb5ZSnm64Txt11clp9a6foauor0/yS4NxwEAgG53b5K/T/LlUspvmw7TLn1Rcmqtv5fktCT/J8k2DccBAIBesyDJeUk+V0p5sukwo9XTJafWulmSM5KcnmRaw3EAAKDX/TrJhUkuLKUsbjrMSPVkyam1Tkry3iQfTLJJw3EAAKDfLE3y0SQXlFIGmw7Tqp4rObXW/5nk40le0XQWAADocz9L8n9LKV9rOkgreqbk1FpfmeRTSQ5pOgsAAIwzNyQ5o5Qyt+kgwzGh6QDrUmt9Wa31c0luj4IDAABNOCTJ7bXWf661vqzpMOvStSc5nrsBAICu1PXP63Rlyam1bpPk6iT7Np0FAABYrduSHFtKWdB0kFV13XW1WusxSeZGwQEAgG62b5K5y//93lW6puTUWtevtX4mQyc4mzadBwAAWKdNk1xda/10rXX9psOs0BXX1Wqtr0gyK05vAACgV92W5LhSys+aDtL4SU6t9a1J7oyCAwAAvWzfJHcu//d9oxotObXWTyS5PMnGTeYAAADaYuMkl9daP9hkiMauq9VaL0lyWlP7AwAAHfXPpZR3NrHxmJecWusGSS5LcsJY7w0AAIypK5OcVEp5eiw3HdOSU2vdKMk3khw6lvsCAACN+V6So0opy8ZqwzErObXW6RkqOPuP1Z4AAEBXuCXJ4aWUx8diszEpObXWbTLU4HYci/0AAICu8+Mkf1xKWdDpjTpecmqtmyX5zyS7d3ovAACgq/0kySGllMWd3KSjJafWOinJjUn26+Q+AABAz7glyWtKKYOd2qBjn5NTa52Y5KtRcAAAgN/ZP8ms5X2hIzr5YaD/kuSoDq4PAAD0pjcm+WKnFu9Iyam1npvkLZ1YGwAA6At/urw3tF3bn8mptX4gyTntXhcAAOhL7y2lfLKdC7a15NRaD0ny3XT2GhwAANA/nkvyR6WUOe1asG0lp9b6siRzk2zerjUBAIBx4ZEkryyl/Kodi7XlxKXWWpJcFQUHAABo3eZJrlzeK0atXdfKzkkys01rAQAA48+hST7cjoVG3ZRqrUclubYNWQAAgPGtLc/njKrk1Fq3TXJnkqmjWQcAAGC5UT+fM+LrarXW9ZJ8LQoOAADQPqN+Pmc0z+S8L8m+o5gPAACwOocmef9IJ4+oHdVat0lyd5JNRroxAADAWixNslspZUGrE0d6kvPpKDgAAEDnbJKh3tGylk9yaq1HJPnmSDYDAABo0RtKKd9qZUJLJafWukGSuUl2aWUeAADACN2bZK9SytPDndDqdbUPRsEBAADGzowkf9HKhGGf5Cx/2cC8JJNaDAUAADAaLb2EoJWTnI9GwQEAAMbeJkn+ariDh3WSU2vdIsmDSdYbYSgAAIDReCrJDqWUhesaONyTnA9EwQEAAJqzYYb5AaHrPMmptU5JsnD5ogAAAE15KslWpZTH1jZoOCc5742CAwAANG/DJGeua9BaT3KWn+I8kGRqm0IBAACMxpIMneYMrGnAuk5y3hUFBwAA6B6bJvnztQ1Y40lOrXVykp8l2bLNoQAAAEbj4Qy9aW21pzlrO8n58yg4AABA99kqyclr+uHaSs6x7c8CAADQFies6Qerva5Wa90+Q1fVhvVhoQAAAGOsJtmplDJ/1R+s6STnhCg4AABA9ypJ/tfqfrC2kgMAANDNVttbXlRyaq17J9mr43EAAABGZ6/l/eUFVneSs8a3FAAAAHSZF53mvOi5m1rrr5JMH5M4AAAAozOvlLLTyn/wgpOc5Uc9Cg4AANArdlz1ytqq19VmjmEYAACAdnhBj1m15BwxhkEAAADa4QUl5/lncmqtGyR5IsmksU4EAAAwCouTvLSUUpMXnuQcGAUHAADoPZtlpY/BWbnkeB4HAADoVc8/eqPkAAAA/eD5klMSz+MAAAA9byDJ1FLK4IqTHM/jAAAAvWxykgOS311X23vNYwEAAHrC3snvSs72DQYBAABoh+2T35WcGQ0GAQAAaIcZiZIDAAD0jxlJUmqtE5I8nWRis3kAAABG5dkkG0xIsnMUHAAAoPdNTLLzhLiqBgAA9I8ZSg4AANBPZkxIskXTKQAAANpkiwkZ+mRQAACAfjB5QpKpTacAAABok6lKDgAA0E+UHAAAoK8oOQAAQF+Z7MUDAABAP1FyAACAvjK11FoHkkxqOgkAAEAbDJZaa206BQAAQLtMaDoAAABAOyk5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FeUHAAAoK8oOQAAQF9RcgAAgL6i5AAAAH1FyQEAAPqKkgMAAPQVJQcAAOgrSg4AANBXlBwAAKCvKDkAAEBfUXIAAIC+ouQAAAB9RckBAAD6ipIDAAD0FSUHAADoK0oOAADQV5QcAACgryg5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FfWazoAAP2n1pqBgYEMDg5mcHAwEyZMyAYbbJANNtggG264YdPxAOhzSg4AI/b0009n3rx5ueuuuzJ37tzMnz//+d8vW7ZstXOmTZuWXXfdNdttt1123XXX7LbbbpkxY0Z23nnnTJw4cYz/BgD0o1JrrU2HAKB3LFu2LHPmzMns2bMza9asLFy4sC3rbr/99jn22GNz+OGHZ+bMmU58ABgxJQeAYXnggQfyla98JZ/5zGfy0EMPdXSvbbbZJu94xzty8sknZ7vttuvoXgD0HyUHgLX61a9+lQsvvDDnnXdeBgYGxnTvyZMn54wzzsgZZ5yRrbfeekz3BqB3KTkArFatNVdeeWXe8573ZNGiRY1mmTZtWj7+8Y/nxBNPzHrreZwUgLVTcgB4kUcffTTvfe97c/nllzcd5QWOOeaYXHzxxdl8882bjgJAF1NyAHiB+++/P8cff3xuv/32pqOs1s4775yvfOUr2XfffZuOAkCXUnIAeN6tt96aN73pTR1/scBoTZs2Lddcc00OPPDApqMA0IWUHACSJHfeeWde//rX55FHHmk6yrBMmTIls2fPzv777990FAC6jJIDQObPn5+ZM2dmwYIFbVlv7733zk477ZSXvvSl2WijjfLss89mYGAgjzzySH7+85/njjvuaMs+O+ywQ2644QZvXgPgBZQcgHFu6dKlecMb3pCbbrppxGvsscceeetb35pDDjkku+22W6ZMmbLOPe+9997cdNNNueqqq/KDH/xgxHsfccQRufbaa711DYDnKTkA49zpp5+eiy66aERzX/Oa1+Sss87Ka1/72hGXjFprbr755px77rm59tprR7TGF77whZx88skjmgtA/1FyAMax66+/PocffnjL86ZMmZLzzz8/J510UiZOnNiWLLXWXHHFFTn99NOzZMmSluZOnz49P/7xj71aGoAkyYSmAwDQjCeffDJnnnlmy/N22223fP/7388pp5zStoKTJKWU/Mmf/Em+/e1vZ9ttt21p7qJFi3LZZZe1LQsAvc1JDsA49bnPfS6nnXZaS3P22muvXHvttXn5y1/eoVRDbrnllhx66KFZtmzZsOdsueWWueeee9b5PBAA/c9JDsA4tGzZspx77rktzZk+fXq++tWvdrzgJMn++++f888/v6U5CxcuzPXXX9+hRAD0EiUHYBz69re/nfnz57c055JLLsmOO+7YoUQvduqpp+aAAw5oac7VV1/doTQA9BLX1QDGobe85S258sorhz3+zW9+c2bNmpVSSgdTvdg111yTY445ZtjjJ0+enIULF2bq1KkdTAW978ILL2zp86r+7u/+LltttVUHE0F7KTkA48ySJUuy2WabtTTn5ptvzqtf/eoOJVqzgYGB7LLLLvnv//7vYc+58cYbc/DBB3cwFfS+U089NZdeeumwx99///1jepILo+W6GsA4c9ttt7U0/qCDDmqk4CRDJzPHHXdcS3Na+b/TAPQnJQdgnLn11ltbGn/CCSd0KMnw/OEf/mFL45UcAJQcgHHmrrvuamn8fvvt16EkwzNjxoyWxt93330dSgJAr1ByAMaZuXPntjR+l1126VCS4dluu+1aGv+Tn/wkHjcFGN+UHIBxpNaaH//4x8Mev/XWWzf+prJJkyZlhx12GPb4JUuW5IknnuhgIgC6nZIDMI489dRTLY0fiw/+HI5WcwwMDHQoCQC9YL2mAwAwdp577rm8853vHPb4bik5G264YUvjlRyA8U3JARhHNt5441x88cVNx2jZxIkTWxr/zDPPdCgJAL3AdTUAul6rz9hMmTKlQ0kA6AVKDgBdb/78+S2NV3IAxjclB4Cu9uijj+ahhx4a9vhXv/rVWX/99TuYCIBup+QA0NVa/fDSP/qjP+pQEgB6hZIDQFebM2dOS+P333//DiUBoFcoOQB0rcHBwVx++eXDHr/pppvmkEMO6WAiAHqBkgNA1/r3f//3zJs3b9jjTznlFC8dAEDJAaA7PfXUU/nbv/3bluYcf/zxHUoDQC9RcgDoSueff37uvPPOYY8/7rjjst9++3UwEQC9QskBoOvMnj07f/VXf9XSnL/8y7/sUBoAeo2SA0BX+eEPf5jjjjuupTl/9md/lr333rtDiQDoNUoOAF3juuuuy+tf//o8/vjjw56z9dZb52/+5m86mAqAXqPkANC4Rx99NO973/ty5JFHtlRwkuTSSy/NFlts0aFkAPSi9ZoOAMD49cADD2TWrFk577zzsmjRopbnX3jhhTn88MM7kAyAXqbkADAmnnnmmfzqV7/KfffdlzvuuCPf/OY3M3v27BGvd8455+T0009vY0IA+oWSA8CIfPjDH84999yz1jFPP/10fvOb3+TXv/517r333gwMDLRl70suuSSnnXZaW9YCoP8oOQCMyNy5c3P11VeP6Z477LBDvvjFL+bggw8e030B6C1KDgA94T3veU8+9KEPZdq0aU1HgY6ZM2dOnn322Y7v8/DDD7c0/uabb84vfvGLDqX5nT322CObb755x/eh/yk5AHS1N77xjfnrv/7r7Lvvvk1HgY5785vfnF//+tdNx3iRE088cUz2+Y//+A8vE6EtlBwAutJBBx2U8847L3/wB3+QUkrTcQDoIT4nB4CudNNNN+XDH/5wLr/88pY/OweA8U3JAaBrzZ49OyeeeGJ22WWXnH322SP6LB0Axh8lB4Cu98gjj+Sss87K7rvvnosuuiiDg4NNRwKgi3kmh8bNmjUrV1xxRSN7v+xlL8vFF1/cyN5A6xYtWpTTTz89X/3qV/OZz3wmu+66a9ORAOhCSg6NW7hw4Zh/1sYKe+65ZyP7AqMzZ86cHHTQQbn88svzx3/8x03HAaDLKDkAjMi//du/pda61jHPPPNMfvvb3+aJJ57I4sWLs3DhwsybNy933HFHrrvuuixYsGDE+y9ZsiRHHnlkrrrqqhx33HEjXgeA/qPkADAiEyas+7HOiRMnZtKkSdl4442z1VZbZY899shhhx2WJHn22WefLzsXX3xxHnrooRHlOP744zN16lSfrQHA87x4AIBGTJw4Mfvuu28+9KEP5d57782ll16abbfddkRrnXjiifn5z3/e5oQA9ConOQA0buONN87b3/72HHvssfnIRz6SCy64oKX5jzzySN7//vfnqquu8sGh9LRXvvKVeeqppzq+z/z581t6Jfvee++dyZMndzDRkI022qjjezA+lLquC9XQYRdccEHOPPPMRvbec889M3fu3Eb2BtZs1qxZOemkkzIwMNDSvNmzZz9/HQ5Ys1NPPTWXXnrpsMfff//92XHHHTuYCNrLdTUAus5xxx2Xa665Juuvv35L884///x1vgwBgP6n5ADQlQ477LBccsklLc351re+lZtvvrlDiQDoFUoOAF3rpJNOavn10K0WIwD6j2dyAOhqd999d3bfffdhj588eXIefvjhbLrpph1MBb3NMzn0Oyc5AHS13XbbLSeffPKwxw8MDOS73/1uBxMB0O2UHAC6XqtX1q699toOJQGgFyg5AHS9gw8+uKU3rX3nO9/xljWAcUzJAaDrbbLJJjn00EOHPX7BggV58MEHO5gIgG6m5ADQE171qle1NP6nP/1ph5IA0O2UHAB6wrbbbtvS+EcffbRDSQDodkoOAD1hs802a2n8448/3qEkAHQ7JQeAnrDRRhu1NF7JARi/lBwAekIppaPjAegf6zUdAICx8+53vzsPPPDAsMfPmjUrG264YQcTDd/g4GBL41s9+QGgfyg5AOPIz372s1x33XXDHv/UU091TclZunRpS+O7JTcAY891NYBxZJNNNmlp/JIlSzqUpHUPP/xwS+OnTZvWoSQAdDslB2AcmT59ekvjH3rooQ4lad28efNaGr/11lt3KAkA3U7JARhHXvGKV7Q0/ic/+UmHkrTuxhtvbGm8kgMwfik5AOPIdttt19L4OXPmdChJa+bPn5/58+cPe/y2226bLbbYooOJAOhmSg7AODJjxoyWxv/rv/5rHnnkkQ6lGb5Wy9bhhx+eCRP8Jw5gvPJfAIBxZJdddsk222zT0pyrrrqqQ2mG57nnnsvnPve5luYccMABHUoDQC9QcgDGkYkTJ+boo49uac4nPvGJLF68uEOJ1u073/lOfvCDH7Q0Z+bMmR1KA0AvUHIAxpljjjmmpfELFizI2Wef3aE0azcwMJCzzjqrpTlHHHFEyy9YAKC/KDkA48zMmTOz/fbbtzTnH/7hH/K1r32tQ4nW7GMf+1huvfXWlua87W1v61AaAHqFkgMwzkyaNClnnHFGy/NOPvnk3HDDDR1ItHqXXnppPvrRj7Y0Z+edd86b3vSmDiUCoFcoOQDj0CmnnNLyCwiWLl2ao48+Ol//+tc7lGpIrTWf/vSnc+qpp7Y89/3vf3823HDDDqQCoJcoOQDj0JQpU/KRj3yk5XlLly7Nsccemw9+8IN54okn2p5r4cKFefvb3553v/vdLc896KCD8ta3vrXtmQDoPUoOwDh14oknjvhq1znnnJN99903X/rSl/Lkk0+OOsvixYvzyU9+Mq961aty2WWXjWiNT33qU5k0adKoswDQ+0qttTYdAoBmPPjggznwwAOzYMGCEa+x+eab59RTT83rXve67LPPPpkyZcqw5i1atCi33HJLvvWtb+Wyyy7L0qVLR5zhH//xH3PmmWeOeD6MN7Nmzcq8efOGPf6d73xnXvrSl3YwEbSXkgMwzt1666057LDD8vjjj7dlvf322y977rlntt5660ydOjWTJk1KrTUDAwNZvHhxHnzwwdx2222555572rLfu971rlx00UUppbRlPQB6n5IDQK6//voce+yxWbZsWdNRWvKWt7wln//8571sAIAX8EwOADnssMNy/fXXZ8stt2w6yrC94x3vyBe+8AUFB4AXUXIASJIceOCB+d73vpcDDjig6Sjr9NGPfjSf/exnvWgAgNVyXQ2AF3jyySfzsY99LOecc07TUV5km222yec///kcfvjhTUcBoIs5yQHgBX7v934vZ599dm688cYcfPDBTcd53umnn57bbrtNwQFgnZzkALBGv/3tb3PFFVfk3HPPbdvb0Fp19NFH5wMf+EAOPPDARvYHoPcoOQCs0+DgYK655pr80z/9U7773e92fL/1118/J5xwQk477bQcfPDBXg8NQEuUHABacvfdd+cb3/hGrrnmmtx0001tXfuoo47KUUcdlaOPPjpbbbVVW9cGYPxQcgAYsQULFuRHP/pR7rrrrtx+++350Y9+lPnz569z3vrrr58ZM2Zkr732yj777JM99tgj++yzT6ZNmzYGqQHod0oOAG01ODiYRYsW5Te/+U0GBwczODiYUkomTZqUSZMm5SUveUmmT5+e9dZbr+moAPQpJQcAAOgrXiENAAD0FSUHAADoK0oOAADQV5QcAACgryg5AABAX1FyAACAvqLkAAAAfUXJAQAA+oqSAwAA9BUlBwAA6CtKDgAA0FeUHAAAoK8oOQAAQF9RcgAAgL6i5AAAAH1FyQEAAPqKkgMAAPQVJQcAAOgrSg4AANBXlBwAAKCvKDkAAEBfUXIAAIC+MiHJYNMhAAAA2mRwQpLHmk4BAADQJo9NSDLQdAoAAIA2GVByAACAfjLguhoAANBPHlNyAACAfuKZHAAAoK8oOQAAQF9xXQ0AAOgrAxOS/LLpFAAAAG3yywlJ7m06BQAAQJvcq+QAAAD95IFSa90kyZIkE5tOAwAAMArPJpkyoZSyNMmCptMAAACM0oJSypMTlv/mgUajAAAAjN69STJh5d8AAAD0MCUHAADoKw8kSg4AANA/7k2SkiS11klJHksyuclEAAAAIzSY5CWllKcnJEkpZTDJD5vNBAAAMGI/KKU8nfzuulqSzGkoDAAAwGg932eUHAAAoB8832fKil94LgcAAOhRzz+Pk6x0kuO5HAAAoEc9/zxO8sLraokrawAAQO95QY9RcgAAgF73gh5TVv5NrXW9JA8ledlYJgIAABihRUm2KqU8s+IPXnCSs/wHV4x1KgAAgBH6ysoFJ3nxdbUkuXKMwgAAAIzWF1f9g7K6UbXW+Ule0fE4AAAAI/fTUsqMVf9wdSc5SfIvHQ4DAAAwWqu9hbamk5zfTzJ/TT8HAABoWE3yilLKA6v+YLUnOaWUnyf5z06nAgAAGKH/XF3BSdZ8XS3xAgIAAKB7veiFAyus8TparXVyhq6sbdWJRAAAACO0MENX1QZW98M1nuQsn3Bhp1IBAACM0KfWVHCSdbxYoNY6NcnPkmza7lQAAAAj8FiS7Uspj69pwNqeyUkp5bEkl7Q7FQAAwAhdvLaCkwzjFdG11i0z9GzOhu1KBQAAMAJPZehZnF+ubdBaT3KSpJSyMMmX2pUKAABghC5ZV8FJhvlhn7XWnZLcnWS90aYCAAAYgWeSvHw4JWedJzlJUkq5P8mXR5sKAABghL48nIKTDPMkJ0lqrdskmZdk0khTAQAAjMBgkh1LKQuGM3hYJzlJsnzBc0eaCgAAYITOHW7BSVo4yUmSWusGGTrNeXmrqQAAAEbgp0leWUp5ergThn2SkyTLFz6j1VQAAAAjdGYrBSdpseQkSSnl6iRfb3UeAABAi75eSvlWq5Nauq62gpcQAAAAHbY0yW6tPIuzQssnOYmXEAAAAB139kgKTjLCk5wkqbWun+T7SfYf6RoAAACrcWuSA0spz4xk8ohLTpLUWrdLckeSqaNZBwAAYLnHkuxdSvnFSBcY0XW1FZZv/PbRrAEAALCSk0ZTcJJRlpzk+betXTDadQAAgHHvglLKNaNdZFTX1VbwfA4AADBKo3oOZ2VtKTnJ88/n3J1ko3atCQAAjAujfg5nZaO+rrbC8kD/u13rAQAA48aon8NZWdtKTpKUUr6Y5O/buSYAANDX/r4dz+GsrG3X1VZWa/10nOoAAABr90+llHe1e9FOlZyS5Ookb+zE+gAAQM+7IslbSym13Qt3pOQkSa11UpLrkry2U3sAAAA9aU6S15VSnu3E4h0rOUlSa904yXfi1dIAAMCQW5O8tpTym05t0NGSkyS11s2S3JBkj07vBQAAdLW7krymlLK4k5t0vOQkSa11yyT/lWSrsdgPAADoOj9LcnApZWGnN2rrK6TXZPlfZLckt4zFfgAAQFf5rySvGouCk4xRyUmSUsrjSQ5N8o2x2hMAAGjcNzN0Re2JsdpwzEpOkpRSliU5Nsk/j+W+AABAIy5NclQp5amx3HRMS06SlFKeLaW8M8l5Y703AAAwZj5ZSjm1lPLcWG88Ji8eWJNa6/9J8ommcwAAAG1Tk7y3lHJBUwEaLxe11iOSfDnJZk1nAQAARmVJkuNLKdc3GaLxkpMktdaXJ/lqfGgoAAD0qu8neUspZUHTQcb8mZzVKaU8mOQPk5yboeMtAACgN9Qkf59kZjcUnKRLTnJW5voaAAD0jK64nraqris5ietrAADQA7rmetqquuK62qpcXwMAgK7VddfTVtWVJzkrq7Vuk+SzSY5qOgsAAIxzs5K8b/mhRNfq+pKzQq31yCQXJNmh6SwAADDOzE9yWinle00HGY6uvK62OqWUf0+ye5K/TLKs4TgAADAeLEtyVpLde6XgJD10krMyV9gAAKDjeuJq2ur0ZMlZodb66iR/keR/JJnYcBwAAOh1zyb5WpJzSim3Nx1mpHq65KxQa90uyRlJ3pHkJQ3HAQCAXvNEks8nuaCU8oumw4xWX5ScFWqtL0lySpL3JNm+4TgAANDtfpGhl3t9vpTyRNNh2qWvSs4KtdaJSd6UoatsBzQcBwAAus0Pkpyf5GullGebDtNufVlyVlZr3STJ8Un+NMlrMg7+zgAAsIrnknw3yZeT/FspZWnDeTpqXP2Dv9b68iQnZKjwvLLhOAAA0Gk/zlCxuayU8sumw4yVcVVyVlZr3T7JzCSHJnltkm2aTQQAAKO2IMn3VnyVUh5oOE8jxm3JWVWtdecMlZ1Dl39NbzYRAACs0y/zwlIzr+E80FPaTQAAAGpJREFUXUHJWYNa6+4ZutK2U5KdV/o+tclcAACMS48luT/Jfcu/35/kR6WUextN1aWUnBbVWl+aobKzc5LtkmyWZMoqXy9Z/t1pEAAAa7IoyeMZ+oyax1f5Wpyh1zvfl+T+UsqipkL2ov8PH0WjcxapSkAAAAAASUVORK5CYII="},7974:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/debugevents-0a6dd2b6a94eb896f9c53e7aff325833.png"},1242:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/fitness-0c38df17d7bb7f1b8846f0f21347c685.png"},4061:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/list-0d495fe5548effb055930ecbdd3eb9ae.png"},76:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/resizable-1058d2386ccea47b5a616cabf5d79173.png"},786:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/rotated-ec4a7afbecb2f7eeb34c792a7e0389d0.png"},2248:(A,e,t)=>{t.d(e,{Z:()=>r});const r=t.p+"assets/images/shopify-ea022a5b06aaa27eb58e5c8bd2e6ade1.png"}}]); \ No newline at end of file diff --git a/assets/js/76085ae1.476a4b79.js b/assets/js/76085ae1.476a4b79.js deleted file mode 100644 index 33c74db..0000000 --- a/assets/js/76085ae1.476a4b79.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2342],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>u});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),m=c(r),u=a,g=m["".concat(p,".").concat(u)]||m[u]||d[u]||i;return r?n.createElement(g,o(o({ref:t},s),{},{components:r})):n.createElement(g,o({ref:t},s))}));function u(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var c=2;c<i;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},7994:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var n=r(7462),a=(r(7294),r(3905));const i={id:"ImageWidget",title:"Namespace: ImageWidget",sidebar_label:"ImageWidget",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/namespaces/ImageWidget",id:"public-api/namespaces/ImageWidget",title:"Namespace: ImageWidget",description:"Variables",source:"@site/docs/public-api/namespaces/ImageWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/ImageWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/ImageWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ImageWidget",title:"Namespace: ImageWidget",sidebar_label:"ImageWidget",sidebar_position:0,custom_edit_url:null}},p={},c=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"ImageWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"ImageWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"ImageWidgetInternalProps")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7ad22d07.7b28f0e5.js b/assets/js/7ad22d07.7b28f0e5.js deleted file mode 100644 index 0386d25..0000000 --- a/assets/js/7ad22d07.7b28f0e5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5073],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=r.createContext({}),l=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=l(e.components);return r.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,d=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),u=l(n),m=a,f=u["".concat(d,".").concat(m)]||u[m]||s[m]||i;return n?r.createElement(f,o(o({ref:t},c),{},{components:n})):r.createElement(f,o({ref:t},c))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=u;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:a,o[1]=p;for(var l=2;l<i;l++)o[l]=n[l];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},2288:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>l});var r=n(7462),a=(n(7294),n(3905));const i={id:"RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",sidebar_label:"RequestWidgetUpdateProps",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"public-api/interfaces/RequestWidgetUpdateProps",id:"public-api/interfaces/RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",description:"Properties",source:"@site/docs/public-api/interfaces/RequestWidgetUpdateProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",sidebar_label:"RequestWidgetUpdateProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},next:{title:"ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"}},d={},l=[{value:"Properties",id:"properties",level:2},{value:"widgetName",id:"widgetname",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"widgetNotFound",id:"widgetnotfound",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5}],c={toc:l};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"widgetname"},"widgetName"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"widgetName"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("p",null,"The name of the widget to update"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"renderwidget"},"renderWidget"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renderWidget"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),": ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,a.kt)("inlineCode",{parentName:"a"},"WidgetInfo")),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,a.kt)("inlineCode",{parentName:"p"},"Element"),">"),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,a.kt)("inlineCode",{parentName:"p"},"Element"),">"),(0,a.kt)("p",null,"Callback function that will be called with ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},"WidgetInfo"),"\nIt should return the JSX of the updated widget"),(0,a.kt)("h5",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo"},(0,a.kt)("inlineCode",{parentName:"a"},"WidgetInfo")))))),(0,a.kt)("h5",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,a.kt)("inlineCode",{parentName:"p"},"Element"),">"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"widgetnotfound"},"widgetNotFound"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"widgetNotFound"),": () => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("p",null,"Callback function that will be called if no widgets are added on the home screen\nIt can be used to clean up background tasks that update the widget periodically"),(0,a.kt)("h5",{id:"returns-1"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7ad22d07.c62f7fde.js b/assets/js/7ad22d07.c62f7fde.js new file mode 100644 index 0000000..8d40fa1 --- /dev/null +++ b/assets/js/7ad22d07.c62f7fde.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5073],{6932:(e,t,d)=>{d.r(t),d.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var i=d(5893),n=d(1151);const r={id:"RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",sidebar_label:"RequestWidgetUpdateProps",sidebar_position:0,custom_edit_url:null},s=void 0,l={id:"public-api/interfaces/RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",description:"Properties",source:"@site/docs/public-api/interfaces/RequestWidgetUpdateProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"RequestWidgetUpdateProps",title:"Interface: RequestWidgetUpdateProps",sidebar_label:"RequestWidgetUpdateProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"PaddingStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},next:{title:"ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"}},a={},c=[{value:"Properties",id:"properties",level:2},{value:"widgetName",id:"widgetname",level:3},{value:"renderWidget",id:"renderwidget",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"widgetNotFound",id:"widgetnotfound",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5}];function o(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",h5:"h5",hr:"hr",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(t.h3,{id:"widgetname",children:"widgetName"}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"widgetName"}),": ",(0,i.jsx)(t.code,{children:"string"})]}),"\n",(0,i.jsx)(t.p,{children:"The name of the widget to update"}),"\n",(0,i.jsx)(t.hr,{}),"\n",(0,i.jsx)(t.h3,{id:"renderwidget",children:"renderWidget"}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.strong,{children:"renderWidget"}),": (",(0,i.jsx)(t.code,{children:"props"}),": ",(0,i.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,i.jsx)(t.code,{children:"WidgetInfo"})}),") => ",(0,i.jsx)(t.code,{children:"Element"})," | ",(0,i.jsx)(t.code,{children:"Promise"}),"<",(0,i.jsx)(t.code,{children:"Element"}),">"]}),"\n",(0,i.jsxs)(t.p,{children:["Callback function that will be called with ",(0,i.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:"WidgetInfo"}),"\nIt should return the JSX of the updated widget"]}),"\n",(0,i.jsx)(t.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,i.jsxs)(t.p,{children:["\u25b8 (",(0,i.jsx)(t.code,{children:"props"}),"): ",(0,i.jsx)(t.code,{children:"Element"})," | ",(0,i.jsx)(t.code,{children:"Promise"}),"<",(0,i.jsx)(t.code,{children:"Element"}),">"]}),"\n",(0,i.jsxs)(t.p,{children:["Callback function that will be called with ",(0,i.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:"WidgetInfo"}),"\nIt should return the JSX of the updated widget"]}),"\n",(0,i.jsx)(t.h5,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(t.table,{children:[(0,i.jsx)(t.thead,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.th,{style:{textAlign:"left"},children:"Name"}),(0,i.jsx)(t.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,i.jsx)(t.tbody,{children:(0,i.jsxs)(t.tr,{children:[(0,i.jsx)(t.td,{style:{textAlign:"left"},children:(0,i.jsx)(t.code,{children:"props"})}),(0,i.jsx)(t.td,{style:{textAlign:"left"},children:(0,i.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",children:(0,i.jsx)(t.code,{children:"WidgetInfo"})})})]})})]}),"\n",(0,i.jsx)(t.h5,{id:"returns",children:"Returns"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"Element"})," | ",(0,i.jsx)(t.code,{children:"Promise"}),"<",(0,i.jsx)(t.code,{children:"Element"}),">"]}),"\n",(0,i.jsx)(t.hr,{}),"\n",(0,i.jsx)(t.h3,{id:"widgetnotfound",children:"widgetNotFound"}),"\n",(0,i.jsxs)(t.p,{children:["\u2022 ",(0,i.jsx)(t.code,{children:"Optional"})," ",(0,i.jsx)(t.strong,{children:"widgetNotFound"}),": () => ",(0,i.jsx)(t.code,{children:"void"})]}),"\n",(0,i.jsx)(t.p,{children:"Callback function that will be called if no widgets are added on the home screen\nIt can be used to clean up background tasks that update the widget periodically"}),"\n",(0,i.jsx)(t.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,i.jsxs)(t.p,{children:["\u25b8 (): ",(0,i.jsx)(t.code,{children:"void"})]}),"\n",(0,i.jsx)(t.p,{children:"Callback function that will be called if no widgets are added on the home screen\nIt can be used to clean up background tasks that update the widget periodically"}),"\n",(0,i.jsx)(t.h5,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.code,{children:"void"})})]})}function h(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1151:(e,t,d)=>{d.d(t,{Z:()=>l,a:()=>s});var i=d(7294);const n={},r=i.createContext(n);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7d14206d.730b3071.js b/assets/js/7d14206d.730b3071.js deleted file mode 100644 index 1656594..0000000 --- a/assets/js/7d14206d.730b3071.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9896],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>m});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=r.createContext({}),p=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=p(e.components);return r.createElement(s.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,s=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),c=p(n),m=i,g=c["".concat(s,".").concat(m)]||c[m]||l[m]||a;return n?r.createElement(g,o(o({ref:t},u),{},{components:n})):r.createElement(g,o({ref:t},u))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=c;var d={};for(var s in t)hasOwnProperty.call(t,s)&&(d[s]=t[s]);d.originalType=e,d.mdxType="string"==typeof e?e:i,o[1]=d;for(var p=2;p<a;p++)o[p]=n[p];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}c.displayName="MDXCreateElement"},1574:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>l,frontMatter:()=>a,metadata:()=>d,toc:()=>p});var r=n(7462),i=(n(7294),n(3905));const a={sidebar_position:3},o="requestWidgetUpdate",d={unversionedId:"api/request-widget-update",id:"api/request-widget-update",title:"requestWidgetUpdate",description:"react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).",source:"@site/docs/api/request-widget-update.md",sourceDirName:"api",slug:"/api/request-widget-update",permalink:"/react-native-android-widget/docs/api/request-widget-update",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/request-widget-update.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"registerWidgetTaskHandler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler"},next:{title:"registerWidgetConfigurationScreen",permalink:"/react-native-android-widget/docs/api/register-widget-configuration-screen"}},s={},p=[{value:"Usage",id:"usage",level:2},{value:"Example",id:"example",level:3},{value:"Demo",id:"demo",level:3},{value:"Types",id:"types",level:2}],u={toc:p};function l(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"requestwidgetupdate"},"requestWidgetUpdate"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a ",(0,i.kt)("inlineCode",{parentName:"p"},"requestWidgetUpdate")," function that can be used to request a widget update while the application is open (or with some background task)."),(0,i.kt)("p",null,"Since the user can add the same widget multiple times, with different sizes, ",(0,i.kt)("inlineCode",{parentName:"p"},"requestWidgetUpdate")," will cycle all widgets and allow us to redraw them."),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("p",null,"Lets assume we have a ",(0,i.kt)("inlineCode",{parentName:"p"},"CounterWidget")," widget that shows a single number, which it gets as a prop."),(0,i.kt)("p",null,"If the user has added a ",(0,i.kt)("inlineCode",{parentName:"p"},"CounterWidget")," to the home screen, then when the ",(0,i.kt)("inlineCode",{parentName:"p"},"CounterWidgetScreen")," is opened we can update the number shown on the widget on the home screen using ",(0,i.kt)("inlineCode",{parentName:"p"},"requestWidgetUpdate"),"."),(0,i.kt)("p",null,"If the user has added the ",(0,i.kt)("inlineCode",{parentName:"p"},"CounterWidget")," multiple times, ",(0,i.kt)("inlineCode",{parentName:"p"},"renderWidget")," will be called multiple times, once for each widget."),(0,i.kt)("p",null,"If the user has not added the ",(0,i.kt)("inlineCode",{parentName:"p"},"CounterWidget")," on the Android home screen, the optional callback ",(0,i.kt)("inlineCode",{parentName:"p"},"widgetNotFound")," will be called."),(0,i.kt)("h3",{id:"example"},"Example"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="CounterScreen.tsx"',title:'"CounterScreen.tsx"'},"import * as React from 'react';\nimport { Button, StyleSheet, View, Text } from 'react-native';\nimport { requestWidgetUpdate } from 'react-native-android-widget';\n\nimport { CounterWidget } from './CounterWidget';\n\nexport function CounterScreen() {\n const [count, setCount] = React.useState(0);\n\n React.useEffect(() => {\n requestWidgetUpdate({\n widgetName: 'Counter',\n renderWidget: () => <CounterWidget count={count} />,\n widgetNotFound: () => {\n // Called if no widget is present on the home screen\n }\n });\n }, [count]);\n\n return (\n <View style={styles.container}>\n <Text>{count}</Text>\n <Button title=\"Increment\" onPress={() => setCount(count + 1)} />\n <Button title=\"Decrement\" onPress={() => setCount(count - 1)} />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n")),(0,i.kt)("h3",{id:"demo"},"Demo"),(0,i.kt)("p",null,"Check the full code in the ",(0,i.kt)("a",{parentName:"p",href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/screens/CounterScreen.tsx"},"Counter Screen")),(0,i.kt)("h2",{id:"types"},"Types"),(0,i.kt)("p",null,"Check the types in the ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api#requestwidgetupdate"},"Public API")," documentation"),(0,i.kt)("p",null,"The ",(0,i.kt)("inlineCode",{parentName:"p"},"requestWidgetUpdate")," function should be called with the properties described with ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/RequestWidgetUpdateProps"},"RequestWidgetUpdateProps")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7d14206d.9265b283.js b/assets/js/7d14206d.9265b283.js new file mode 100644 index 0000000..04a8eb1 --- /dev/null +++ b/assets/js/7d14206d.9265b283.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9896],{7024:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>o,toc:()=>c});var i=n(5893),d=n(1151);const r={sidebar_position:3},s="requestWidgetUpdate",o={id:"api/request-widget-update",title:"requestWidgetUpdate",description:"react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).",source:"@site/docs/api/request-widget-update.md",sourceDirName:"api",slug:"/api/request-widget-update",permalink:"/react-native-android-widget/docs/api/request-widget-update",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/request-widget-update.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"default",previous:{title:"registerWidgetTaskHandler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler"},next:{title:"registerWidgetConfigurationScreen",permalink:"/react-native-android-widget/docs/api/register-widget-configuration-screen"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Example",id:"example",level:3},{value:"Demo",id:"demo",level:3},{value:"Types",id:"types",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,d.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"requestwidgetupdate",children:"requestWidgetUpdate"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"react-native-android-widget"})," exports a ",(0,i.jsx)(t.code,{children:"requestWidgetUpdate"})," function that can be used to request a widget update while the application is open (or with some background task)."]}),"\n",(0,i.jsxs)(t.p,{children:["Since the user can add the same widget multiple times, with different sizes, ",(0,i.jsx)(t.code,{children:"requestWidgetUpdate"})," will cycle all widgets and allow us to redraw them."]}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(t.p,{children:["Lets assume we have a ",(0,i.jsx)(t.code,{children:"CounterWidget"})," widget that shows a single number, which it gets as a prop."]}),"\n",(0,i.jsxs)(t.p,{children:["If the user has added a ",(0,i.jsx)(t.code,{children:"CounterWidget"})," to the home screen, then when the ",(0,i.jsx)(t.code,{children:"CounterWidgetScreen"})," is opened we can update the number shown on the widget on the home screen using ",(0,i.jsx)(t.code,{children:"requestWidgetUpdate"}),"."]}),"\n",(0,i.jsxs)(t.p,{children:["If the user has added the ",(0,i.jsx)(t.code,{children:"CounterWidget"})," multiple times, ",(0,i.jsx)(t.code,{children:"renderWidget"})," will be called multiple times, once for each widget."]}),"\n",(0,i.jsxs)(t.p,{children:["If the user has not added the ",(0,i.jsx)(t.code,{children:"CounterWidget"})," on the Android home screen, the optional callback ",(0,i.jsx)(t.code,{children:"widgetNotFound"})," will be called."]}),"\n",(0,i.jsx)(t.h3,{id:"example",children:"Example"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-jsx",metastring:'title="CounterScreen.tsx"',children:"import * as React from 'react';\nimport { Button, StyleSheet, View, Text } from 'react-native';\nimport { requestWidgetUpdate } from 'react-native-android-widget';\n\nimport { CounterWidget } from './CounterWidget';\n\nexport function CounterScreen() {\n const [count, setCount] = React.useState(0);\n\n React.useEffect(() => {\n requestWidgetUpdate({\n widgetName: 'Counter',\n renderWidget: () => <CounterWidget count={count} />,\n widgetNotFound: () => {\n // Called if no widget is present on the home screen\n }\n });\n }, [count]);\n\n return (\n <View style={styles.container}>\n <Text>{count}</Text>\n <Button title=\"Increment\" onPress={() => setCount(count + 1)} />\n <Button title=\"Decrement\" onPress={() => setCount(count - 1)} />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n"})}),"\n",(0,i.jsx)(t.h3,{id:"demo",children:"Demo"}),"\n",(0,i.jsxs)(t.p,{children:["Check the full code in the ",(0,i.jsx)(t.a,{href:"https://github.com/sAleksovski/react-native-android-widget/blob/master/example/src/screens/CounterScreen.tsx",children:"Counter Screen"})]}),"\n",(0,i.jsx)(t.h2,{id:"types",children:"Types"}),"\n",(0,i.jsxs)(t.p,{children:["Check the types in the ",(0,i.jsx)(t.a,{href:"/docs/public-api#requestwidgetupdate",children:"Public API"})," documentation"]}),"\n",(0,i.jsxs)(t.p,{children:["The ",(0,i.jsx)(t.code,{children:"requestWidgetUpdate"})," function should be called with the properties described with ",(0,i.jsx)(t.a,{href:"/docs/public-api/interfaces/RequestWidgetUpdateProps",children:"RequestWidgetUpdateProps"})]})]})}function l(e={}){const{wrapper:t}={...(0,d.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>o,a:()=>s});var i=n(7294);const d={},r=i.createContext(d);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7f5eb84b.4a94c0f4.js b/assets/js/7f5eb84b.4a94c0f4.js deleted file mode 100644 index 61cbdc3..0000000 --- a/assets/js/7f5eb84b.4a94c0f4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9069],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>k});var i=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){if(null==e)return{};var r,i,a=function(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=i.createContext({}),l=function(e){var t=i.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},m=function(e){var t=l(e.components);return i.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var r=e.components,a=e.mdxType,n=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),h=l(r),k=a,s=h["".concat(p,".").concat(k)]||h[k]||c[k]||n;return r?i.createElement(s,o(o({ref:t},m),{},{components:r})):i.createElement(s,o({ref:t},m))}));function k(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var n=r.length,o=new Array(n);o[0]=h;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:a,o[1]=d;for(var l=2;l<n;l++)o[l]=r[l];return i.createElement.apply(null,o)}return i.createElement.apply(null,r)}h.displayName="MDXCreateElement"},1269:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>c,frontMatter:()=>n,metadata:()=>d,toc:()=>l});var i=r(7462),a=(r(7294),r(3905));const n={id:"CommonStyleProps",title:"Interface: CommonStyleProps",sidebar_label:"CommonStyleProps",sidebar_position:0,custom_edit_url:null},o=void 0,d={unversionedId:"public-api/interfaces/CommonStyleProps",id:"public-api/interfaces/CommonStyleProps",title:"Interface: CommonStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/CommonStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"CommonStyleProps",title:"Interface: CommonStyleProps",sidebar_label:"CommonStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},next:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"}},p={},l=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}],m={toc:l};function c(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,i.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"MarginStyleProps")))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"PaddingStyleProps")))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"SizeStyleProps")))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"BackgroundStyleProps")))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"BorderStyleProps")))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"},(0,a.kt)("inlineCode",{parentName:"a"},"OtherStyleProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"CommonStyleProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"FlexWidgetStyle"))),(0,a.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"IconWidgetStyle"))),(0,a.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"OverlapWidgetStyle"))),(0,a.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"TextWidgetStyle"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"margin"},"margin"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"margin"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin"},"margin")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal"},"marginHorizontal")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical"},"marginVertical")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"margintop"},"marginTop"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop"},"marginTop")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom"},"marginBottom")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"marginleft"},"marginLeft"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft"},"marginLeft")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"marginright"},"marginRight"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright"},"marginRight")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"padding"},"padding"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"padding"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#padding"},"padding")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddinghorizontal"},"paddingHorizontal")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingvertical"},"paddingVertical")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingtop"},"paddingTop")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingbottom"},"paddingBottom")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingleft"},"paddingLeft")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"paddingright"},"paddingRight"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps"},"PaddingStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingright"},"paddingRight")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"height"},"height"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"height"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,a.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},"SizeStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height"},"height")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"width"},"width"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"width"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,a.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},"SizeStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width"},"width")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},"BackgroundStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor"},"backgroundColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Object")),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"from")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"to")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"orientation")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,a.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},"BackgroundStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient"},"backgroundGradient")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderwidth"},"borderWidth")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopwidth"},"borderTopWidth")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomwidth"},"borderBottomWidth")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderleftwidth"},"borderLeftWidth")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderrightwidth"},"borderRightWidth")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"bordercolor"},"borderColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordercolor"},"borderColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopcolor"},"borderTopColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomcolor"},"borderBottomColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderleftcolor"},"borderLeftColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,a.kt)("a",{parentName:"p",href:"../#colorprop"},(0,a.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,a.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderrightcolor"},"borderRightColor")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderradius"},"borderRadius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderradius"},"borderRadius")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopleftradius"},"borderTopLeftRadius")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertoprightradius"},"borderTopRightRadius")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomleftradius"},"borderBottomLeftRadius")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomrightradius"},"borderBottomRightRadius")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,a.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,a.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},"BorderStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderstyle"},"borderStyle")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"rotation"},"rotation"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"rotation"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"},"OtherStyleProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps#rotation"},"rotation")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7f5eb84b.5347e75f.js b/assets/js/7f5eb84b.5347e75f.js new file mode 100644 index 0000000..7d64e8a --- /dev/null +++ b/assets/js/7f5eb84b.5347e75f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9069],{8351:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>c});var d=i(5893),n=i(1151);const t={id:"CommonStyleProps",title:"Interface: CommonStyleProps",sidebar_label:"CommonStyleProps",sidebar_position:0,custom_edit_url:null},o=void 0,l={id:"public-api/interfaces/CommonStyleProps",title:"Interface: CommonStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/CommonStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"CommonStyleProps",title:"Interface: CommonStyleProps",sidebar_label:"CommonStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},next:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:(0,d.jsx)(r.code,{children:"MarginStyleProps"})})}),"\n"]}),"\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:(0,d.jsx)(r.code,{children:"PaddingStyleProps"})})}),"\n"]}),"\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:(0,d.jsx)(r.code,{children:"SizeStyleProps"})})}),"\n"]}),"\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:(0,d.jsx)(r.code,{children:"BackgroundStyleProps"})})}),"\n"]}),"\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:(0,d.jsx)(r.code,{children:"BorderStyleProps"})})}),"\n"]}),"\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",children:(0,d.jsx)(r.code,{children:"OtherStyleProps"})})}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"CommonStyleProps"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",children:(0,d.jsx)(r.code,{children:"FlexWidgetStyle"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",children:(0,d.jsx)(r.code,{children:"IconWidgetStyle"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",children:(0,d.jsx)(r.code,{children:"OverlapWidgetStyle"})})]}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3\u21b3 ",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",children:(0,d.jsx)(r.code,{children:"TextWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"margin"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin",children:"margin"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop",children:"marginTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright",children:"marginRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"padding"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#padding",children:"padding"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",children:"PaddingStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"height"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height",children:"height"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"width"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width",children:"width"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,d.jsx)(r.code,{children:"Object"})]}),"\n",(0,d.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"from"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"to"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"orientation"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,d.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,d.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,d.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,d.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,d.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,d.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,d.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderStyle"}),": ",(0,d.jsx)(r.code,{children:'"solid"'})," | ",(0,d.jsx)(r.code,{children:'"dotted"'})," | ",(0,d.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:"BorderStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"rotation"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",children:"OtherStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps#rotation",children:"rotation"})]})]})}function h(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>o});var d=i(7294);const n={},t=d.createContext(n);function o(e){const r=d.useContext(t);return d.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),d.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/82b1394b.aea30ef9.js b/assets/js/82b1394b.aea30ef9.js deleted file mode 100644 index 11510b4..0000000 --- a/assets/js/82b1394b.aea30ef9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6117],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var d=i.createContext({}),c=function(e){var t=i.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return i.createElement(d.Provider,{value:t},e.children)},g={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},l=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,d=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),l=c(r),m=n,u=l["".concat(d,".").concat(m)]||l[m]||g[m]||a;return r?i.createElement(u,o(o({ref:t},p),{},{components:r})):i.createElement(u,o({ref:t},p))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=l;var s={};for(var d in t)hasOwnProperty.call(t,d)&&(s[d]=t[d]);s.originalType=e,s.mdxType="string"==typeof e?e:n,o[1]=s;for(var c=2;c<a;c++)o[c]=r[c];return i.createElement.apply(null,o)}return i.createElement.apply(null,r)}l.displayName="MDXCreateElement"},2485:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>g,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var i=r(7462),n=(r(7294),r(3905));const a={sidebar_position:4},o="ImageWidget",s={unversionedId:"primitives/image-widget",id:"primitives/image-widget",title:"ImageWidget",description:"Widget for displaying different types of images, including network images, data:/image images, and static resources.",source:"@site/docs/primitives/image-widget.md",sourceDirName:"primitives",slug:"/primitives/image-widget",permalink:"/react-native-android-widget/docs/primitives/image-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/image-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"ListWidget",permalink:"/react-native-android-widget/docs/primitives/list-widget"},next:{title:"TextWidget",permalink:"/react-native-android-widget/docs/primitives/text-widget"}},d={},c=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}],p={toc:c};function g(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"imagewidget"},"ImageWidget"),(0,n.kt)("p",null,"Widget for displaying different types of images, including network images, ",(0,n.kt)("inlineCode",{parentName:"p"},"data:/image")," images, and static resources."),(0,n.kt)("h2",{id:"usage"},"Usage"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-tsx"},"import { FlexWidget, ImageWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <ImageWidget\n image={require('../assets/image-file.jpg')}\n imageWidth={88}\n imageHeight={88}\n />\n </FlexWidget>\n );\n}\n")),(0,n.kt)("h2",{id:"props"},"Props"),(0,n.kt)("p",null,"Check the props in the ",(0,n.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/ImageWidgetProps"},"Public API")," documentation"))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/82b1394b.c3d1f722.js b/assets/js/82b1394b.c3d1f722.js new file mode 100644 index 0000000..361ebd4 --- /dev/null +++ b/assets/js/82b1394b.c3d1f722.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6117],{8418:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>a,default:()=>m,frontMatter:()=>r,metadata:()=>d,toc:()=>c});var n=t(5893),s=t(1151);const r={sidebar_position:4},a="ImageWidget",d={id:"primitives/image-widget",title:"ImageWidget",description:"Widget for displaying different types of images, including network images, data:/image images, and static resources.",source:"@site/docs/primitives/image-widget.md",sourceDirName:"primitives",slug:"/primitives/image-widget",permalink:"/react-native-android-widget/docs/primitives/image-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/image-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"ListWidget",permalink:"/react-native-android-widget/docs/primitives/list-widget"},next:{title:"TextWidget",permalink:"/react-native-android-widget/docs/primitives/text-widget"}},o={},c=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}];function g(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"imagewidget",children:"ImageWidget"}),"\n",(0,n.jsxs)(i.p,{children:["Widget for displaying different types of images, including network images, ",(0,n.jsx)(i.code,{children:"data:/image"})," images, and static resources."]}),"\n",(0,n.jsx)(i.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(i.pre,{children:(0,n.jsx)(i.code,{className:"language-tsx",children:"import { FlexWidget, ImageWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <ImageWidget\n image={require('../assets/image-file.jpg')}\n imageWidth={88}\n imageHeight={88}\n />\n </FlexWidget>\n );\n}\n"})}),"\n",(0,n.jsx)(i.h2,{id:"props",children:"Props"}),"\n",(0,n.jsxs)(i.p,{children:["Check the props in the ",(0,n.jsx)(i.a,{href:"/docs/public-api/interfaces/ImageWidgetProps",children:"Public API"})," documentation"]})]})}function m(e={}){const{wrapper:i}={...(0,s.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},1151:(e,i,t)=>{t.d(i,{Z:()=>d,a:()=>a});var n=t(7294);const s={},r=n.createContext(s);function a(e){const i=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8d25c1fb.024c7f76.js b/assets/js/8d25c1fb.024c7f76.js deleted file mode 100644 index f2dcf79..0000000 --- a/assets/js/8d25c1fb.024c7f76.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1328],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>k});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var c=n.createContext({}),p=function(e){var t=n.useContext(c),i=t;return e&&(i="function"==typeof e?e(t):l(l({},t),e)),i},d=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=p(i),k=r,m=u["".concat(c,".").concat(k)]||u[k]||s[k]||a;return i?n.createElement(m,l(l({ref:t},d),{},{components:i})):n.createElement(m,l({ref:t},d))}));function k(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,l=new Array(a);l[0]=u;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:r,l[1]=o;for(var p=2;p<a;p++)l[p]=i[p];return n.createElement.apply(null,l)}return n.createElement.apply(null,i)}u.displayName="MDXCreateElement"},1566:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var n=i(7462),r=(i(7294),i(3905));const a={id:"FlexWidgetProps",title:"Interface: FlexWidgetProps",sidebar_label:"FlexWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/FlexWidgetProps",id:"public-api/interfaces/FlexWidgetProps",title:"Interface: FlexWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetProps",title:"Interface: FlexWidgetProps",sidebar_label:"FlexWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},next:{title:"FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"}},c={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:p};function s(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"FlexWidgetProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"any")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"style"},"style"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"style"),": ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"},(0,r.kt)("inlineCode",{parentName:"a"},"FlexWidgetStyle"))),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickaction"},"clickAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,r.kt)("p",null,"There are a few special values for ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,r.kt)("p",null,"Those are:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,r.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,r.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,r.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,r.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,r.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,r.kt)("p",null,"If ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,r.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,r.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8d25c1fb.2b16981b.js b/assets/js/8d25c1fb.2b16981b.js new file mode 100644 index 0000000..82056a5 --- /dev/null +++ b/assets/js/8d25c1fb.2b16981b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1328],{9602:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>s,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>d,toc:()=>o});var c=n(5893),t=n(1151);const r={id:"FlexWidgetProps",title:"Interface: FlexWidgetProps",sidebar_label:"FlexWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,d={id:"public-api/interfaces/FlexWidgetProps",title:"Interface: FlexWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetProps",title:"Interface: FlexWidgetProps",sidebar_label:"FlexWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"CommonStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},next:{title:"FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle"}},s={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:["\n",(0,c.jsx)(i.p,{children:(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,c.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,c.jsxs)(i.p,{children:["\u21b3 ",(0,c.jsx)(i.strong,{children:(0,c.jsx)(i.code,{children:"FlexWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(i.h3,{id:"children",children:"children"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"children"}),": ",(0,c.jsx)(i.code,{children:"any"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"style"}),": ",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",children:(0,c.jsx)(i.code,{children:"FlexWidgetStyle"})})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickAction"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,c.jsxs)(i.p,{children:["There are a few special values for ",(0,c.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(i.p,{children:"Those are:"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," does not require ",(0,c.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," requires a ",(0,c.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickActionData"}),": ",(0,c.jsx)(i.code,{children:"Record"}),"<",(0,c.jsx)(i.code,{children:"string"}),", ",(0,c.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,c.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,c.jsxs)(i.p,{children:["If ",(0,c.jsx)(i.code,{children:"clickAction"})," is ",(0,c.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,c.jsx)(i,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>d,a:()=>l});var c=n(7294);const t={},r=c.createContext(t);function l(e){const i=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),c.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935b7169.f00ef857.js b/assets/js/935b7169.f00ef857.js deleted file mode 100644 index 08b49a1..0000000 --- a/assets/js/935b7169.f00ef857.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9829],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},s=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(n),m=a,f=u["".concat(p,".").concat(m)]||u[m]||d[m]||i;return n?r.createElement(f,o(o({ref:t},s),{},{components:n})):r.createElement(f,o({ref:t},s))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var c=2;c<i;c++)o[c]=n[c];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},1549:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var r=n(7462),a=(n(7294),n(3905));const i={id:"IconWidget",title:"Namespace: IconWidget",sidebar_label:"IconWidget",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/namespaces/IconWidget",id:"public-api/namespaces/IconWidget",title:"Namespace: IconWidget",description:"Variables",source:"@site/docs/public-api/namespaces/IconWidget.md",sourceDirName:"public-api/namespaces",slug:"/public-api/namespaces/IconWidget",permalink:"/react-native-android-widget/docs/public-api/namespaces/IconWidget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IconWidget",title:"Namespace: IconWidget",sidebar_label:"IconWidget",sidebar_position:0,custom_edit_url:null}},p={},c=[{value:"Variables",id:"variables",level:2},{value:"__name__",id:"__name__",level:3},{value:"Functions",id:"functions",level:2},{value:"convertProps",id:"convertprops",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4}],s={toc:c};function d(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"variables"},"Variables"),(0,a.kt)("h3",{id:"__name__"},"_","_","name","_","_"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"_","_","name","_","_"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h2",{id:"functions"},"Functions"),(0,a.kt)("h3",{id:"convertprops"},"convertProps"),(0,a.kt)("p",null,"\u25b8 ",(0,a.kt)("strong",{parentName:"p"},"convertProps"),"(",(0,a.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"IconWidgetInternalProps")),(0,a.kt)("h4",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"props")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("a",{parentName:"td",href:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},(0,a.kt)("inlineCode",{parentName:"a"},"IconWidgetProps")))))),(0,a.kt)("h4",{id:"returns"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"IconWidgetInternalProps")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.1f770a08.js b/assets/js/935f2afb.1f770a08.js deleted file mode 100644 index 3d02fe6..0000000 --- a/assets/js/935f2afb.1f770a08.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"default":[{"type":"link","label":"Getting Started","href":"/react-native-android-widget/docs/","docId":"index"},{"type":"category","label":"Tutorial","items":[{"type":"link","label":"Widget Design","href":"/react-native-android-widget/docs/tutorial/widget-design","docId":"tutorial/widget-design"},{"type":"link","label":"Widget Preview","href":"/react-native-android-widget/docs/tutorial/widget-preview","docId":"tutorial/widget-preview"},{"type":"link","label":"Register task handler","href":"/react-native-android-widget/docs/tutorial/register-task-handler","docId":"tutorial/register-task-handler"},{"type":"link","label":"Register widget","href":"/react-native-android-widget/docs/tutorial/register-widget","docId":"tutorial/register-widget"},{"type":"link","label":"Register widget in Expo","href":"/react-native-android-widget/docs/tutorial/register-widget-expo","docId":"tutorial/register-widget-expo"},{"type":"link","label":"Make Widget configurable (Optional)","href":"/react-native-android-widget/docs/tutorial/make-widget-configurable","docId":"tutorial/make-widget-configurable"},{"type":"link","label":"Try it out","href":"/react-native-android-widget/docs/tutorial/try-it-our","docId":"tutorial/try-it-our"},{"type":"link","label":"Congratulations!","href":"/react-native-android-widget/docs/tutorial/congratulations","docId":"tutorial/congratulations"}],"collapsed":true,"collapsible":true},{"type":"category","label":"API","items":[{"type":"link","label":"WidgetPreview","href":"/react-native-android-widget/docs/api/widget-preview","docId":"api/widget-preview"},{"type":"link","label":"registerWidgetTaskHandler","href":"/react-native-android-widget/docs/api/register-widget-task-handler","docId":"api/register-widget-task-handler"},{"type":"link","label":"requestWidgetUpdate","href":"/react-native-android-widget/docs/api/request-widget-update","docId":"api/request-widget-update"},{"type":"link","label":"registerWidgetConfigurationScreen","href":"/react-native-android-widget/docs/api/register-widget-configuration-screen","docId":"api/register-widget-configuration-screen"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Primitives","items":[{"type":"link","label":"FlexWidget","href":"/react-native-android-widget/docs/primitives/flex-widget","docId":"primitives/flex-widget"},{"type":"link","label":"OverlapWidget","href":"/react-native-android-widget/docs/primitives/overlap-widget","docId":"primitives/overlap-widget"},{"type":"link","label":"ListWidget","href":"/react-native-android-widget/docs/primitives/list-widget","docId":"primitives/list-widget"},{"type":"link","label":"ImageWidget","href":"/react-native-android-widget/docs/primitives/image-widget","docId":"primitives/image-widget"},{"type":"link","label":"TextWidget","href":"/react-native-android-widget/docs/primitives/text-widget","docId":"primitives/text-widget"},{"type":"link","label":"IconWidget","href":"/react-native-android-widget/docs/primitives/icon-widget","docId":"primitives/icon-widget"},{"type":"link","label":"SvgWidget","href":"/react-native-android-widget/docs/primitives/svg-widget","docId":"primitives/svg-widget"}],"collapsed":true,"collapsible":true,"href":"/react-native-android-widget/docs/primitives/index"},{"type":"link","label":"Update Widget","href":"/react-native-android-widget/docs/update-widget","docId":"update-widget"},{"type":"link","label":"Handling Clicks","href":"/react-native-android-widget/docs/handling-clicks","docId":"handling-clicks"},{"type":"link","label":"Demo","href":"/react-native-android-widget/docs/demo","docId":"demo"},{"type":"link","label":"Limitations","href":"/react-native-android-widget/docs/limitations","docId":"limitations"}],"api":[{"type":"link","label":"Exports","href":"/react-native-android-widget/docs/public-api/","docId":"public-api/index"},{"type":"category","label":"Interfaces","collapsed":false,"items":[{"type":"link","label":"BackgroundStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","docId":"public-api/interfaces/BackgroundStyleProps"},{"type":"link","label":"BorderStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","docId":"public-api/interfaces/BorderStyleProps"},{"type":"link","label":"ClickActionProps","href":"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","docId":"public-api/interfaces/ClickActionProps"},{"type":"link","label":"CommonStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","docId":"public-api/interfaces/CommonStyleProps"},{"type":"link","label":"FlexWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","docId":"public-api/interfaces/FlexWidgetProps"},{"type":"link","label":"FlexWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","docId":"public-api/interfaces/FlexWidgetStyle"},{"type":"link","label":"IconWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","docId":"public-api/interfaces/IconWidgetProps"},{"type":"link","label":"IconWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","docId":"public-api/interfaces/IconWidgetStyle"},{"type":"link","label":"ImageWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","docId":"public-api/interfaces/ImageWidgetProps"},{"type":"link","label":"ListWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","docId":"public-api/interfaces/ListWidgetProps"},{"type":"link","label":"ListWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","docId":"public-api/interfaces/ListWidgetStyle"},{"type":"link","label":"MarginStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","docId":"public-api/interfaces/MarginStyleProps"},{"type":"link","label":"OtherStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","docId":"public-api/interfaces/OtherStyleProps"},{"type":"link","label":"OverlapWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","docId":"public-api/interfaces/OverlapWidgetProps"},{"type":"link","label":"OverlapWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","docId":"public-api/interfaces/OverlapWidgetStyle"},{"type":"link","label":"PaddingStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","docId":"public-api/interfaces/PaddingStyleProps"},{"type":"link","label":"RequestWidgetUpdateProps","href":"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","docId":"public-api/interfaces/RequestWidgetUpdateProps"},{"type":"link","label":"ScreenInfo","href":"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","docId":"public-api/interfaces/ScreenInfo"},{"type":"link","label":"SizeStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","docId":"public-api/interfaces/SizeStyleProps"},{"type":"link","label":"SvgWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","docId":"public-api/interfaces/SvgWidgetProps"},{"type":"link","label":"TextWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","docId":"public-api/interfaces/TextWidgetProps"},{"type":"link","label":"TextWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","docId":"public-api/interfaces/TextWidgetStyle"},{"type":"link","label":"Widget","href":"/react-native-android-widget/docs/public-api/interfaces/Widget","docId":"public-api/interfaces/Widget"},{"type":"link","label":"WidgetConfigurationScreenProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","docId":"public-api/interfaces/WidgetConfigurationScreenProps"},{"type":"link","label":"WidgetInfo","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","docId":"public-api/interfaces/WidgetInfo"},{"type":"link","label":"WidgetPreviewProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","docId":"public-api/interfaces/WidgetPreviewProps"},{"type":"link","label":"WidgetTaskHandlerProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","docId":"public-api/interfaces/WidgetTaskHandlerProps"},{"type":"link","label":"WithAndroidWidgetsParams","href":"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","docId":"public-api/interfaces/WithAndroidWidgetsParams"}],"collapsible":true}]},"docs":{"api/register-widget-configuration-screen":{"id":"api/register-widget-configuration-screen","title":"registerWidgetConfigurationScreen","description":"react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.","sidebar":"default"},"api/register-widget-task-handler":{"id":"api/register-widget-task-handler","title":"registerWidgetTaskHandler","description":"react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...","sidebar":"default"},"api/request-widget-update":{"id":"api/request-widget-update","title":"requestWidgetUpdate","description":"react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).","sidebar":"default"},"api/widget-preview":{"id":"api/widget-preview","title":"WidgetPreview","description":"react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.","sidebar":"default"},"demo":{"id":"demo","title":"Demo","description":"You can download the demo app with the example widgets from the Releases Page","sidebar":"default"},"handling-clicks":{"id":"handling-clicks","title":"Handling Clicks","description":"All widget primitives can be clicked, and execute some code.","sidebar":"default"},"index":{"id":"index","title":"Getting Started","description":"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.","sidebar":"default"},"limitations":{"id":"limitations","title":"Limitations","description":"There are some limitations to this library.","sidebar":"default"},"primitives/flex-widget":{"id":"primitives/flex-widget","title":"FlexWidget","description":"Widget container that lays out child widgets using flexbox.","sidebar":"default"},"primitives/icon-widget":{"id":"primitives/icon-widget","title":"IconWidget","description":"Widget for displaying icons.","sidebar":"default"},"primitives/image-widget":{"id":"primitives/image-widget","title":"ImageWidget","description":"Widget for displaying different types of images, including network images, data:/image images, and static resources.","sidebar":"default"},"primitives/list-widget":{"id":"primitives/list-widget","title":"ListWidget","description":"Widget container that shows a scrollable list that can contain multiple items.","sidebar":"default"},"primitives/overlap-widget":{"id":"primitives/overlap-widget","title":"OverlapWidget","description":"Widget container that lays out child widgets on on top of the other.","sidebar":"default"},"primitives/svg-widget":{"id":"primitives/svg-widget","title":"SvgWidget","description":"Widget for displaying SVG.","sidebar":"default"},"primitives/text-widget":{"id":"primitives/text-widget","title":"TextWidget","description":"Widget for displaying text.","sidebar":"default"},"public-api/index":{"id":"public-api/index","title":"react-native-android-widget","description":"Interfaces","sidebar":"api"},"public-api/interfaces/BackgroundStyleProps":{"id":"public-api/interfaces/BackgroundStyleProps","title":"Interface: BackgroundStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/BorderStyleProps":{"id":"public-api/interfaces/BorderStyleProps","title":"Interface: BorderStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ClickActionProps":{"id":"public-api/interfaces/ClickActionProps","title":"Interface: ClickActionProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/CommonStyleProps":{"id":"public-api/interfaces/CommonStyleProps","title":"Interface: CommonStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/FlexWidgetProps":{"id":"public-api/interfaces/FlexWidgetProps","title":"Interface: FlexWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/FlexWidgetStyle":{"id":"public-api/interfaces/FlexWidgetStyle","title":"Interface: FlexWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/IconWidgetProps":{"id":"public-api/interfaces/IconWidgetProps","title":"Interface: IconWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/IconWidgetStyle":{"id":"public-api/interfaces/IconWidgetStyle","title":"Interface: IconWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ImageWidgetProps":{"id":"public-api/interfaces/ImageWidgetProps","title":"Interface: ImageWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ListWidgetProps":{"id":"public-api/interfaces/ListWidgetProps","title":"Interface: ListWidgetProps","description":"Properties","sidebar":"api"},"public-api/interfaces/ListWidgetStyle":{"id":"public-api/interfaces/ListWidgetStyle","title":"Interface: ListWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/MarginStyleProps":{"id":"public-api/interfaces/MarginStyleProps","title":"Interface: MarginStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OtherStyleProps":{"id":"public-api/interfaces/OtherStyleProps","title":"Interface: OtherStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OverlapWidgetProps":{"id":"public-api/interfaces/OverlapWidgetProps","title":"Interface: OverlapWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OverlapWidgetStyle":{"id":"public-api/interfaces/OverlapWidgetStyle","title":"Interface: OverlapWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/PaddingStyleProps":{"id":"public-api/interfaces/PaddingStyleProps","title":"Interface: PaddingStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/RequestWidgetUpdateProps":{"id":"public-api/interfaces/RequestWidgetUpdateProps","title":"Interface: RequestWidgetUpdateProps","description":"Properties","sidebar":"api"},"public-api/interfaces/ScreenInfo":{"id":"public-api/interfaces/ScreenInfo","title":"Interface: ScreenInfo","description":"Properties","sidebar":"api"},"public-api/interfaces/SizeStyleProps":{"id":"public-api/interfaces/SizeStyleProps","title":"Interface: SizeStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/SvgWidgetProps":{"id":"public-api/interfaces/SvgWidgetProps","title":"Interface: SvgWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/TextWidgetProps":{"id":"public-api/interfaces/TextWidgetProps","title":"Interface: TextWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/TextWidgetStyle":{"id":"public-api/interfaces/TextWidgetStyle","title":"Interface: TextWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/Widget":{"id":"public-api/interfaces/Widget","title":"Interface: Widget","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetConfigurationScreenProps":{"id":"public-api/interfaces/WidgetConfigurationScreenProps","title":"Interface: WidgetConfigurationScreenProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetInfo":{"id":"public-api/interfaces/WidgetInfo","title":"Interface: WidgetInfo","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetPreviewProps":{"id":"public-api/interfaces/WidgetPreviewProps","title":"Interface: WidgetPreviewProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetTaskHandlerProps":{"id":"public-api/interfaces/WidgetTaskHandlerProps","title":"Interface: WidgetTaskHandlerProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WithAndroidWidgetsParams":{"id":"public-api/interfaces/WithAndroidWidgetsParams","title":"Interface: WithAndroidWidgetsParams","description":"Properties","sidebar":"api"},"public-api/namespaces/FlexWidget":{"id":"public-api/namespaces/FlexWidget","title":"Namespace: FlexWidget","description":"Variables"},"public-api/namespaces/IconWidget":{"id":"public-api/namespaces/IconWidget","title":"Namespace: IconWidget","description":"Variables"},"public-api/namespaces/ImageWidget":{"id":"public-api/namespaces/ImageWidget","title":"Namespace: ImageWidget","description":"Variables"},"public-api/namespaces/ListWidget":{"id":"public-api/namespaces/ListWidget","title":"Namespace: ListWidget","description":"Variables"},"public-api/namespaces/OverlapWidget":{"id":"public-api/namespaces/OverlapWidget","title":"Namespace: OverlapWidget","description":"Variables"},"public-api/namespaces/SvgWidget":{"id":"public-api/namespaces/SvgWidget","title":"Namespace: SvgWidget","description":"Variables"},"public-api/namespaces/TextWidget":{"id":"public-api/namespaces/TextWidget","title":"Namespace: TextWidget","description":"Functions"},"tutorial/congratulations":{"id":"tutorial/congratulations","title":"Congratulations!","description":"You have just learned the basics of react-native-android-widget and created your first widget.","sidebar":"default"},"tutorial/make-widget-configurable":{"id":"tutorial/make-widget-configurable","title":"Make Widget configurable (Optional)","description":"In order to some of the widgets configurable, we need to create a widget configuration activity.","sidebar":"default"},"tutorial/register-task-handler":{"id":"tutorial/register-task-handler","title":"Register task handler","description":"We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.","sidebar":"default"},"tutorial/register-widget":{"id":"tutorial/register-widget","title":"Register widget","description":"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.","sidebar":"default"},"tutorial/register-widget-expo":{"id":"tutorial/register-widget-expo","title":"Register widget in Expo","description":"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.","sidebar":"default"},"tutorial/try-it-our":{"id":"tutorial/try-it-our","title":"Try it out","description":"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.","sidebar":"default"},"tutorial/widget-design":{"id":"tutorial/widget-design","title":"Widget Design","description":"This library provides a few primitives that we can use to create widgets.","sidebar":"default"},"tutorial/widget-preview":{"id":"tutorial/widget-preview","title":"Widget Preview","description":"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.","sidebar":"default"},"update-widget":{"id":"update-widget","title":"Update Widget","description":"There are two ways to update a widget once it is added on the home screen.","sidebar":"default"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.8e153e26.js b/assets/js/935f2afb.8e153e26.js new file mode 100644 index 0000000..78247a7 --- /dev/null +++ b/assets/js/935f2afb.8e153e26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"default":[{"type":"link","label":"Getting Started","href":"/react-native-android-widget/docs/","docId":"index","unlisted":false},{"type":"category","label":"Tutorial","items":[{"type":"link","label":"Widget Design","href":"/react-native-android-widget/docs/tutorial/widget-design","docId":"tutorial/widget-design","unlisted":false},{"type":"link","label":"Widget Preview","href":"/react-native-android-widget/docs/tutorial/widget-preview","docId":"tutorial/widget-preview","unlisted":false},{"type":"link","label":"Register task handler","href":"/react-native-android-widget/docs/tutorial/register-task-handler","docId":"tutorial/register-task-handler","unlisted":false},{"type":"link","label":"Register widget","href":"/react-native-android-widget/docs/tutorial/register-widget","docId":"tutorial/register-widget","unlisted":false},{"type":"link","label":"Register widget in Expo","href":"/react-native-android-widget/docs/tutorial/register-widget-expo","docId":"tutorial/register-widget-expo","unlisted":false},{"type":"link","label":"Make Widget configurable (Optional)","href":"/react-native-android-widget/docs/tutorial/make-widget-configurable","docId":"tutorial/make-widget-configurable","unlisted":false},{"type":"link","label":"Try it out","href":"/react-native-android-widget/docs/tutorial/try-it-our","docId":"tutorial/try-it-our","unlisted":false},{"type":"link","label":"Congratulations!","href":"/react-native-android-widget/docs/tutorial/congratulations","docId":"tutorial/congratulations","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"API","items":[{"type":"link","label":"WidgetPreview","href":"/react-native-android-widget/docs/api/widget-preview","docId":"api/widget-preview","unlisted":false},{"type":"link","label":"registerWidgetTaskHandler","href":"/react-native-android-widget/docs/api/register-widget-task-handler","docId":"api/register-widget-task-handler","unlisted":false},{"type":"link","label":"requestWidgetUpdate","href":"/react-native-android-widget/docs/api/request-widget-update","docId":"api/request-widget-update","unlisted":false},{"type":"link","label":"registerWidgetConfigurationScreen","href":"/react-native-android-widget/docs/api/register-widget-configuration-screen","docId":"api/register-widget-configuration-screen","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Primitives","items":[{"type":"link","label":"FlexWidget","href":"/react-native-android-widget/docs/primitives/flex-widget","docId":"primitives/flex-widget","unlisted":false},{"type":"link","label":"OverlapWidget","href":"/react-native-android-widget/docs/primitives/overlap-widget","docId":"primitives/overlap-widget","unlisted":false},{"type":"link","label":"ListWidget","href":"/react-native-android-widget/docs/primitives/list-widget","docId":"primitives/list-widget","unlisted":false},{"type":"link","label":"ImageWidget","href":"/react-native-android-widget/docs/primitives/image-widget","docId":"primitives/image-widget","unlisted":false},{"type":"link","label":"TextWidget","href":"/react-native-android-widget/docs/primitives/text-widget","docId":"primitives/text-widget","unlisted":false},{"type":"link","label":"IconWidget","href":"/react-native-android-widget/docs/primitives/icon-widget","docId":"primitives/icon-widget","unlisted":false},{"type":"link","label":"SvgWidget","href":"/react-native-android-widget/docs/primitives/svg-widget","docId":"primitives/svg-widget","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/react-native-android-widget/docs/primitives/index"},{"type":"link","label":"Update Widget","href":"/react-native-android-widget/docs/update-widget","docId":"update-widget","unlisted":false},{"type":"link","label":"Handling Clicks","href":"/react-native-android-widget/docs/handling-clicks","docId":"handling-clicks","unlisted":false},{"type":"link","label":"Demo","href":"/react-native-android-widget/docs/demo","docId":"demo","unlisted":false},{"type":"link","label":"Limitations","href":"/react-native-android-widget/docs/limitations","docId":"limitations","unlisted":false}],"api":[{"type":"link","label":"Exports","href":"/react-native-android-widget/docs/public-api/","docId":"public-api/index","unlisted":false},{"type":"category","label":"Interfaces","collapsed":false,"items":[{"type":"link","label":"BackgroundStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","docId":"public-api/interfaces/BackgroundStyleProps","unlisted":false},{"type":"link","label":"BorderStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","docId":"public-api/interfaces/BorderStyleProps","unlisted":false},{"type":"link","label":"ClickActionProps","href":"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","docId":"public-api/interfaces/ClickActionProps","unlisted":false},{"type":"link","label":"CommonStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","docId":"public-api/interfaces/CommonStyleProps","unlisted":false},{"type":"link","label":"FlexWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","docId":"public-api/interfaces/FlexWidgetProps","unlisted":false},{"type":"link","label":"FlexWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","docId":"public-api/interfaces/FlexWidgetStyle","unlisted":false},{"type":"link","label":"IconWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","docId":"public-api/interfaces/IconWidgetProps","unlisted":false},{"type":"link","label":"IconWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","docId":"public-api/interfaces/IconWidgetStyle","unlisted":false},{"type":"link","label":"ImageWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","docId":"public-api/interfaces/ImageWidgetProps","unlisted":false},{"type":"link","label":"ListWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","docId":"public-api/interfaces/ListWidgetProps","unlisted":false},{"type":"link","label":"ListWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","docId":"public-api/interfaces/ListWidgetStyle","unlisted":false},{"type":"link","label":"MarginStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","docId":"public-api/interfaces/MarginStyleProps","unlisted":false},{"type":"link","label":"OtherStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","docId":"public-api/interfaces/OtherStyleProps","unlisted":false},{"type":"link","label":"OverlapWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","docId":"public-api/interfaces/OverlapWidgetProps","unlisted":false},{"type":"link","label":"OverlapWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","docId":"public-api/interfaces/OverlapWidgetStyle","unlisted":false},{"type":"link","label":"PaddingStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","docId":"public-api/interfaces/PaddingStyleProps","unlisted":false},{"type":"link","label":"RequestWidgetUpdateProps","href":"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","docId":"public-api/interfaces/RequestWidgetUpdateProps","unlisted":false},{"type":"link","label":"ScreenInfo","href":"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","docId":"public-api/interfaces/ScreenInfo","unlisted":false},{"type":"link","label":"SizeStyleProps","href":"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","docId":"public-api/interfaces/SizeStyleProps","unlisted":false},{"type":"link","label":"SvgWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","docId":"public-api/interfaces/SvgWidgetProps","unlisted":false},{"type":"link","label":"TextWidgetProps","href":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","docId":"public-api/interfaces/TextWidgetProps","unlisted":false},{"type":"link","label":"TextWidgetStyle","href":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","docId":"public-api/interfaces/TextWidgetStyle","unlisted":false},{"type":"link","label":"Widget","href":"/react-native-android-widget/docs/public-api/interfaces/Widget","docId":"public-api/interfaces/Widget","unlisted":false},{"type":"link","label":"WidgetConfigurationScreenProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","docId":"public-api/interfaces/WidgetConfigurationScreenProps","unlisted":false},{"type":"link","label":"WidgetInfo","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","docId":"public-api/interfaces/WidgetInfo","unlisted":false},{"type":"link","label":"WidgetPreviewProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","docId":"public-api/interfaces/WidgetPreviewProps","unlisted":false},{"type":"link","label":"WidgetTaskHandlerProps","href":"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","docId":"public-api/interfaces/WidgetTaskHandlerProps","unlisted":false},{"type":"link","label":"WithAndroidWidgetsParams","href":"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","docId":"public-api/interfaces/WithAndroidWidgetsParams","unlisted":false}],"collapsible":true}]},"docs":{"api/register-widget-configuration-screen":{"id":"api/register-widget-configuration-screen","title":"registerWidgetConfigurationScreen","description":"react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.","sidebar":"default"},"api/register-widget-task-handler":{"id":"api/register-widget-task-handler","title":"registerWidgetTaskHandler","description":"react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...","sidebar":"default"},"api/request-widget-update":{"id":"api/request-widget-update","title":"requestWidgetUpdate","description":"react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).","sidebar":"default"},"api/widget-preview":{"id":"api/widget-preview","title":"WidgetPreview","description":"react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.","sidebar":"default"},"demo":{"id":"demo","title":"Demo","description":"You can download the demo app with the example widgets from the Releases Page","sidebar":"default"},"handling-clicks":{"id":"handling-clicks","title":"Handling Clicks","description":"All widget primitives can be clicked, and execute some code.","sidebar":"default"},"index":{"id":"index","title":"Getting Started","description":"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.","sidebar":"default"},"limitations":{"id":"limitations","title":"Limitations","description":"There are some limitations to this library.","sidebar":"default"},"primitives/flex-widget":{"id":"primitives/flex-widget","title":"FlexWidget","description":"Widget container that lays out child widgets using flexbox.","sidebar":"default"},"primitives/icon-widget":{"id":"primitives/icon-widget","title":"IconWidget","description":"Widget for displaying icons.","sidebar":"default"},"primitives/image-widget":{"id":"primitives/image-widget","title":"ImageWidget","description":"Widget for displaying different types of images, including network images, data:/image images, and static resources.","sidebar":"default"},"primitives/list-widget":{"id":"primitives/list-widget","title":"ListWidget","description":"Widget container that shows a scrollable list that can contain multiple items.","sidebar":"default"},"primitives/overlap-widget":{"id":"primitives/overlap-widget","title":"OverlapWidget","description":"Widget container that lays out child widgets on on top of the other.","sidebar":"default"},"primitives/svg-widget":{"id":"primitives/svg-widget","title":"SvgWidget","description":"Widget for displaying SVG.","sidebar":"default"},"primitives/text-widget":{"id":"primitives/text-widget","title":"TextWidget","description":"Widget for displaying text.","sidebar":"default"},"public-api/index":{"id":"public-api/index","title":"react-native-android-widget","description":"Interfaces","sidebar":"api"},"public-api/interfaces/BackgroundStyleProps":{"id":"public-api/interfaces/BackgroundStyleProps","title":"Interface: BackgroundStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/BorderStyleProps":{"id":"public-api/interfaces/BorderStyleProps","title":"Interface: BorderStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ClickActionProps":{"id":"public-api/interfaces/ClickActionProps","title":"Interface: ClickActionProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/CommonStyleProps":{"id":"public-api/interfaces/CommonStyleProps","title":"Interface: CommonStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/FlexWidgetProps":{"id":"public-api/interfaces/FlexWidgetProps","title":"Interface: FlexWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/FlexWidgetStyle":{"id":"public-api/interfaces/FlexWidgetStyle","title":"Interface: FlexWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/IconWidgetProps":{"id":"public-api/interfaces/IconWidgetProps","title":"Interface: IconWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/IconWidgetStyle":{"id":"public-api/interfaces/IconWidgetStyle","title":"Interface: IconWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ImageWidgetProps":{"id":"public-api/interfaces/ImageWidgetProps","title":"Interface: ImageWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/ListWidgetProps":{"id":"public-api/interfaces/ListWidgetProps","title":"Interface: ListWidgetProps","description":"Properties","sidebar":"api"},"public-api/interfaces/ListWidgetStyle":{"id":"public-api/interfaces/ListWidgetStyle","title":"Interface: ListWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/MarginStyleProps":{"id":"public-api/interfaces/MarginStyleProps","title":"Interface: MarginStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OtherStyleProps":{"id":"public-api/interfaces/OtherStyleProps","title":"Interface: OtherStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OverlapWidgetProps":{"id":"public-api/interfaces/OverlapWidgetProps","title":"Interface: OverlapWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/OverlapWidgetStyle":{"id":"public-api/interfaces/OverlapWidgetStyle","title":"Interface: OverlapWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/PaddingStyleProps":{"id":"public-api/interfaces/PaddingStyleProps","title":"Interface: PaddingStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/RequestWidgetUpdateProps":{"id":"public-api/interfaces/RequestWidgetUpdateProps","title":"Interface: RequestWidgetUpdateProps","description":"Properties","sidebar":"api"},"public-api/interfaces/ScreenInfo":{"id":"public-api/interfaces/ScreenInfo","title":"Interface: ScreenInfo","description":"Properties","sidebar":"api"},"public-api/interfaces/SizeStyleProps":{"id":"public-api/interfaces/SizeStyleProps","title":"Interface: SizeStyleProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/SvgWidgetProps":{"id":"public-api/interfaces/SvgWidgetProps","title":"Interface: SvgWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/TextWidgetProps":{"id":"public-api/interfaces/TextWidgetProps","title":"Interface: TextWidgetProps","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/TextWidgetStyle":{"id":"public-api/interfaces/TextWidgetStyle","title":"Interface: TextWidgetStyle","description":"Hierarchy","sidebar":"api"},"public-api/interfaces/Widget":{"id":"public-api/interfaces/Widget","title":"Interface: Widget","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetConfigurationScreenProps":{"id":"public-api/interfaces/WidgetConfigurationScreenProps","title":"Interface: WidgetConfigurationScreenProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetInfo":{"id":"public-api/interfaces/WidgetInfo","title":"Interface: WidgetInfo","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetPreviewProps":{"id":"public-api/interfaces/WidgetPreviewProps","title":"Interface: WidgetPreviewProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WidgetTaskHandlerProps":{"id":"public-api/interfaces/WidgetTaskHandlerProps","title":"Interface: WidgetTaskHandlerProps","description":"Properties","sidebar":"api"},"public-api/interfaces/WithAndroidWidgetsParams":{"id":"public-api/interfaces/WithAndroidWidgetsParams","title":"Interface: WithAndroidWidgetsParams","description":"Properties","sidebar":"api"},"tutorial/congratulations":{"id":"tutorial/congratulations","title":"Congratulations!","description":"You have just learned the basics of react-native-android-widget and created your first widget.","sidebar":"default"},"tutorial/make-widget-configurable":{"id":"tutorial/make-widget-configurable","title":"Make Widget configurable (Optional)","description":"In order to some of the widgets configurable, we need to create a widget configuration activity.","sidebar":"default"},"tutorial/register-task-handler":{"id":"tutorial/register-task-handler","title":"Register task handler","description":"We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.","sidebar":"default"},"tutorial/register-widget":{"id":"tutorial/register-widget","title":"Register widget","description":"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.","sidebar":"default"},"tutorial/register-widget-expo":{"id":"tutorial/register-widget-expo","title":"Register widget in Expo","description":"If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.","sidebar":"default"},"tutorial/try-it-our":{"id":"tutorial/try-it-our","title":"Try it out","description":"After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.","sidebar":"default"},"tutorial/widget-design":{"id":"tutorial/widget-design","title":"Widget Design","description":"This library provides a few primitives that we can use to create widgets.","sidebar":"default"},"tutorial/widget-preview":{"id":"tutorial/widget-preview","title":"Widget Preview","description":"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.","sidebar":"default"},"update-widget":{"id":"update-widget","title":"Update Widget","description":"There are two ways to update a widget once it is added on the home screen.","sidebar":"default"}}}')}}]); \ No newline at end of file diff --git a/assets/js/94be2f97.03162f3c.js b/assets/js/94be2f97.03162f3c.js new file mode 100644 index 0000000..0f20102 --- /dev/null +++ b/assets/js/94be2f97.03162f3c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[265],{6255:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/TextWidgetStyle",title:"Interface: TextWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},next:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"fontSize",id:"fontsize",level:3},{value:"fontFamily",id:"fontfamily",level:3},{value:"fontStyle",id:"fontstyle",level:3},{value:"fontWeight",id:"fontweight",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"textAlign",id:"textalign",level:3},{value:"letterSpacing",id:"letterspacing",level:3},{value:"textShadowColor",id:"textshadowcolor",level:3},{value:"textShadowRadius",id:"textshadowradius",level:3},{value:"textShadowOffset",id:"textshadowoffset",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"TextWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"color",children:"color"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"color"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontsize",children:"fontSize"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontSize"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontfamily",children:"fontFamily"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontFamily"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontstyle",children:"fontStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontStyle"}),": ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"italic"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontweight",children:"fontWeight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontWeight"}),": ",(0,n.jsx)(r.code,{children:'"bold"'})," | ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"100"'})," | ",(0,n.jsx)(r.code,{children:'"200"'})," | ",(0,n.jsx)(r.code,{children:'"300"'})," | ",(0,n.jsx)(r.code,{children:'"400"'})," | ",(0,n.jsx)(r.code,{children:'"500"'})," | ",(0,n.jsx)(r.code,{children:'"600"'})," | ",(0,n.jsx)(r.code,{children:'"700"'})," | ",(0,n.jsx)(r.code,{children:'"800"'})," | ",(0,n.jsx)(r.code,{children:'"900"'})]}),"\n",(0,n.jsx)(r.p,{children:"Specifies font weight. The values 'normal' and 'bold' are supported\nfor most fonts. Not all fonts have a variant for each of the numeric\nvalues, in that case the closest one is chosen."}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"adjustsfontsizetofit",children:"adjustsFontSizeToFit"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"adjustsFontSizeToFit"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textalign",children:"textAlign"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textAlign"}),": ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"right"'})," | ",(0,n.jsx)(r.code,{children:'"left"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"letterspacing",children:"letterSpacing"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"letterSpacing"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowcolor",children:"textShadowColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowradius",children:"textShadowRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowoffset",children:"textShadowOffset"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowOffset"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"height"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"width"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/94be2f97.443bdd8f.js b/assets/js/94be2f97.443bdd8f.js deleted file mode 100644 index fbce32f..0000000 --- a/assets/js/94be2f97.443bdd8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[265],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>c});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},m=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),h=p(r),c=i,s=h["".concat(l,".").concat(c)]||h[c]||k[c]||a;return r?n.createElement(s,o(o({ref:t},m),{},{components:r})):n.createElement(s,o({ref:t},m))}));function c(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=h;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:i,o[1]=d;for(var p=2;p<a;p++)o[p]=r[p];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}h.displayName="MDXCreateElement"},6068:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>k,frontMatter:()=>a,metadata:()=>d,toc:()=>p});var n=r(7462),i=(r(7294),r(3905));const a={id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},o=void 0,d={unversionedId:"public-api/interfaces/TextWidgetStyle",id:"public-api/interfaces/TextWidgetStyle",title:"Interface: TextWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},next:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"}},l={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"fontSize",id:"fontsize",level:3},{value:"fontFamily",id:"fontfamily",level:3},{value:"fontStyle",id:"fontstyle",level:3},{value:"fontWeight",id:"fontweight",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"textAlign",id:"textalign",level:3},{value:"letterSpacing",id:"letterspacing",level:3},{value:"textShadowColor",id:"textshadowcolor",level:3},{value:"textShadowRadius",id:"textshadowradius",level:3},{value:"textShadowOffset",id:"textshadowoffset",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}],m={toc:p};function k(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,i.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"TextWidgetStyle"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"color"},"color"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"color"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"fontsize"},"fontSize"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"fontSize"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"fontfamily"},"fontFamily"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"fontFamily"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"fontstyle"},"fontStyle"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"fontStyle"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"normal"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"italic"')),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"fontweight"},"fontWeight"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"fontWeight"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"bold"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"normal"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"100"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"200"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"300"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"400"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"500"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"600"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"700"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"800"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"900"')),(0,i.kt)("p",null,"Specifies font weight. The values 'normal' and 'bold' are supported\nfor most fonts. Not all fonts have a variant for each of the numeric\nvalues, in that case the closest one is chosen."),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"adjustsfontsizetofit"},"adjustsFontSizeToFit"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"adjustsFontSizeToFit"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"textalign"},"textAlign"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"textAlign"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"center"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"right"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"left"')),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"letterspacing"},"letterSpacing"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"letterSpacing"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"textshadowcolor"},"textShadowColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"textShadowColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"textshadowradius"},"textShadowRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"textShadowRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"textshadowoffset"},"textShadowOffset"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"textShadowOffset"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"Object")),(0,i.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"height")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"number"))),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"width")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"number"))))),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"margin"},"margin"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"margin"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin"},"margin")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal"},"marginHorizontal")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical"},"marginVertical")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"margintop"},"marginTop"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop"},"marginTop")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom"},"marginBottom")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginleft"},"marginLeft"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft"},"marginLeft")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginright"},"marginRight"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright"},"marginRight")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"padding"},"padding"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"padding"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding"},"padding")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal"},"paddingHorizontal")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical"},"paddingVertical")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop"},"paddingTop")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom"},"paddingBottom")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft"},"paddingLeft")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"paddingright"},"paddingRight"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright"},"paddingRight")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"height"},"height"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"height"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,i.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height"},"height")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"width"},"width"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"width"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,i.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width"},"width")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor"},"backgroundColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"Object")),(0,i.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"from")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("a",{parentName:"td",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"to")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("a",{parentName:"td",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"orientation")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,i.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient"},"backgroundGradient")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth"},"borderWidth")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth"},"borderTopWidth")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth"},"borderBottomWidth")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth"},"borderLeftWidth")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth"},"borderRightWidth")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"bordercolor"},"borderColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor"},"borderColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor"},"borderTopColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor"},"borderBottomColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor"},"borderLeftColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,i.kt)("a",{parentName:"p",href:"../#colorprop"},(0,i.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,i.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor"},"borderRightColor")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderradius"},"borderRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius"},"borderRadius")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius"},"borderTopLeftRadius")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius"},"borderTopRightRadius")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius"},"borderBottomLeftRadius")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius"},"borderBottomRightRadius")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,i.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle"},"borderStyle")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"rotation"},"rotation"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"rotation"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation"},"rotation")))}k.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/95f41f41.0266f9d7.js b/assets/js/95f41f41.0266f9d7.js deleted file mode 100644 index 03b378e..0000000 --- a/assets/js/95f41f41.0266f9d7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9209],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>k});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var c=n.createContext({}),p=function(e){var t=n.useContext(c),i=t;return e&&(i="function"==typeof e?e(t):l(l({},t),e)),i},d=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=p(i),k=r,m=u["".concat(c,".").concat(k)]||u[k]||s[k]||a;return i?n.createElement(m,l(l({ref:t},d),{},{components:i})):n.createElement(m,l({ref:t},d))}));function k(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,l=new Array(a);l[0]=u;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o.mdxType="string"==typeof e?e:r,l[1]=o;for(var p=2;p<a;p++)l[p]=i[p];return n.createElement.apply(null,l)}return n.createElement.apply(null,i)}u.displayName="MDXCreateElement"},9744:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var n=i(7462),r=(i(7294),i(3905));const a={id:"SvgWidgetProps",title:"Interface: SvgWidgetProps",sidebar_label:"SvgWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/SvgWidgetProps",id:"public-api/interfaces/SvgWidgetProps",title:"Interface: SvgWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/SvgWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SvgWidgetProps",title:"Interface: SvgWidgetProps",sidebar_label:"SvgWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},next:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"}},c={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"svg",id:"svg",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:p};function s(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"SvgWidgetProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"svg"},"svg"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"svg"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("p",null,"SVG file loaded with ",(0,r.kt)("inlineCode",{parentName:"p"},"require('./path/to/svg/file')")," or a SVG string"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"style"},"style"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"style"),": ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,r.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickaction"},"clickAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,r.kt)("p",null,"There are a few special values for ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,r.kt)("p",null,"Those are:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,r.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,r.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,r.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,r.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,r.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,r.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,r.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,r.kt)("p",null,"If ",(0,r.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,r.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,r.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/95f41f41.d0412338.js b/assets/js/95f41f41.d0412338.js new file mode 100644 index 0000000..6536978 --- /dev/null +++ b/assets/js/95f41f41.d0412338.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9209],{6265:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>o});var c=n(5893),t=n(1151);const r={id:"SvgWidgetProps",title:"Interface: SvgWidgetProps",sidebar_label:"SvgWidgetProps",sidebar_position:0,custom_edit_url:null},d=void 0,s={id:"public-api/interfaces/SvgWidgetProps",title:"Interface: SvgWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/SvgWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SvgWidgetProps",title:"Interface: SvgWidgetProps",sidebar_label:"SvgWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},next:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"}},l={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"svg",id:"svg",level:3},{value:"style",id:"style",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:["\n",(0,c.jsx)(i.p,{children:(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,c.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,c.jsxs)(i.p,{children:["\u21b3 ",(0,c.jsx)(i.strong,{children:(0,c.jsx)(i.code,{children:"SvgWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,c.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(i.h3,{id:"svg",children:"svg"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.strong,{children:"svg"}),": ",(0,c.jsx)(i.code,{children:"string"})," | ",(0,c.jsx)(i.code,{children:"number"})]}),"\n",(0,c.jsxs)(i.p,{children:["SVG file loaded with ",(0,c.jsx)(i.code,{children:"require('./path/to/svg/file')"})," or a SVG string"]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"style"}),": ",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,c.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickAction"}),": ",(0,c.jsx)(i.code,{children:"string"})]}),"\n",(0,c.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,c.jsxs)(i.p,{children:["There are a few special values for ",(0,c.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,c.jsx)(i.p,{children:"Those are:"}),"\n",(0,c.jsxs)(i.ul,{children:["\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," does not require ",(0,c.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,c.jsxs)(i.li,{children:[(0,c.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,c.jsx)(i.code,{children:"clickAction"})," requires a ",(0,c.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,c.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,c.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,c.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,c.jsx)(i.hr,{}),"\n",(0,c.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,c.jsxs)(i.p,{children:["\u2022 ",(0,c.jsx)(i.code,{children:"Optional"})," ",(0,c.jsx)(i.strong,{children:"clickActionData"}),": ",(0,c.jsx)(i.code,{children:"Record"}),"<",(0,c.jsx)(i.code,{children:"string"}),", ",(0,c.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,c.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,c.jsxs)(i.p,{children:["If ",(0,c.jsx)(i.code,{children:"clickAction"})," is ",(0,c.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,c.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,c.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,c.jsxs)(i.p,{children:[(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,c.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,c.jsx)(i,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>d});var c=n(7294);const t={},r=c.createContext(t);function d(e){const i=c.useContext(r);return c.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),c.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a3102611.4e3beeae.js b/assets/js/a3102611.4e3beeae.js deleted file mode 100644 index fffd1a2..0000000 --- a/assets/js/a3102611.4e3beeae.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7679],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>u});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},m=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,m=o(e,["components","mdxType","originalType","parentName"]),d=c(r),u=i,g=d["".concat(p,".").concat(u)]||d[u]||s[u]||a;return r?n.createElement(g,l(l({ref:t},m),{},{components:r})):n.createElement(g,l({ref:t},m))}));function u(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,l=new Array(a);l[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var c=2;c<a;c++)l[c]=r[c];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},4129:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=r(7462),i=(r(7294),r(3905));const a={id:"MarginStyleProps",title:"Interface: MarginStyleProps",sidebar_label:"MarginStyleProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/MarginStyleProps",id:"public-api/interfaces/MarginStyleProps",title:"Interface: MarginStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/MarginStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"MarginStyleProps",title:"Interface: MarginStyleProps",sidebar_label:"MarginStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},next:{title:"OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"}},p={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"marginVertical",id:"marginvertical",level:3},{value:"marginTop",id:"margintop",level:3},{value:"marginBottom",id:"marginbottom",level:3},{value:"marginLeft",id:"marginleft",level:3},{value:"marginRight",id:"marginright",level:3}],m={toc:c};function s(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"MarginStyleProps"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},(0,i.kt)("inlineCode",{parentName:"a"},"ListWidgetStyle"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,i.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"margin"},"margin"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"margin"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"margintop"},"marginTop"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginleft"},"marginLeft"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"marginright"},"marginRight"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a3102611.babbc858.js b/assets/js/a3102611.babbc858.js new file mode 100644 index 0000000..ffb52a3 --- /dev/null +++ b/assets/js/a3102611.babbc858.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7679],{3271:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>o,contentTitle:()=>s,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>c});var n=r(5893),t=r(1151);const l={id:"MarginStyleProps",title:"Interface: MarginStyleProps",sidebar_label:"MarginStyleProps",sidebar_position:0,custom_edit_url:null},s=void 0,a={id:"public-api/interfaces/MarginStyleProps",title:"Interface: MarginStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/MarginStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"MarginStyleProps",title:"Interface: MarginStyleProps",sidebar_label:"MarginStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},next:{title:"OtherStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps"}},o={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"marginVertical",id:"marginvertical",level:3},{value:"marginTop",id:"margintop",level:3},{value:"marginBottom",id:"marginbottom",level:3},{value:"marginLeft",id:"marginleft",level:3},{value:"marginRight",id:"marginright",level:3}];function d(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsx)(i.p,{children:(0,n.jsx)(i.strong,{children:(0,n.jsx)(i.code,{children:"MarginStyleProps"})})}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",children:(0,n.jsx)(i.code,{children:"ListWidgetStyle"})})]}),"\n",(0,n.jsxs)(i.p,{children:["\u21b3 ",(0,n.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(i.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"margin"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginVertical"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginTop"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginBottom"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginLeft"}),": ",(0,n.jsx)(i.code,{children:"number"})]}),"\n",(0,n.jsx)(i.hr,{}),"\n",(0,n.jsx)(i.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(i.p,{children:["\u2022 ",(0,n.jsx)(i.code,{children:"Optional"})," ",(0,n.jsx)(i.strong,{children:"marginRight"}),": ",(0,n.jsx)(i.code,{children:"number"})]})]})}function h(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1151:(e,i,r)=>{r.d(i,{Z:()=>a,a:()=>s});var n=r(7294);const t={},l=n.createContext(t);function s(e){const i=n.useContext(l);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),n.createElement(l.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a66dadf2.2d5adcca.js b/assets/js/a66dadf2.2d5adcca.js deleted file mode 100644 index b48b414..0000000 --- a/assets/js/a66dadf2.2d5adcca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5672],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>k});var i=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=i.createContext({}),c=function(e){var t=i.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return i.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},u=i.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,p=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),u=c(n),k=a,m=u["".concat(p,".").concat(k)]||u[k]||s[k]||r;return n?i.createElement(m,l(l({ref:t},d),{},{components:n})):i.createElement(m,l({ref:t},d))}));function k(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,l=new Array(r);l[0]=u;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,l[1]=o;for(var c=2;c<r;c++)l[c]=n[c];return i.createElement.apply(null,l)}return i.createElement.apply(null,n)}u.displayName="MDXCreateElement"},5973:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>r,metadata:()=>o,toc:()=>c});var i=n(7462),a=(n(7294),n(3905));const r={id:"TextWidgetProps",title:"Interface: TextWidgetProps",sidebar_label:"TextWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/TextWidgetProps",id:"public-api/interfaces/TextWidgetProps",title:"Interface: TextWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetProps",title:"Interface: TextWidgetProps",sidebar_label:"TextWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},next:{title:"TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"}},p={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"text",id:"text",level:3},{value:"style",id:"style",level:3},{value:"truncate",id:"truncate",level:3},{value:"maxLines",id:"maxlines",level:3},{value:"allowFontScaling",id:"allowfontscaling",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}],d={toc:c};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,i.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},(0,a.kt)("inlineCode",{parentName:"a"},"ClickActionProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TextWidgetProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"text"},"text"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"text"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("p",null,"Text to show"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"style"},"style"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"style"),": ",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"},(0,a.kt)("inlineCode",{parentName:"a"},"TextWidgetStyle"))),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"truncate"},"truncate"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"truncate"),": ",(0,a.kt)("inlineCode",{parentName:"p"},'"START"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"MIDDLE"')," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},'"END"')),(0,a.kt)("p",null,"How to truncate the text if it cannot fit"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"maxlines"},"maxLines"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"maxLines"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")),(0,a.kt)("p",null,"Maximum number of lines to if text overflows in next line"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"allowfontscaling"},"allowFontScaling"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"allowFontScaling"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("p",null,"Specifies whether fonts should scale to respect Text Size accessibility settings."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"Default"))),(0,a.kt)("p",null,"true"),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"clickaction"},"clickAction"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"clickAction"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("p",null,"A string that will define an action that will be emited when clicking the widget."),(0,a.kt)("p",null,"There are a few special values for ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," that will not emit the action,\nbut will execute the action in the background."),(0,a.kt)("p",null,"Those are:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},'"OPEN_APP"')," - This ",(0,a.kt)("inlineCode",{parentName:"li"},"clickAction")," does not require ",(0,a.kt)("inlineCode",{parentName:"li"},"clickActionData"),", and if set on a section of\nthe widget it will open the application when clicked"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},'"OPEN_URI"')," - This ",(0,a.kt)("inlineCode",{parentName:"li"},"clickAction")," requires a ",(0,a.kt)("inlineCode",{parentName:"li"},"clickActionData")," that contains ",(0,a.kt)("inlineCode",{parentName:"li"},"{ uri: 'some-uri' }"),".\nThe ",(0,a.kt)("inlineCode",{parentName:"li"},"uri")," can be a web uri (",(0,a.kt)("inlineCode",{parentName:"li"},"https://google.com"),"), or an app deep link (",(0,a.kt)("inlineCode",{parentName:"li"},"androidwidgetexample://deep-link"),")\nFor the link to open a screen in the app deep linking must be set up")),(0,a.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction"},"clickAction")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"clickactiondata"},"clickActionData"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"clickActionData"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,a.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"unknown"),">"),(0,a.kt)("p",null,"Additional data that will be passed when the widget is clicked."),(0,a.kt)("p",null,"If ",(0,a.kt)("inlineCode",{parentName:"p"},"clickAction")," is ",(0,a.kt)("inlineCode",{parentName:"p"},"OPEN_URI")," it must contain ",(0,a.kt)("inlineCode",{parentName:"p"},"{ uri: 'some-uri' }")),(0,a.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"},"ClickActionProps"),".",(0,a.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata"},"clickActionData")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a66dadf2.804eb26b.js b/assets/js/a66dadf2.804eb26b.js new file mode 100644 index 0000000..4210948 --- /dev/null +++ b/assets/js/a66dadf2.804eb26b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5672],{8051:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>o});var t=n(5893),c=n(1151);const r={id:"TextWidgetProps",title:"Interface: TextWidgetProps",sidebar_label:"TextWidgetProps",sidebar_position:0,custom_edit_url:null},l=void 0,s={id:"public-api/interfaces/TextWidgetProps",title:"Interface: TextWidgetProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetProps",title:"Interface: TextWidgetProps",sidebar_label:"TextWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"},next:{title:"TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"text",id:"text",level:3},{value:"style",id:"style",level:3},{value:"truncate",id:"truncate",level:3},{value:"maxLines",id:"maxlines",level:3},{value:"allowFontScaling",id:"allowfontscaling",level:3},{value:"clickAction",id:"clickaction",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"clickActionData",id:"clickactiondata",level:3},{value:"Inherited from",id:"inherited-from-1",level:4}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,c.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:["\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:(0,t.jsx)(i.code,{children:"ClickActionProps"})})}),"\n",(0,t.jsxs)(i.p,{children:["\u21b3 ",(0,t.jsx)(i.strong,{children:(0,t.jsx)(i.code,{children:"TextWidgetProps"})})]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(i.h3,{id:"text",children:"text"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"text"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Text to show"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"style",children:"style"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"style"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",children:(0,t.jsx)(i.code,{children:"TextWidgetStyle"})})]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"truncate",children:"truncate"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"truncate"}),": ",(0,t.jsx)(i.code,{children:'"START"'})," | ",(0,t.jsx)(i.code,{children:'"MIDDLE"'})," | ",(0,t.jsx)(i.code,{children:'"END"'})]}),"\n",(0,t.jsx)(i.p,{children:"How to truncate the text if it cannot fit"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"maxlines",children:"maxLines"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"maxLines"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.p,{children:"Maximum number of lines to if text overflows in next line"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"allowfontscaling",children:"allowFontScaling"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"allowFontScaling"}),": ",(0,t.jsx)(i.code,{children:"boolean"})]}),"\n",(0,t.jsx)(i.p,{children:"Specifies whether fonts should scale to respect Text Size accessibility settings."}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.strong,{children:(0,t.jsx)(i.code,{children:"Default"})})}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-ts",children:"true\n"})}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"clickaction",children:"clickAction"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"clickAction"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"A string that will define an action that will be emited when clicking the widget."}),"\n",(0,t.jsxs)(i.p,{children:["There are a few special values for ",(0,t.jsx)(i.code,{children:"clickAction"})," that will not emit the action,\nbut will execute the action in the background."]}),"\n",(0,t.jsx)(i.p,{children:"Those are:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:'"OPEN_APP"'})," - This ",(0,t.jsx)(i.code,{children:"clickAction"})," does not require ",(0,t.jsx)(i.code,{children:"clickActionData"}),", and if set on a section of\nthe widget it will open the application when clicked"]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:'"OPEN_URI"'})," - This ",(0,t.jsx)(i.code,{children:"clickAction"})," requires a ",(0,t.jsx)(i.code,{children:"clickActionData"})," that contains ",(0,t.jsx)(i.code,{children:"{ uri: 'some-uri' }"}),".\nThe ",(0,t.jsx)(i.code,{children:"uri"})," can be a web uri (",(0,t.jsx)(i.code,{children:"https://google.com"}),"), or an app deep link (",(0,t.jsx)(i.code,{children:"androidwidgetexample://deep-link"}),")\nFor the link to open a screen in the app deep linking must be set up"]}),"\n"]}),"\n",(0,t.jsx)(i.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickaction",children:"clickAction"})]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"clickactiondata",children:"clickActionData"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"clickActionData"}),": ",(0,t.jsx)(i.code,{children:"Record"}),"<",(0,t.jsx)(i.code,{children:"string"}),", ",(0,t.jsx)(i.code,{children:"unknown"}),">"]}),"\n",(0,t.jsx)(i.p,{children:"Additional data that will be passed when the widget is clicked."}),"\n",(0,t.jsxs)(i.p,{children:["If ",(0,t.jsx)(i.code,{children:"clickAction"})," is ",(0,t.jsx)(i.code,{children:"OPEN_URI"})," it must contain ",(0,t.jsx)(i.code,{children:"{ uri: 'some-uri' }"})]}),"\n",(0,t.jsx)(i.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",children:"ClickActionProps"}),".",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps#clickactiondata",children:"clickActionData"})]})]})}function h(e={}){const{wrapper:i}={...(0,c.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>l});var t=n(7294);const c={},r=t.createContext(c);function l(e){const i=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:l(e.components),t.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.9935b610.js b/assets/js/a7bd4aaa.9935b610.js new file mode 100644 index 0000000..c22c6ff --- /dev/null +++ b/assets/js/a7bd4aaa.9935b610.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8518],{8564:(n,e,s)=>{s.r(e),s.d(e,{default:()=>l});s(7294);var r=s(1944),o=s(3320),t=s(4477),i=s(8790),c=s(197),a=s(5893);function d(n){const{version:e}=n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.Z,{version:e.version,tag:(0,o.os)(e.pluginId,e.version)}),(0,a.jsx)(r.d,{children:e.noIndex&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function u(n){const{version:e,route:s}=n;return(0,a.jsx)(r.FG,{className:e.className,children:(0,a.jsx)(t.q,{version:e,children:(0,i.H)(s.routes)})})}function l(n){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d,{...n}),(0,a.jsx)(u,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.936e2c37.js b/assets/js/a94703ab.936e2c37.js new file mode 100644 index 0000000..cb8193f --- /dev/null +++ b/assets/js/a94703ab.936e2c37.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[4368],{2674:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(7294),o=n(512),i=n(1944),s=n(5281),l=n(3438),r=n(1116),c=n(5999),d=n(2466),u=n(5936);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var b=n(5893);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a<t?o(!1):a+window.innerHeight<document.documentElement.scrollHeight&&o(!0))})),(0,u.S)((e=>{e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(1442),x=n(6550),f=n(7524),j=n(6668),_=n(1327);function k(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v={collapseSidebarButton:"collapseSidebarButton_PEFL",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_kv0_"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",v.collapseSidebarButton),onClick:t,children:(0,b.jsx)(k,{className:v.collapseSidebarButtonIcon})})}var C=n(9689),S=n(902);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var B=n(6043),Z=n(8596),A=n(3692),L=n(2389);function y(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),_=function(e){const t=(0,L.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),k=(0,l._F)(t,i),v=(0,Z.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!k&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:k,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&f&&C(!0)}),[h,T,c,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(A.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":k}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":v?"page":void 0,"aria-expanded":h?!g:void 0,href:h?_??"#":_,...d,children:m}),x&&h&&(0,b.jsx)(y,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var E=n(3919),H=n(9471);const M={menuExternalLink:"menuExternalLink_NmtK"};function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(A.Z,{className:(0,o.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_M9Kj"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",U.menu,l&&U.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const Y="sidebar_njMd",z="sidebarWithHideableNavbar_wUlq",G="sidebarHidden_VK0M",O="sidebarLogo_isFc";function q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(Y,s&&z,i&&G),children:[s&&(0,b.jsx)(_.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const J=a.memo(q);var Q=n(3102),X=n(3163);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,X.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(Q.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(J,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(k,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function se(e){let{children:t}=e;const n=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,r&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const re={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,o.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ce,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(5658);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},5658:(e,t,n)=>{n.d(t,{Z:()=>l});n(7294);var a=n(512),o=n(5999),i=n(7955),s=n(5893);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/aa86ff20.19cba91b.js b/assets/js/aa86ff20.19cba91b.js new file mode 100644 index 0000000..a595c7e --- /dev/null +++ b/assets/js/aa86ff20.19cba91b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1188],{3156:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>p,frontMatter:()=>s,metadata:()=>o,toc:()=>c});var n=i(5893),r=i(1151);const s={sidebar_position:1},d="FlexWidget",o={id:"primitives/flex-widget",title:"FlexWidget",description:"Widget container that lays out child widgets using flexbox.",source:"@site/docs/primitives/flex-widget.md",sourceDirName:"primitives",slug:"/primitives/flex-widget",permalink:"/react-native-android-widget/docs/primitives/flex-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/flex-widget.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Primitives",permalink:"/react-native-android-widget/docs/primitives/index"},next:{title:"OverlapWidget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget"}},a={},c=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"flexwidget",children:"FlexWidget"}),"\n",(0,n.jsx)(t.p,{children:"Widget container that lays out child widgets using flexbox."}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-tsx",children:"import { FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget\n style={{\n alignItems: 'center',\n justifyContent: 'center',\n }}\n >\n ...\n </FlexWidget>\n );\n}\n"})}),"\n",(0,n.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,n.jsxs)(t.p,{children:["Check the props in the ",(0,n.jsx)(t.a,{href:"/docs/public-api/interfaces/FlexWidgetProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>d});var n=i(7294);const r={},s=n.createContext(r);function d(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/aa86ff20.85d93bff.js b/assets/js/aa86ff20.85d93bff.js deleted file mode 100644 index 04b3afa..0000000 --- a/assets/js/aa86ff20.85d93bff.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1188],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>f});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=s(r),f=i,g=u["".concat(l,".").concat(f)]||u[f]||p[f]||o;return r?n.createElement(g,a(a({ref:t},d),{},{components:r})):n.createElement(g,a({ref:t},d))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,a=new Array(o);a[0]=u;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:i,a[1]=c;for(var s=2;s<o;s++)a[s]=r[s];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},574:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>s});var n=r(7462),i=(r(7294),r(3905));const o={sidebar_position:1},a="FlexWidget",c={unversionedId:"primitives/flex-widget",id:"primitives/flex-widget",title:"FlexWidget",description:"Widget container that lays out child widgets using flexbox.",source:"@site/docs/primitives/flex-widget.md",sourceDirName:"primitives",slug:"/primitives/flex-widget",permalink:"/react-native-android-widget/docs/primitives/flex-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/flex-widget.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"default",previous:{title:"Primitives",permalink:"/react-native-android-widget/docs/primitives/index"},next:{title:"OverlapWidget",permalink:"/react-native-android-widget/docs/primitives/overlap-widget"}},l={},s=[{value:"Usage",id:"usage",level:2},{value:"Props",id:"props",level:2}],d={toc:s};function p(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"flexwidget"},"FlexWidget"),(0,i.kt)("p",null,"Widget container that lays out child widgets using flexbox."),(0,i.kt)("h2",{id:"usage"},"Usage"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-tsx"},"import { FlexWidget } from 'react-native-android-widget';\n\nexport function MyWidget() {\n return (\n <FlexWidget\n style={{\n alignItems: 'center',\n justifyContent: 'center',\n }}\n >\n ...\n </FlexWidget>\n );\n}\n")),(0,i.kt)("h2",{id:"props"},"Props"),(0,i.kt)("p",null,"Check the props in the ",(0,i.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/FlexWidgetProps"},"Public API")," documentation"))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b0736eaa.2cff9d8f.js b/assets/js/b0736eaa.2cff9d8f.js deleted file mode 100644 index a34f8d6..0000000 --- a/assets/js/b0736eaa.2cff9d8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2097],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>f});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},s=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=l(n),f=i,m=u["".concat(c,".").concat(f)]||u[f]||d[f]||o;return n?r.createElement(m,a(a({ref:t},s),{},{components:n})):r.createElement(m,a({ref:t},s))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=u;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:i,a[1]=p;for(var l=2;l<o;l++)a[l]=n[l];return r.createElement.apply(null,a)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},7841:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>l});var r=n(7462),i=(n(7294),n(3905));const o={id:"ScreenInfo",title:"Interface: ScreenInfo",sidebar_label:"ScreenInfo",sidebar_position:0,custom_edit_url:null},a=void 0,p={unversionedId:"public-api/interfaces/ScreenInfo",id:"public-api/interfaces/ScreenInfo",title:"Interface: ScreenInfo",description:"Properties",source:"@site/docs/public-api/interfaces/ScreenInfo.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ScreenInfo",title:"Interface: ScreenInfo",sidebar_label:"ScreenInfo",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"},next:{title:"SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"}},c={},l=[{value:"Properties",id:"properties",level:2},{value:"screenHeightDp",id:"screenheightdp",level:3},{value:"screenWidthDp",id:"screenwidthdp",level:3},{value:"density",id:"density",level:3},{value:"densityDpi",id:"densitydpi",level:3}],s={toc:l};function d(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"screenheightdp"},"screenHeightDp"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"screenHeightDp"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Height of the screen in DP"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"screenwidthdp"},"screenWidthDp"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"screenWidthDp"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Width of the screen in DP"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"density"},"density"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"density"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Density of the screen"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"densitydpi"},"densityDpi"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"densityDpi"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Density of the screen in Dpi"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b0736eaa.aad426e9.js b/assets/js/b0736eaa.aad426e9.js new file mode 100644 index 0000000..00a09c8 --- /dev/null +++ b/assets/js/b0736eaa.aad426e9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2097],{9322:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>o,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var t=i(5893),r=i(1151);const s={id:"ScreenInfo",title:"Interface: ScreenInfo",sidebar_label:"ScreenInfo",sidebar_position:0,custom_edit_url:null},c=void 0,d={id:"public-api/interfaces/ScreenInfo",title:"Interface: ScreenInfo",description:"Properties",source:"@site/docs/public-api/interfaces/ScreenInfo.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ScreenInfo",title:"Interface: ScreenInfo",sidebar_label:"ScreenInfo",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"RequestWidgetUpdateProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps"},next:{title:"SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"}},o={},l=[{value:"Properties",id:"properties",level:2},{value:"screenHeightDp",id:"screenheightdp",level:3},{value:"screenWidthDp",id:"screenwidthdp",level:3},{value:"density",id:"density",level:3},{value:"densityDpi",id:"densitydpi",level:3}];function a(e){const n={code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(n.h3,{id:"screenheightdp",children:"screenHeightDp"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"screenHeightDp"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.p,{children:"Height of the screen in DP"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"screenwidthdp",children:"screenWidthDp"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"screenWidthDp"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.p,{children:"Width of the screen in DP"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"density",children:"density"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"density"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.p,{children:"Density of the screen"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"densitydpi",children:"densityDpi"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"densityDpi"}),": ",(0,t.jsx)(n.code,{children:"number"})]}),"\n",(0,t.jsx)(n.p,{children:"Density of the screen in Dpi"})]})}function p(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,n,i)=>{i.d(n,{Z:()=>d,a:()=>c});var t=i(7294);const r={},s=t.createContext(r);function c(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bcaac1db.a91a3d33.js b/assets/js/bcaac1db.a91a3d33.js deleted file mode 100644 index 75adbd9..0000000 --- a/assets/js/bcaac1db.a91a3d33.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6516],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(r),m=i,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,o(o({ref:t},s),{},{components:r})):n.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;c<a;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},9233:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(7462),i=(r(7294),r(3905));const a={id:"SizeStyleProps",title:"Interface: SizeStyleProps",sidebar_label:"SizeStyleProps",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"public-api/interfaces/SizeStyleProps",id:"public-api/interfaces/SizeStyleProps",title:"Interface: SizeStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/SizeStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SizeStyleProps",title:"Interface: SizeStyleProps",sidebar_label:"SizeStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"},next:{title:"SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"}},l={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"SizeStyleProps"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},(0,i.kt)("inlineCode",{parentName:"a"},"ListWidgetStyle"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,i.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"height"},"height"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"height"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"width"},"width"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"width"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"match_parent"')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/bcaac1db.e2c36ed3.js b/assets/js/bcaac1db.e2c36ed3.js new file mode 100644 index 0000000..409e94d --- /dev/null +++ b/assets/js/bcaac1db.e2c36ed3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6516],{177:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var r=t(5893),n=t(1151);const s={id:"SizeStyleProps",title:"Interface: SizeStyleProps",sidebar_label:"SizeStyleProps",sidebar_position:0,custom_edit_url:null},c=void 0,d={id:"public-api/interfaces/SizeStyleProps",title:"Interface: SizeStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/SizeStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/SizeStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"SizeStyleProps",title:"Interface: SizeStyleProps",sidebar_label:"SizeStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ScreenInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"},next:{title:"SvgWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps"}},o={},l=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3}];function a(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,r.jsxs)(i.ul,{children:["\n",(0,r.jsxs)(i.li,{children:["\n",(0,r.jsx)(i.p,{children:(0,r.jsx)(i.strong,{children:(0,r.jsx)(i.code,{children:"SizeStyleProps"})})}),"\n",(0,r.jsxs)(i.p,{children:["\u21b3 ",(0,r.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",children:(0,r.jsx)(i.code,{children:"ListWidgetStyle"})})]}),"\n",(0,r.jsxs)(i.p,{children:["\u21b3 ",(0,r.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,r.jsx)(i.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"height",children:"height"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"height"}),": ",(0,r.jsx)(i.code,{children:"number"})," | ",(0,r.jsx)(i.code,{children:'"wrap_content"'})," | ",(0,r.jsx)(i.code,{children:'"match_parent"'})]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"width",children:"width"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"width"}),": ",(0,r.jsx)(i.code,{children:"number"})," | ",(0,r.jsx)(i.code,{children:'"wrap_content"'})," | ",(0,r.jsx)(i.code,{children:'"match_parent"'})]})]})}function p(e={}){const{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1151:(e,i,t)=>{t.d(i,{Z:()=>d,a:()=>c});var r=t(7294);const n={},s=r.createContext(n);function c(e){const i=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(s.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bcda6bdc.562db46d.js b/assets/js/bcda6bdc.562db46d.js deleted file mode 100644 index b09708a..0000000 --- a/assets/js/bcda6bdc.562db46d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3159],{3905:(e,r,t)=>{t.d(r,{Zo:()=>u,kt:()=>m});var o=t(7294);function n(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function l(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){n(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)t=i[o],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)t=i[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var p=o.createContext({}),d=function(e){var r=o.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},u=function(e){var r=d(e.components);return o.createElement(p.Provider,{value:r},e.children)},b={inlineCode:"code",wrapper:function(e){var r=e.children;return o.createElement(o.Fragment,{},r)}},s=o.forwardRef((function(e,r){var t=e.components,n=e.mdxType,i=e.originalType,p=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),s=d(t),m=n,c=s["".concat(p,".").concat(m)]||s[m]||b[m]||i;return t?o.createElement(c,l(l({ref:r},u),{},{components:t})):o.createElement(c,l({ref:r},u))}));function m(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var i=t.length,l=new Array(i);l[0]=s;var a={};for(var p in r)hasOwnProperty.call(r,p)&&(a[p]=r[p]);a.originalType=e,a.mdxType="string"==typeof e?e:n,l[1]=a;for(var d=2;d<i;d++)l[d]=t[d];return o.createElement.apply(null,l)}return o.createElement.apply(null,t)}s.displayName="MDXCreateElement"},7523:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>l,default:()=>b,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var o=t(7462),n=(t(7294),t(3905));const i={id:"BorderStyleProps",title:"Interface: BorderStyleProps",sidebar_label:"BorderStyleProps",sidebar_position:0,custom_edit_url:null},l=void 0,a={unversionedId:"public-api/interfaces/BorderStyleProps",id:"public-api/interfaces/BorderStyleProps",title:"Interface: BorderStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/BorderStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BorderStyleProps",title:"Interface: BorderStyleProps",sidebar_label:"BorderStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},next:{title:"ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"}},p={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"borderWidth",id:"borderwidth",level:3},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"borderColor",id:"bordercolor",level:3},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"borderRadius",id:"borderradius",level:3},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"borderStyle",id:"borderstyle",level:3}],u={toc:d};function b(e){let{components:r,...t}=e;return(0,n.kt)("wrapper",(0,o.Z)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"BorderStyleProps"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordercolor"},"borderColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderradius"},"borderRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dashed"')))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/bcda6bdc.82e92352.js b/assets/js/bcda6bdc.82e92352.js new file mode 100644 index 0000000..288fcf5 --- /dev/null +++ b/assets/js/bcda6bdc.82e92352.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3159],{9300:(r,e,o)=>{o.r(e),o.d(e,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>n,metadata:()=>l,toc:()=>c});var d=o(5893),i=o(1151);const n={id:"BorderStyleProps",title:"Interface: BorderStyleProps",sidebar_label:"BorderStyleProps",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/BorderStyleProps",title:"Interface: BorderStyleProps",description:"Hierarchy",source:"@site/docs/public-api/interfaces/BorderStyleProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/BorderStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"BorderStyleProps",title:"Interface: BorderStyleProps",sidebar_label:"BorderStyleProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"BackgroundStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},next:{title:"ClickActionProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"borderWidth",id:"borderwidth",level:3},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"borderColor",id:"bordercolor",level:3},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"borderRadius",id:"borderradius",level:3},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"borderStyle",id:"borderstyle",level:3}];function h(r){const e={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.a)(),...r.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(e.ul,{children:["\n",(0,d.jsxs)(e.li,{children:["\n",(0,d.jsx)(e.p,{children:(0,d.jsx)(e.strong,{children:(0,d.jsx)(e.code,{children:"BorderStyleProps"})})}),"\n",(0,d.jsxs)(e.p,{children:["\u21b3 ",(0,d.jsx)(e.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,d.jsx)(e.code,{children:"CommonStyleProps"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(e.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(e.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderWidth"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderTopWidth"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderBottomWidth"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderLeftWidth"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderRightWidth"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderRadius"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderTopLeftRadius"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderTopRightRadius"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderBottomLeftRadius"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderBottomRightRadius"}),": ",(0,d.jsx)(e.code,{children:"number"})]}),"\n",(0,d.jsx)(e.hr,{}),"\n",(0,d.jsx)(e.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,d.jsxs)(e.p,{children:["\u2022 ",(0,d.jsx)(e.code,{children:"Optional"})," ",(0,d.jsx)(e.strong,{children:"borderStyle"}),": ",(0,d.jsx)(e.code,{children:'"solid"'})," | ",(0,d.jsx)(e.code,{children:'"dotted"'})," | ",(0,d.jsx)(e.code,{children:'"dashed"'})]})]})}function a(r={}){const{wrapper:e}={...(0,i.a)(),...r.components};return e?(0,d.jsx)(e,{...r,children:(0,d.jsx)(h,{...r})}):h(r)}},1151:(r,e,o)=>{o.d(e,{Z:()=>l,a:()=>t});var d=o(7294);const i={},n=d.createContext(i);function t(r){const e=d.useContext(n);return d.useMemo((function(){return"function"==typeof r?r(e):{...e,...r}}),[e,r])}function l(r){let e;return e=r.disableParentContext?"function"==typeof r.components?r.components(i):r.components||i:t(r.components),d.createElement(n.Provider,{value:e},r.children)}}}]); \ No newline at end of file diff --git a/assets/js/c10b2ba3.3231a4da.js b/assets/js/c10b2ba3.3231a4da.js new file mode 100644 index 0000000..d7fe147 --- /dev/null +++ b/assets/js/c10b2ba3.3231a4da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8888],{8621:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>g,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var n=i(5893),r=i(1151);const o={sidebar_position:2},a="Widget Preview",d={id:"tutorial/widget-preview",title:"Widget Preview",description:"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.",source:"@site/docs/tutorial/widget-preview.md",sourceDirName:"tutorial",slug:"/tutorial/widget-preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/widget-preview.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"},next:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"}},s={},c=[];function l(e){const t={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"widget-preview",children:"Widget Preview"}),"\n",(0,n.jsx)(t.p,{children:"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change."}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"react-native-android-widget"})," exports a ",(0,n.jsx)(t.code,{children:"WidgetPreview"})," component that can be used to preview a widget in any screen in our React Native application."]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-jsx",metastring:'title="HelloWidgetPreviewScreen.tsx"',children:"import * as React from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport { WidgetPreview } from 'react-native-android-widget';\n\nimport { HelloWidget } from './HelloWidget';\n\nexport function HelloWidgetPreviewScreen() {\n return (\n <View style={styles.container}>\n <WidgetPreview\n renderWidget={() => <HelloWidget />}\n width={320}\n height={200}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n"})}),"\n",(0,n.jsx)(t.p,{children:(0,n.jsx)(t.img,{alt:"Widget Preview",src:i(5383).Z+"",width:"422",height:"863"})})]})}function g(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},5383:(e,t,i)=>{i.d(t,{Z:()=>n});const n=i.p+"assets/images/HelloWidgetPreview-556a9d750c3f8870e0291addc05627de.png"},1151:(e,t,i)=>{i.d(t,{Z:()=>d,a:()=>a});var n=i(7294);const r={},o=n.createContext(r);function a(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c10b2ba3.a7397f99.js b/assets/js/c10b2ba3.a7397f99.js deleted file mode 100644 index ba5deb9..0000000 --- a/assets/js/c10b2ba3.a7397f99.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8888],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>g});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var d=n.createContext({}),l=function(e){var t=n.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(d.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=l(r),g=i,m=u["".concat(d,".").concat(g)]||u[g]||p[g]||a;return r?n.createElement(m,o(o({ref:t},s),{},{components:r})):n.createElement(m,o({ref:t},s))}));function g(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var c={};for(var d in t)hasOwnProperty.call(t,d)&&(c[d]=t[d]);c.originalType=e,c.mdxType="string"==typeof e?e:i,o[1]=c;for(var l=2;l<a;l++)o[l]=r[l];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},7492:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(7462),i=(r(7294),r(3905));const a={sidebar_position:2},o="Widget Preview",c={unversionedId:"tutorial/widget-preview",id:"tutorial/widget-preview",title:"Widget Preview",description:"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.",source:"@site/docs/tutorial/widget-preview.md",sourceDirName:"tutorial",slug:"/tutorial/widget-preview",permalink:"/react-native-android-widget/docs/tutorial/widget-preview",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/widget-preview.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"},next:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"}},d={},l=[],s={toc:l};function p(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"widget-preview"},"Widget Preview"),(0,i.kt)("p",null,"Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change."),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a ",(0,i.kt)("inlineCode",{parentName:"p"},"WidgetPreview")," component that can be used to preview a widget in any screen in our React Native application."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-jsx",metastring:'title="HelloWidgetPreviewScreen.tsx"',title:'"HelloWidgetPreviewScreen.tsx"'},"import * as React from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport { WidgetPreview } from 'react-native-android-widget';\n\nimport { HelloWidget } from './HelloWidget';\n\nexport function HelloWidgetPreviewScreen() {\n return (\n <View style={styles.container}>\n <WidgetPreview\n renderWidget={() => <HelloWidget />}\n width={320}\n height={200}\n />\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n")),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"Widget Preview",src:r(5383).Z,width:"422",height:"863"})))}p.isMDXComponent=!0},5383:(e,t,r)=>{r.d(t,{Z:()=>n});const n=r.p+"assets/images/HelloWidgetPreview-556a9d750c3f8870e0291addc05627de.png"}}]); \ No newline at end of file diff --git a/assets/js/c377a04b.d499c0f1.js b/assets/js/c377a04b.d499c0f1.js new file mode 100644 index 0000000..baeaeb7 --- /dev/null +++ b/assets/js/c377a04b.d499c0f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6971],{2660:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>T,contentTitle:()=>I,default:()=>A,frontMatter:()=>V,metadata:()=>S,toc:()=>E});var r=n(5893),a=n(1151),i=n(7294),s=n(512),o=n(2466),l=n(6550),u=n(469),d=n(1980),c=n(7392),h=n(12);function b(e){return i.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,i.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:n}=e;return(0,i.useMemo)((()=>{const e=t??function(e){return b(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:a}}=e;return{value:t,label:n,attributes:r,default:a}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function g(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function f(e){let{queryString:t=!1,groupId:n}=e;const r=(0,l.k6)(),a=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,d._X)(a),(0,i.useCallback)((e=>{if(!a)return;const t=new URLSearchParams(r.location.search);t.set(a,e),r.replace({...r.location,search:t.toString()})}),[a,r])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:r}=e,a=p(e),[s,o]=(0,i.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!g({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:a}))),[l,d]=f({queryString:n,groupId:r}),[c,b]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[r,a]=(0,h.Nk)(n);return[r,(0,i.useCallback)((e=>{n&&a.set(e)}),[n,a])]}({groupId:r}),m=(()=>{const e=l??c;return g({value:e,tabValues:a})?e:null})();(0,u.Z)((()=>{m&&o(m)}),[m]);return{selectedValue:s,selectValue:(0,i.useCallback)((e=>{if(!g({value:e,tabValues:a}))throw new Error(`Can't select invalid tab value=${e}`);o(e),d(e),b(e)}),[d,b,a]),tabValues:a}}var v=n(2389);const w={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};function x(e){let{className:t,block:n,selectedValue:a,selectValue:i,tabValues:l}=e;const u=[],{blockElementScrollPositionUntilNextRender:d}=(0,o.o5)(),c=e=>{const t=e.currentTarget,n=u.indexOf(t),r=l[n].value;r!==a&&(d(t),i(r))},h=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,r.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,s.Z)("tabs",{"tabs--block":n},t),children:l.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,r.jsx)("li",{role:"tab",tabIndex:a===t?0:-1,"aria-selected":a===t,ref:e=>u.push(e),onKeyDown:h,onClick:c,...i,className:(0,s.Z)("tabs__item",w.tabItem,i?.className,{"tabs__item--active":a===t}),children:n??t},t)}))})}function y(e){let{lazy:t,children:n,selectedValue:a}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=s.find((e=>e.props.value===a));return e?(0,i.cloneElement)(e,{className:"margin-top--md"}):null}return(0,r.jsx)("div",{className:"margin-top--md",children:s.map(((e,t)=>(0,i.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function j(e){const t=m(e);return(0,r.jsxs)("div",{className:(0,s.Z)("tabs-container",w.tabList),children:[(0,r.jsx)(x,{...e,...t}),(0,r.jsx)(y,{...e,...t})]})}function k(e){const t=(0,v.Z)();return(0,r.jsx)(j,{...e,children:b(e.children)},String(t))}const _={tabItem:"tabItem_Ymn6"};function N(e){let{children:t,hidden:n,className:a}=e;return(0,r.jsx)("div",{role:"tabpanel",className:(0,s.Z)(_.tabItem,a),hidden:n,children:t})}const V={sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},I="React Native Android Widget",S={id:"index",title:"Getting Started",description:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.",source:"@site/docs/index.md",sourceDirName:".",slug:"/",permalink:"/react-native-android-widget/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/index.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},sidebar:"default",next:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"}},T={},E=[{value:"Getting Started",id:"getting-started",level:2}];function q(e){const t={a:"a",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"react-native-android-widget",children:"React Native Android Widget"}),"\n",(0,r.jsx)(t.p,{children:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side."}),"\n",(0,r.jsxs)(t.p,{children:["Get started building by installing React Native Android Widget or by following the ",(0,r.jsx)(t.a,{href:"/react-native-android-widget/docs/tutorial/widget-design",children:"Tutorial"})," to learn the main concepts."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"installing the library"}),"."]}),"\n","\n","\n",(0,r.jsxs)(k,{children:[(0,r.jsx)(N,{value:"npm",label:"npm",default:!0,children:(0,r.jsx)("pre",{children:"npm install --save react-native-android-widget"})}),(0,r.jsx)(N,{value:"yarn",label:"yarn",children:(0,r.jsx)("pre",{children:"yarn add react-native-android-widget"})})]})]})}function A(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(q,{...e})}):q(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>o,a:()=>s});var r=n(7294);const a={},i=r.createContext(a);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c377a04b.ed669e47.js b/assets/js/c377a04b.ed669e47.js deleted file mode 100644 index b4dec3a..0000000 --- a/assets/js/c377a04b.ed669e47.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6971],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),p=s(r),f=a,b=p["".concat(u,".").concat(f)]||p[f]||d[f]||i;return r?n.createElement(b,o(o({ref:t},c),{},{components:r})):n.createElement(b,o({ref:t},c))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=p;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var s=2;s<i;s++)o[s]=r[s];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}p.displayName="MDXCreateElement"},8296:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>V,contentTitle:()=>S,default:()=>P,frontMatter:()=>x,metadata:()=>_,toc:()=>j});var n=r(7462),a=r(7294),i=r(3905),o=r(6010),l=r(2466),u=r(6550),s=r(1980),c=r(7392),d=r(12);function p(e){return function(e){var t;return(null==(t=a.Children.map(e,(e=>{if(!e||(0,a.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)})))?void 0:t.filter(Boolean))??[]}(e).map((e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}))}function f(e){const{values:t,children:r}=e;return(0,a.useMemo)((()=>{const e=t??p(r);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,r])}function b(e){let{value:t,tabValues:r}=e;return r.some((e=>e.value===t))}function m(e){let{queryString:t=!1,groupId:r}=e;const n=(0,u.k6)(),i=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:t,groupId:r});return[(0,s._X)(i),(0,a.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(n.location.search);t.set(i,e),n.replace({...n.location,search:t.toString()})}),[i,n])]}function g(e){const{defaultValue:t,queryString:r=!1,groupId:n}=e,i=f(e),[o,l]=(0,a.useState)((()=>function(e){let{defaultValue:t,tabValues:r}=e;if(0===r.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!b({value:t,tabValues:r}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${r.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const n=r.find((e=>e.default))??r[0];if(!n)throw new Error("Unexpected error: 0 tabValues");return n.value}({defaultValue:t,tabValues:i}))),[u,s]=m({queryString:r,groupId:n}),[c,p]=function(e){let{groupId:t}=e;const r=function(e){return e?`docusaurus.tab.${e}`:null}(t),[n,i]=(0,d.Nk)(r);return[n,(0,a.useCallback)((e=>{r&&i.set(e)}),[r,i])]}({groupId:n}),g=(()=>{const e=u??c;return b({value:e,tabValues:i})?e:null})();(0,a.useLayoutEffect)((()=>{g&&l(g)}),[g]);return{selectedValue:o,selectValue:(0,a.useCallback)((e=>{if(!b({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);l(e),s(e),p(e)}),[s,p,i]),tabValues:i}}var v=r(2389);const y="tabList__CuJ",h="tabItem_LNqP";function w(e){let{className:t,block:r,selectedValue:i,selectValue:u,tabValues:s}=e;const c=[],{blockElementScrollPositionUntilNextRender:d}=(0,l.o5)(),p=e=>{const t=e.currentTarget,r=c.indexOf(t),n=s[r].value;n!==i&&(d(t),u(n))},f=e=>{var t;let r=null;switch(e.key){case"Enter":p(e);break;case"ArrowRight":{const t=c.indexOf(e.currentTarget)+1;r=c[t]??c[0];break}case"ArrowLeft":{const t=c.indexOf(e.currentTarget)-1;r=c[t]??c[c.length-1];break}}null==(t=r)||t.focus()};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":r},t)},s.map((e=>{let{value:t,label:r,attributes:l}=e;return a.createElement("li",(0,n.Z)({role:"tab",tabIndex:i===t?0:-1,"aria-selected":i===t,key:t,ref:e=>c.push(e),onKeyDown:f,onClick:p},l,{className:(0,o.Z)("tabs__item",h,null==l?void 0:l.className,{"tabs__item--active":i===t})}),r??t)})))}function k(e){let{lazy:t,children:r,selectedValue:n}=e;const i=(Array.isArray(r)?r:[r]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===n));return e?(0,a.cloneElement)(e,{className:"margin-top--md"}):null}return a.createElement("div",{className:"margin-top--md"},i.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==n}))))}function E(e){const t=g(e);return a.createElement("div",{className:(0,o.Z)("tabs-container",y)},a.createElement(w,(0,n.Z)({},e,t)),a.createElement(k,(0,n.Z)({},e,t)))}function O(e){const t=(0,v.Z)();return a.createElement(E,(0,n.Z)({key:String(t)},e))}const T="tabItem_Ymn6";function N(e){let{children:t,hidden:r,className:n}=e;return a.createElement("div",{role:"tabpanel",className:(0,o.Z)(T,n),hidden:r},t)}const x={sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},S="React Native Android Widget",_={unversionedId:"index",id:"index",title:"Getting Started",description:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.",source:"@site/docs/index.md",sourceDirName:".",slug:"/",permalink:"/react-native-android-widget/docs/",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/index.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},sidebar:"default",next:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"}},V={},j=[{value:"Getting Started",id:"getting-started",level:2}],I={toc:j};function P(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},I,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"react-native-android-widget"},"React Native Android Widget"),(0,i.kt)("p",null,"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side."),(0,i.kt)("p",null,"Get started building by installing React Native Android Widget or by following the ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/tutorial/widget-design"},"Tutorial")," to learn the main concepts."),(0,i.kt)("h2",{id:"getting-started"},"Getting Started"),(0,i.kt)("p",null,"Get started by ",(0,i.kt)("strong",{parentName:"p"},"installing the library"),"."),(0,i.kt)(O,{mdxType:"Tabs"},(0,i.kt)(N,{value:"npm",label:"npm",default:!0,mdxType:"TabItem"},(0,i.kt)("pre",null,"npm install --save react-native-android-widget")),(0,i.kt)(N,{value:"yarn",label:"yarn",mdxType:"TabItem"},(0,i.kt)("pre",null,"yarn add react-native-android-widget"))))}P.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c56934f7.8e3103e5.js b/assets/js/c56934f7.8e3103e5.js new file mode 100644 index 0000000..e5544e7 --- /dev/null +++ b/assets/js/c56934f7.8e3103e5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2321],{4961:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>d,default:()=>p,frontMatter:()=>s,metadata:()=>a,toc:()=>c});var r=t(5893),n=t(1151);const s={id:"WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",sidebar_label:"WithAndroidWidgetsParams",sidebar_position:0,custom_edit_url:null},d=void 0,a={id:"public-api/interfaces/WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",description:"Properties",source:"@site/docs/public-api/interfaces/WithAndroidWidgetsParams.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WithAndroidWidgetsParams",permalink:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",sidebar_label:"WithAndroidWidgetsParams",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"}},o={},c=[{value:"Properties",id:"properties",level:2},{value:"widgets",id:"widgets",level:3},{value:"fonts",id:"fonts",level:3}];function l(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(i.h3,{id:"widgets",children:"widgets"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.strong,{children:"widgets"}),": ",(0,r.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/Widget",children:(0,r.jsx)(i.code,{children:"Widget"})}),"[]"]}),"\n",(0,r.jsx)(i.hr,{}),"\n",(0,r.jsx)(i.h3,{id:"fonts",children:"fonts"}),"\n",(0,r.jsxs)(i.p,{children:["\u2022 ",(0,r.jsx)(i.code,{children:"Optional"})," ",(0,r.jsx)(i.strong,{children:"fonts"}),": ",(0,r.jsx)(i.a,{href:"../#resourcepath",children:(0,r.jsx)(i.code,{children:"ResourcePath"})}),"[]"]})]})}function p(e={}){const{wrapper:i}={...(0,n.a)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1151:(e,i,t)=>{t.d(i,{Z:()=>a,a:()=>d});var r=t(7294);const n={},s=r.createContext(n);function d(e){const i=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function a(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),r.createElement(s.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c56934f7.faf1a9f9.js b/assets/js/c56934f7.faf1a9f9.js deleted file mode 100644 index e6dabff..0000000 --- a/assets/js/c56934f7.faf1a9f9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2321],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>f});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var d=n.createContext({}),c=function(e){var t=n.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(d.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(r),f=i,m=u["".concat(d,".").concat(f)]||u[f]||l[f]||a;return r?n.createElement(m,o(o({ref:t},p),{},{components:r})):n.createElement(m,o({ref:t},p))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var s={};for(var d in t)hasOwnProperty.call(t,d)&&(s[d]=t[d]);s.originalType=e,s.mdxType="string"==typeof e?e:i,o[1]=s;for(var c=2;c<a;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}u.displayName="MDXCreateElement"},4728:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>l,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var n=r(7462),i=(r(7294),r(3905));const a={id:"WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",sidebar_label:"WithAndroidWidgetsParams",sidebar_position:0,custom_edit_url:null},o=void 0,s={unversionedId:"public-api/interfaces/WithAndroidWidgetsParams",id:"public-api/interfaces/WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",description:"Properties",source:"@site/docs/public-api/interfaces/WithAndroidWidgetsParams.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WithAndroidWidgetsParams",permalink:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WithAndroidWidgetsParams",title:"Interface: WithAndroidWidgetsParams",sidebar_label:"WithAndroidWidgetsParams",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetTaskHandlerProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps"}},d={},c=[{value:"Properties",id:"properties",level:2},{value:"widgets",id:"widgets",level:3},{value:"fonts",id:"fonts",level:3}],p={toc:c};function l(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"widgets"},"widgets"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgets"),": ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/Widget"},(0,i.kt)("inlineCode",{parentName:"a"},"Widget")),"[]"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"fonts"},"fonts"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"fonts"),": ",(0,i.kt)("a",{parentName:"p",href:"../#resourcepath"},(0,i.kt)("inlineCode",{parentName:"a"},"ResourcePath")),"[]"))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/cc1aedd7.79c64f57.js b/assets/js/cc1aedd7.79c64f57.js new file mode 100644 index 0000000..c485da2 --- /dev/null +++ b/assets/js/cc1aedd7.79c64f57.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1069],{2110:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>p,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var i=n(5893),s=n(1151);const o={sidebar_position:6},r="IconWidget",a={id:"primitives/icon-widget",title:"IconWidget",description:"Widget for displaying icons.",source:"@site/docs/primitives/icon-widget.md",sourceDirName:"primitives",slug:"/primitives/icon-widget",permalink:"/react-native-android-widget/docs/primitives/icon-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/icon-widget.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"TextWidget",permalink:"/react-native-android-widget/docs/primitives/text-widget"},next:{title:"SvgWidget",permalink:"/react-native-android-widget/docs/primitives/svg-widget"}},d={},c=[{value:"Usage",id:"usage",level:2},{value:"Fonts",id:"fonts",level:2},{value:"Bare React Native",id:"bare-react-native",level:3},{value:"Expo",id:"expo",level:3},{value:"Props",id:"props",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"iconwidget",children:"IconWidget"}),"\n",(0,i.jsx)(t.p,{children:"Widget for displaying icons."}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-tsx",children:'import { FlexWidget, IconWidget } from \'react-native-android-widget\';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <IconWidget font="material" size={36} icon="play_arrow" />\n </FlexWidget>\n );\n}\n'})}),"\n",(0,i.jsx)(t.h2,{id:"fonts",children:"Fonts"}),"\n",(0,i.jsx)(t.p,{children:"Icon widget supports custom fonts, but we must provide the font file."}),"\n",(0,i.jsx)(t.h3,{id:"bare-react-native",children:"Bare React Native"}),"\n",(0,i.jsxs)(t.p,{children:["To use a custom icon font in bare React Native app we must copy the font file(s) to ",(0,i.jsx)(t.code,{children:"android/app/src/main/assets/fonts"}),". The ",(0,i.jsx)(t.code,{children:"font"})," prop will match the file by name."]}),"\n",(0,i.jsxs)(t.p,{children:["For example, ",(0,i.jsx)(t.code,{children:"android/app/src/main/assets/fonts/material.ttf"})]}),"\n",(0,i.jsx)(t.h3,{id:"expo",children:"Expo"}),"\n",(0,i.jsx)(t.p,{children:"To use a custom font in an Expo app, we can add them in the assets directory."}),"\n",(0,i.jsxs)(t.p,{children:["For example, ",(0,i.jsx)(t.code,{children:"assets/fonts/material.ttf"})]}),"\n",(0,i.jsx)(t.p,{children:"Then, when using the config plugin we must provide a list of all the custom fonts we need."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"export default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [\n ['react-native-android-widget', {\n fonts: ['./assets/fonts/material.ttf'],\n widgets: [...],\n }]\n ],\n});\n"})}),"\n",(0,i.jsx)(t.h2,{id:"props",children:"Props"}),"\n",(0,i.jsxs)(t.p,{children:["Check the props in the ",(0,i.jsx)(t.a,{href:"/docs/public-api/interfaces/IconWidgetProps",children:"Public API"})," documentation"]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>r});var i=n(7294);const s={},o=i.createContext(s);function r(e){const t=i.useContext(o);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/cc1aedd7.a3c4fcf5.js b/assets/js/cc1aedd7.a3c4fcf5.js deleted file mode 100644 index ae549b3..0000000 --- a/assets/js/cc1aedd7.a3c4fcf5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[1069],{3905:(e,t,n)=>{n.d(t,{Zo:()=>l,kt:()=>f});var i=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=i.createContext({}),c=function(e){var t=i.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},l=function(e){var t=c(e.components);return i.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},u=i.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,p=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=c(n),f=r,m=u["".concat(p,".").concat(f)]||u[f]||d[f]||o;return n?i.createElement(m,a(a({ref:t},l),{},{components:n})):i.createElement(m,a({ref:t},l))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,a=new Array(o);a[0]=u;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s.mdxType="string"==typeof e?e:r,a[1]=s;for(var c=2;c<o;c++)a[c]=n[c];return i.createElement.apply(null,a)}return i.createElement.apply(null,n)}u.displayName="MDXCreateElement"},5530:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var i=n(7462),r=(n(7294),n(3905));const o={sidebar_position:6},a="IconWidget",s={unversionedId:"primitives/icon-widget",id:"primitives/icon-widget",title:"IconWidget",description:"Widget for displaying icons.",source:"@site/docs/primitives/icon-widget.md",sourceDirName:"primitives",slug:"/primitives/icon-widget",permalink:"/react-native-android-widget/docs/primitives/icon-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/primitives/icon-widget.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"TextWidget",permalink:"/react-native-android-widget/docs/primitives/text-widget"},next:{title:"SvgWidget",permalink:"/react-native-android-widget/docs/primitives/svg-widget"}},p={},c=[{value:"Usage",id:"usage",level:2},{value:"Fonts",id:"fonts",level:2},{value:"Bare React Native",id:"bare-react-native",level:3},{value:"Expo",id:"expo",level:3},{value:"Props",id:"props",level:2}],l={toc:c};function d(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,i.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"iconwidget"},"IconWidget"),(0,r.kt)("p",null,"Widget for displaying icons."),(0,r.kt)("h2",{id:"usage"},"Usage"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-tsx"},'import { FlexWidget, IconWidget } from \'react-native-android-widget\';\n\nexport function MyWidget() {\n return (\n <FlexWidget>\n <IconWidget font="material" size={36} icon="play_arrow" />\n </FlexWidget>\n );\n}\n')),(0,r.kt)("h2",{id:"fonts"},"Fonts"),(0,r.kt)("p",null,"Icon widget supports custom fonts, but we must provide the font file."),(0,r.kt)("h3",{id:"bare-react-native"},"Bare React Native"),(0,r.kt)("p",null,"To use a custom icon font in bare React Native app we must copy the font file(s) to ",(0,r.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts"),". The ",(0,r.kt)("inlineCode",{parentName:"p"},"font")," prop will match the file by name."),(0,r.kt)("p",null,"For example, ",(0,r.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts/material.ttf")),(0,r.kt)("h3",{id:"expo"},"Expo"),(0,r.kt)("p",null,"To use a custom font in an Expo app, we can add them in the assets directory."),(0,r.kt)("p",null,"For example, ",(0,r.kt)("inlineCode",{parentName:"p"},"assets/fonts/material.ttf")),(0,r.kt)("p",null,"Then, when using the config plugin we must provide a list of all the custom fonts we need."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-ts"},"export default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [\n ['react-native-android-widget', {\n fonts: ['./assets/fonts/material.ttf'],\n widgets: [...],\n }]\n ],\n});\n")),(0,r.kt)("h2",{id:"props"},"Props"),(0,r.kt)("p",null,"Check the props in the ",(0,r.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/IconWidgetProps"},"Public API")," documentation"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d5b87c6b.06308e0d.js b/assets/js/d5b87c6b.06308e0d.js new file mode 100644 index 0000000..aba8d8d --- /dev/null +++ b/assets/js/d5b87c6b.06308e0d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2386],{4768:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>t,metadata:()=>o,toc:()=>h});var n=i(5893),d=i(1151);const t={id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},l=void 0,o={id:"public-api/interfaces/ListWidgetStyle",title:"Interface: ListWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ListWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},next:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-21",level:4}];function s(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:(0,n.jsx)(r.code,{children:"MarginStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:(0,n.jsx)(r.code,{children:"SizeStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:(0,n.jsx)(r.code,{children:"BackgroundStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"Omit"}),"<",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:(0,n.jsx)(r.code,{children:"BorderStyleProps"})}),", `${string}Radius`>"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ListWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderStyle"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderColor"})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(s,{...e})}):s(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>o,a:()=>l});var n=i(7294);const d={},t=n.createContext(d);function l(e){const r=n.useContext(t);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),n.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d5b87c6b.3de748be.js b/assets/js/d5b87c6b.3de748be.js deleted file mode 100644 index dcc7c92..0000000 --- a/assets/js/d5b87c6b.3de748be.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2386],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>c});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var d=i.createContext({}),p=function(e){var t=i.useContext(d),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},m=function(e){var t=p(e.components);return i.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),h=p(r),c=n,u=h["".concat(d,".").concat(c)]||h[c]||k[c]||a;return r?i.createElement(u,o(o({ref:t},m),{},{components:r})):i.createElement(u,o({ref:t},m))}));function c(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=h;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:n,o[1]=l;for(var p=2;p<a;p++)o[p]=r[p];return i.createElement.apply(null,o)}return i.createElement.apply(null,r)}h.displayName="MDXCreateElement"},6586:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>k,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var i=r(7462),n=(r(7294),r(3905));const a={id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/ListWidgetStyle",id:"public-api/interfaces/ListWidgetStyle",title:"Interface: ListWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ListWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},next:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"}},d={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-21",level:4}],m={toc:p};function k(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"MarginStyleProps")))),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"SizeStyleProps")))),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"BackgroundStyleProps")))),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("inlineCode",{parentName:"p"},"Omit"),"<",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"BorderStyleProps")),", ","`","${string}Radius","`",">"),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"ListWidgetStyle"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"margin"},"margin"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"margin"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin"},"margin")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal"},"marginHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical"},"marginVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margintop"},"marginTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop"},"marginTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom"},"marginBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginleft"},"marginLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft"},"marginLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginright"},"marginRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"},"MarginStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright"},"marginRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"height"},"height"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"height"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},"SizeStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height"},"height")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"width"},"width"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"width"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps"},"SizeStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width"},"width")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},"BackgroundStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor"},"backgroundColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Object")),(0,n.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"from")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"to")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"orientation")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,n.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps"},"BackgroundStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient"},"backgroundGradient")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderBottomColor"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderLeftColor"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderRightColor"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,n.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderStyle"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderTopColor"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderBottomWidth"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderRightWidth"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderWidth"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderLeftWidth"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderTopWidth"),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordercolor"},"borderColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,n.kt)("p",null,"Omit.borderColor"))}k.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e73c34ba.0d8be8ea.js b/assets/js/e73c34ba.0d8be8ea.js new file mode 100644 index 0000000..287417e --- /dev/null +++ b/assets/js/e73c34ba.0d8be8ea.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[924],{9202:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var d=i(5893),n=i(1151);const o={id:"IconWidgetStyle",title:"Interface: IconWidgetStyle",sidebar_label:"IconWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/IconWidgetStyle",title:"Interface: IconWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/IconWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IconWidgetStyle",title:"Interface: IconWidgetStyle",sidebar_label:"IconWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},next:{title:"ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function a(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,d.jsxs)(r.ul,{children:["\n",(0,d.jsxs)(r.li,{children:["\n",(0,d.jsx)(r.p,{children:(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,d.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,d.jsxs)(r.p,{children:["\u21b3 ",(0,d.jsx)(r.strong,{children:(0,d.jsx)(r.code,{children:"IconWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,d.jsx)(r.h3,{id:"color",children:"color"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"color"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"adjustsfontsizetofit",children:"adjustsFontSizeToFit"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"adjustsFontSizeToFit"}),": ",(0,d.jsx)(r.code,{children:"boolean"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"margin"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"marginRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"padding"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingTop"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"paddingRight"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"height"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"width"}),": ",(0,d.jsx)(r.code,{children:"number"})," | ",(0,d.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,d.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,d.jsx)(r.code,{children:"Object"})]}),"\n",(0,d.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,d.jsxs)(r.table,{children:[(0,d.jsx)(r.thead,{children:(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,d.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,d.jsxs)(r.tbody,{children:[(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"from"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"to"})}),(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.a,{href:"../#colorprop",children:(0,d.jsx)(r.code,{children:"ColorProp"})})})]}),(0,d.jsxs)(r.tr,{children:[(0,d.jsx)(r.td,{style:{textAlign:"left"},children:(0,d.jsx)(r.code,{children:"orientation"})}),(0,d.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,d.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,d.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,d.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,d.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,d.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,d.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,d.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,d.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"borderStyle"}),": ",(0,d.jsx)(r.code,{children:'"solid"'})," | ",(0,d.jsx)(r.code,{children:'"dotted"'})," | ",(0,d.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,d.jsx)(r.hr,{}),"\n",(0,d.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,d.jsxs)(r.p,{children:["\u2022 ",(0,d.jsx)(r.code,{children:"Optional"})," ",(0,d.jsx)(r.strong,{children:"rotation"}),": ",(0,d.jsx)(r.code,{children:"number"})]}),"\n",(0,d.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,d.jsxs)(r.p,{children:[(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,d.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function h(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,d.jsx)(r,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var d=i(7294);const n={},o=d.createContext(n);function t(e){const r=d.useContext(o);return d.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),d.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e73c34ba.63cab1af.js b/assets/js/e73c34ba.63cab1af.js deleted file mode 100644 index c874b26..0000000 --- a/assets/js/e73c34ba.63cab1af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[924],{3905:(e,t,r)=>{r.d(t,{Zo:()=>m,kt:()=>k});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},o=Object.keys(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=i.createContext({}),p=function(e){var t=i.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},m=function(e){var t=p(e.components);return i.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),h=p(r),k=n,s=h["".concat(l,".").concat(k)]||h[k]||c[k]||o;return r?i.createElement(s,a(a({ref:t},m),{},{components:r})):i.createElement(s,a({ref:t},m))}));function k(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,a=new Array(o);a[0]=h;var d={};for(var l in t)hasOwnProperty.call(t,l)&&(d[l]=t[l]);d.originalType=e,d.mdxType="string"==typeof e?e:n,a[1]=d;for(var p=2;p<o;p++)a[p]=r[p];return i.createElement.apply(null,a)}return i.createElement.apply(null,r)}h.displayName="MDXCreateElement"},7889:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>o,metadata:()=>d,toc:()=>p});var i=r(7462),n=(r(7294),r(3905));const o={id:"IconWidgetStyle",title:"Interface: IconWidgetStyle",sidebar_label:"IconWidgetStyle",sidebar_position:0,custom_edit_url:null},a=void 0,d={unversionedId:"public-api/interfaces/IconWidgetStyle",id:"public-api/interfaces/IconWidgetStyle",title:"Interface: IconWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/IconWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/IconWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"IconWidgetStyle",title:"Interface: IconWidgetStyle",sidebar_label:"IconWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"},next:{title:"ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"}},l={},p=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}],m={toc:p};function c(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},m,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},(0,n.kt)("inlineCode",{parentName:"a"},"CommonStyleProps"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"IconWidgetStyle"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"color"},"color"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"color"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"adjustsfontsizetofit"},"adjustsFontSizeToFit"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"adjustsFontSizeToFit"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"boolean")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margin"},"margin"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"margin"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin"},"margin")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginhorizontal"},"marginHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal"},"marginHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginvertical"},"marginVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical"},"marginVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"margintop"},"marginTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop"},"marginTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginbottom"},"marginBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom"},"marginBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginleft"},"marginLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft"},"marginLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"marginright"},"marginRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"marginRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright"},"marginRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"padding"},"padding"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"padding"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding"},"padding")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddinghorizontal"},"paddingHorizontal"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingHorizontal"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal"},"paddingHorizontal")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingvertical"},"paddingVertical"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingVertical"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical"},"paddingVertical")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingtop"},"paddingTop"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingTop"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop"},"paddingTop")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingbottom"},"paddingBottom"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingBottom"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom"},"paddingBottom")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingleft"},"paddingLeft"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingLeft"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft"},"paddingLeft")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"paddingright"},"paddingRight"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"paddingRight"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright"},"paddingRight")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"height"},"height"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"height"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height"},"height")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"width"},"width"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"width"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"wrap_content"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"match_parent"')),(0,n.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width"},"width")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundcolor"},"backgroundColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor"},"backgroundColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"backgroundgradient"},"backgroundGradient"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"backgroundGradient"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Object")),(0,n.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"from")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"to")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("a",{parentName:"td",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp")))),(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"orientation")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},'"TOP_BOTTOM"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TR_BL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"RIGHT_LEFT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BR_TL"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BOTTOM_TOP"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"BL_TR"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"LEFT_RIGHT"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"td"},'"TL_BR"'))))),(0,n.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient"},"backgroundGradient")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderwidth"},"borderWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth"},"borderWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopwidth"},"borderTopWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth"},"borderTopWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomwidth"},"borderBottomWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth"},"borderBottomWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftwidth"},"borderLeftWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth"},"borderLeftWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightwidth"},"borderRightWidth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightWidth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth"},"borderRightWidth")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordercolor"},"borderColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor"},"borderColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopcolor"},"borderTopColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor"},"borderTopColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomcolor"},"borderBottomColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor"},"borderBottomColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderleftcolor"},"borderLeftColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderLeftColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor"},"borderLeftColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderrightcolor"},"borderRightColor"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRightColor"),": ",(0,n.kt)("a",{parentName:"p",href:"../#colorprop"},(0,n.kt)("inlineCode",{parentName:"a"},"ColorProp"))),(0,n.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor"},"borderRightColor")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderradius"},"borderRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius"},"borderRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertopleftradius"},"borderTopLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius"},"borderTopLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"bordertoprightradius"},"borderTopRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderTopRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius"},"borderTopRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomleftradius"},"borderBottomLeftRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomLeftRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius"},"borderBottomLeftRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderbottomrightradius"},"borderBottomRightRadius"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderBottomRightRadius"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius"},"borderBottomRightRadius")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"borderstyle"},"borderStyle"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"borderStyle"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"solid"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dotted"')," ","|"," ",(0,n.kt)("inlineCode",{parentName:"p"},'"dashed"')),(0,n.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle"},"borderStyle")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"rotation"},"rotation"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"rotation"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps"},"CommonStyleProps"),".",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation"},"rotation")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ead7330c.a4cb7251.js b/assets/js/ead7330c.a4cb7251.js deleted file mode 100644 index 9502b02..0000000 --- a/assets/js/ead7330c.a4cb7251.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7655],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=l(r),m=a,g=p["".concat(c,".").concat(m)]||p[m]||u[m]||i;return r?n.createElement(g,o(o({ref:t},d),{},{components:r})):n.createElement(g,o({ref:t},d))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=p;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:a,o[1]=s;for(var l=2;l<i;l++)o[l]=r[l];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}p.displayName="MDXCreateElement"},575:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>l});var n=r(7462),a=(r(7294),r(3905));const i={sidebar_position:8},o="Congratulations!",s={unversionedId:"tutorial/congratulations",id:"tutorial/congratulations",title:"Congratulations!",description:"You have just learned the basics of react-native-android-widget and created your first widget.",source:"@site/docs/tutorial/congratulations.md",sourceDirName:"tutorial",slug:"/tutorial/congratulations",permalink:"/react-native-android-widget/docs/tutorial/congratulations",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/congratulations.md",tags:[],version:"current",sidebarPosition:8,frontMatter:{sidebar_position:8},sidebar:"default",previous:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"},next:{title:"WidgetPreview",permalink:"/react-native-android-widget/docs/api/widget-preview"}},c={},l=[{value:"What's next?",id:"whats-next",level:2}],d={toc:l};function u(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"congratulations"},"Congratulations!"),(0,a.kt)("p",null,"You have just learned the ",(0,a.kt)("strong",{parentName:"p"},"basics of react-native-android-widget")," and created your ",(0,a.kt)("strong",{parentName:"p"},"first widget"),"."),(0,a.kt)("p",null,"react-native-android-widget has ",(0,a.kt)("strong",{parentName:"p"},"much more to offer"),"!"),(0,a.kt)("p",null,"Anything ",(0,a.kt)("strong",{parentName:"p"},"unclear")," or ",(0,a.kt)("strong",{parentName:"p"},"buggy")," in this tutorial? ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/sAleksovski/react-native-android-widget/issues"},"Please report it!")),(0,a.kt)("h2",{id:"whats-next"},"What's next?"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"Check the widget ",(0,a.kt)("a",{parentName:"li",href:"https://github.com/sAleksovski/react-native-android-widget/tree/master/example/src/widgets"},"examples")),(0,a.kt)("li",{parentName:"ul"},"See the API docs for the widget ",(0,a.kt)("a",{parentName:"li",href:"../primitives/index"},"primitives")),(0,a.kt)("li",{parentName:"ul"},"Learn how to ",(0,a.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/api/request-widget-update"},"update a widget")," once it is added to the home screen"),(0,a.kt)("li",{parentName:"ul"},"Learn about the ",(0,a.kt)("a",{parentName:"li",href:"/react-native-android-widget/docs/limitations"},"limitations"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ead7330c.bea349ed.js b/assets/js/ead7330c.bea349ed.js new file mode 100644 index 0000000..4fd4bd6 --- /dev/null +++ b/assets/js/ead7330c.bea349ed.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7655],{2032:(t,e,i)=>{i.r(e),i.d(e,{assets:()=>d,contentTitle:()=>a,default:()=>u,frontMatter:()=>s,metadata:()=>o,toc:()=>c});var n=i(5893),r=i(1151);const s={sidebar_position:8},a="Congratulations!",o={id:"tutorial/congratulations",title:"Congratulations!",description:"You have just learned the basics of react-native-android-widget and created your first widget.",source:"@site/docs/tutorial/congratulations.md",sourceDirName:"tutorial",slug:"/tutorial/congratulations",permalink:"/react-native-android-widget/docs/tutorial/congratulations",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/congratulations.md",tags:[],version:"current",sidebarPosition:8,frontMatter:{sidebar_position:8},sidebar:"default",previous:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"},next:{title:"WidgetPreview",permalink:"/react-native-android-widget/docs/api/widget-preview"}},d={},c=[{value:"What's next?",id:"whats-next",level:2}];function l(t){const e={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.a)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.h1,{id:"congratulations",children:"Congratulations!"}),"\n",(0,n.jsxs)(e.p,{children:["You have just learned the ",(0,n.jsx)(e.strong,{children:"basics of react-native-android-widget"})," and created your ",(0,n.jsx)(e.strong,{children:"first widget"}),"."]}),"\n",(0,n.jsxs)(e.p,{children:["react-native-android-widget has ",(0,n.jsx)(e.strong,{children:"much more to offer"}),"!"]}),"\n",(0,n.jsxs)(e.p,{children:["Anything ",(0,n.jsx)(e.strong,{children:"unclear"})," or ",(0,n.jsx)(e.strong,{children:"buggy"})," in this tutorial? ",(0,n.jsx)(e.a,{href:"https://github.com/sAleksovski/react-native-android-widget/issues",children:"Please report it!"})]}),"\n",(0,n.jsx)(e.h2,{id:"whats-next",children:"What's next?"}),"\n",(0,n.jsxs)(e.ul,{children:["\n",(0,n.jsxs)(e.li,{children:["Check the widget ",(0,n.jsx)(e.a,{href:"https://github.com/sAleksovski/react-native-android-widget/tree/master/example/src/widgets",children:"examples"})]}),"\n",(0,n.jsxs)(e.li,{children:["See the API docs for the widget ",(0,n.jsx)(e.a,{href:"../primitives/index",children:"primitives"})]}),"\n",(0,n.jsxs)(e.li,{children:["Learn how to ",(0,n.jsx)(e.a,{href:"/react-native-android-widget/docs/api/request-widget-update",children:"update a widget"})," once it is added to the home screen"]}),"\n",(0,n.jsxs)(e.li,{children:["Learn about the ",(0,n.jsx)(e.a,{href:"/react-native-android-widget/docs/limitations",children:"limitations"})]}),"\n"]})]})}function u(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(l,{...t})}):l(t)}},1151:(t,e,i)=>{i.d(e,{Z:()=>o,a:()=>a});var n=i(7294);const r={},s=n.createContext(r);function a(t){const e=n.useContext(s);return n.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function o(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:a(t.components),n.createElement(s.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/ef61de09.15b27fe9.js b/assets/js/ef61de09.15b27fe9.js deleted file mode 100644 index f9c841a..0000000 --- a/assets/js/ef61de09.15b27fe9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7386],{3905:(e,t,n)=>{n.d(t,{Zo:()=>l,kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),p=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},l=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,l=d(e,["components","mdxType","originalType","parentName"]),c=p(n),m=a,u=c["".concat(o,".").concat(m)]||c[m]||g[m]||i;return n?r.createElement(u,s(s({ref:t},l),{},{components:n})):r.createElement(u,s({ref:t},l))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,s=new Array(i);s[0]=c;var d={};for(var o in t)hasOwnProperty.call(t,o)&&(d[o]=t[o]);d.originalType=e,d.mdxType="string"==typeof e?e:a,s[1]=d;for(var p=2;p<i;p++)s[p]=n[p];return r.createElement.apply(null,s)}return r.createElement.apply(null,n)}c.displayName="MDXCreateElement"},8636:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>s,default:()=>g,frontMatter:()=>i,metadata:()=>d,toc:()=>p});var r=n(7462),a=(n(7294),n(3905));const i={sidebar_position:2},s="registerWidgetTaskHandler",d={unversionedId:"api/register-widget-task-handler",id:"api/register-widget-task-handler",title:"registerWidgetTaskHandler",description:"react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...",source:"@site/docs/api/register-widget-task-handler.md",sourceDirName:"api",slug:"/api/register-widget-task-handler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/register-widget-task-handler.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"WidgetPreview",permalink:"/react-native-android-widget/docs/api/widget-preview"},next:{title:"requestWidgetUpdate",permalink:"/react-native-android-widget/docs/api/request-widget-update"}},o={},p=[{value:"Usage",id:"usage",level:2},{value:"Register widget task handler",id:"register-widget-task-handler",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Types",id:"types",level:2}],l={toc:p};function g(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"registerwidgettaskhandler"},"registerWidgetTaskHandler"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"react-native-android-widget")," exports a ",(0,a.kt)("inlineCode",{parentName:"p"},"registerWidgetTaskHandler")," function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events..."),(0,a.kt)("h2",{id:"usage"},"Usage"),(0,a.kt)("p",null,"First, create a task handler function, containing:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="widget-task-handler.tsx"',title:'"widget-task-handler.tsx"'},"import React from 'react';\nimport type { WidgetTaskHandlerProps } from 'react-native-android-widget';\nimport { HelloWidget } from './HelloWidget';\n\nconst nameToWidget = {\n // Hello will be the **name** with which we will reference our widget.\n Hello: HelloWidget,\n};\n\nexport async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n const widgetInfo = props.widgetInfo;\n const Widget =\n nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];\n\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_UPDATE':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_RESIZED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_DELETED':\n // Handle widget deleted (remove widget data if you stored it somewhere)\n break;\n\n case 'WIDGET_CLICK':\n if (props.clickAction === 'play') {\n props.renderWidget(<Widget status=\"playing\" />);\n } else {\n props.renderWidget(<Widget status=\"stopped\" />);\n }\n break;\n\n default:\n break;\n }\n}\n")),(0,a.kt)("p",null,"We use ",(0,a.kt)("inlineCode",{parentName:"p"},"nameToWidget")," to map from the ",(0,a.kt)("strong",{parentName:"p"},"name")," to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this."),(0,a.kt)("p",null,"This file is also where you can execute regular JS code, include asynchronous operations, such as fetching data from API:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="widget-task-handler.tsx"',title:'"widget-task-handler.tsx"'},"// ...\ncase 'WIDGET_CLICK':\n if (props.clickAction === 'refresh') {\n const data = await fetch('https://example.com/api').then((response) => response.json());\n props.renderWidget(<Widget title={data.title} />);\n }\n break;\n")),(0,a.kt)("h2",{id:"register-widget-task-handler"},"Register widget task handler"),(0,a.kt)("p",null,"In the main ",(0,a.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"index.tsx"),") file for our app, when we register the main component, register the widget task handler."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { AppRegistry } from 'react-native';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n")),(0,a.kt)("h2",{id:"register-widget-task-handler-expo"},"Register widget task handler (Expo)"),(0,a.kt)("p",null,"If we are using Expo, there is no ",(0,a.kt)("inlineCode",{parentName:"p"},"index.js")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"index.tsx"),"), but we can create it."),(0,a.kt)("p",null,"First, update ",(0,a.kt)("inlineCode",{parentName:"p"},"package.json")," main field to point to ",(0,a.kt)("inlineCode",{parentName:"p"},"index.ts")," (or ",(0,a.kt)("inlineCode",{parentName:"p"},".js"),") instead of ",(0,a.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="package.json"',title:'"package.json"'},'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n')),(0,a.kt)("p",null,"Create the file, using ",(0,a.kt)("inlineCode",{parentName:"p"},"node_modules/expo/AppEntry.js")," as a template.\nThen import ",(0,a.kt)("inlineCode",{parentName:"p"},"widgetTaskHandler")," and register it."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js",metastring:'title="index.ts"',title:'"index.ts"'},"import { registerRootComponent } from 'expo';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n")),(0,a.kt)("h2",{id:"types"},"Types"),(0,a.kt)("p",null,"Check the types in the ",(0,a.kt)("a",{parentName:"p",href:"/docs/public-api#registerwidgettaskhandler"},"Public API")," documentation"),(0,a.kt)("p",null,"The widget task handler will be called with some properties, described with ",(0,a.kt)("a",{parentName:"p",href:"/docs/public-api/interfaces/WidgetTaskHandlerProps"},"WidgetTaskHandlerProps")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ef61de09.8ca3a6aa.js b/assets/js/ef61de09.8ca3a6aa.js new file mode 100644 index 0000000..a2c4be8 --- /dev/null +++ b/assets/js/ef61de09.8ca3a6aa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7386],{7640:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>p,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var i=n(5893),r=n(1151);const s={sidebar_position:2},a="registerWidgetTaskHandler",d={id:"api/register-widget-task-handler",title:"registerWidgetTaskHandler",description:"react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...",source:"@site/docs/api/register-widget-task-handler.md",sourceDirName:"api",slug:"/api/register-widget-task-handler",permalink:"/react-native-android-widget/docs/api/register-widget-task-handler",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/api/register-widget-task-handler.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"default",previous:{title:"WidgetPreview",permalink:"/react-native-android-widget/docs/api/widget-preview"},next:{title:"requestWidgetUpdate",permalink:"/react-native-android-widget/docs/api/request-widget-update"}},o={},l=[{value:"Usage",id:"usage",level:2},{value:"Register widget task handler",id:"register-widget-task-handler",level:2},{value:"Register widget task handler (Expo)",id:"register-widget-task-handler-expo",level:2},{value:"Types",id:"types",level:2}];function c(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"registerwidgettaskhandler",children:"registerWidgetTaskHandler"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"react-native-android-widget"})," exports a ",(0,i.jsx)(t.code,{children:"registerWidgetTaskHandler"})," function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events..."]}),"\n",(0,i.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t.p,{children:"First, create a task handler function, containing:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="widget-task-handler.tsx"',children:"import React from 'react';\nimport type { WidgetTaskHandlerProps } from 'react-native-android-widget';\nimport { HelloWidget } from './HelloWidget';\n\nconst nameToWidget = {\n // Hello will be the **name** with which we will reference our widget.\n Hello: HelloWidget,\n};\n\nexport async function widgetTaskHandler(props: WidgetTaskHandlerProps) {\n const widgetInfo = props.widgetInfo;\n const Widget =\n nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];\n\n switch (props.widgetAction) {\n case 'WIDGET_ADDED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_UPDATE':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_RESIZED':\n props.renderWidget(<Widget />);\n break;\n\n case 'WIDGET_DELETED':\n // Handle widget deleted (remove widget data if you stored it somewhere)\n break;\n\n case 'WIDGET_CLICK':\n if (props.clickAction === 'play') {\n props.renderWidget(<Widget status=\"playing\" />);\n } else {\n props.renderWidget(<Widget status=\"stopped\" />);\n }\n break;\n\n default:\n break;\n }\n}\n"})}),"\n",(0,i.jsxs)(t.p,{children:["We use ",(0,i.jsx)(t.code,{children:"nameToWidget"})," to map from the ",(0,i.jsx)(t.strong,{children:"name"})," to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this."]}),"\n",(0,i.jsx)(t.p,{children:"This file is also where you can execute regular JS code, include asynchronous operations, such as fetching data from API:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="widget-task-handler.tsx"',children:"// ...\ncase 'WIDGET_CLICK':\n if (props.clickAction === 'refresh') {\n const data = await fetch('https://example.com/api').then((response) => response.json());\n props.renderWidget(<Widget title={data.title} />);\n }\n break;\n"})}),"\n",(0,i.jsx)(t.h2,{id:"register-widget-task-handler",children:"Register widget task handler"}),"\n",(0,i.jsxs)(t.p,{children:["In the main ",(0,i.jsx)(t.code,{children:"index.js"})," (or ",(0,i.jsx)(t.code,{children:"index.ts"}),", ",(0,i.jsx)(t.code,{children:"index.tsx"}),") file for our app, when we register the main component, register the widget task handler."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="index.ts"',children:"import { AppRegistry } from 'react-native';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\nimport { name as appName } from './app.json';\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\nAppRegistry.registerComponent(appName, () => App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n"})}),"\n",(0,i.jsx)(t.h2,{id:"register-widget-task-handler-expo",children:"Register widget task handler (Expo)"}),"\n",(0,i.jsxs)(t.p,{children:["If we are using Expo, there is no ",(0,i.jsx)(t.code,{children:"index.js"})," (or ",(0,i.jsx)(t.code,{children:"index.ts"}),", ",(0,i.jsx)(t.code,{children:"index.tsx"}),"), but we can create it."]}),"\n",(0,i.jsxs)(t.p,{children:["First, update ",(0,i.jsx)(t.code,{children:"package.json"})," main field to point to ",(0,i.jsx)(t.code,{children:"index.ts"})," (or ",(0,i.jsx)(t.code,{children:".js"}),") instead of ",(0,i.jsx)(t.code,{children:"node_modules/expo/AppEntry.js"})]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="package.json"',children:'{\n "name": "my-expo-app",\n "main": "index.ts",\n ...\n}\n'})}),"\n",(0,i.jsxs)(t.p,{children:["Create the file, using ",(0,i.jsx)(t.code,{children:"node_modules/expo/AppEntry.js"})," as a template.\nThen import ",(0,i.jsx)(t.code,{children:"widgetTaskHandler"})," and register it."]}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-js",metastring:'title="index.ts"',children:"import { registerRootComponent } from 'expo';\nimport { registerWidgetTaskHandler } from 'react-native-android-widget';\n\nimport App from './App';\nimport { widgetTaskHandler } from './widget-task-handler';\n\n// registerRootComponent calls AppRegistry.registerComponent('main', () => App);\n// It also ensures that whether you load the app in Expo Go or in a native build,\n// the environment is set up appropriately\nregisterRootComponent(App);\nregisterWidgetTaskHandler(widgetTaskHandler);\n"})}),"\n",(0,i.jsx)(t.h2,{id:"types",children:"Types"}),"\n",(0,i.jsxs)(t.p,{children:["Check the types in the ",(0,i.jsx)(t.a,{href:"/docs/public-api#registerwidgettaskhandler",children:"Public API"})," documentation"]}),"\n",(0,i.jsxs)(t.p,{children:["The widget task handler will be called with some properties, described with ",(0,i.jsx)(t.a,{href:"/docs/public-api/interfaces/WidgetTaskHandlerProps",children:"WidgetTaskHandlerProps"})]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>a});var i=n(7294);const r={},s=i.createContext(r);function a(e){const t=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f477c445.204df771.js b/assets/js/f477c445.204df771.js deleted file mode 100644 index b730696..0000000 --- a/assets/js/f477c445.204df771.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9990],{3905:(e,i,t)=>{t.d(i,{Zo:()=>p,kt:()=>m});var n=t(7294);function r(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function a(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?a(Object(t),!0).forEach((function(i){r(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}function o(e,i){if(null==e)return{};var t,n,r=function(e,i){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],i.indexOf(t)>=0||(r[t]=e[t]);return r}(e,i);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],i.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var l=n.createContext({}),s=function(e){var i=n.useContext(l),t=i;return e&&(t="function"==typeof e?e(i):d(d({},i),e)),t},p=function(e){var i=s(e.components);return n.createElement(l.Provider,{value:i},e.children)},c={inlineCode:"code",wrapper:function(e){var i=e.children;return n.createElement(n.Fragment,{},i)}},g=n.forwardRef((function(e,i){var t=e.components,r=e.mdxType,a=e.originalType,l=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),g=s(t),m=r,u=g["".concat(l,".").concat(m)]||g[m]||c[m]||a;return t?n.createElement(u,d(d({ref:i},p),{},{components:t})):n.createElement(u,d({ref:i},p))}));function m(e,i){var t=arguments,r=i&&i.mdxType;if("string"==typeof e||r){var a=t.length,d=new Array(a);d[0]=g;var o={};for(var l in i)hasOwnProperty.call(i,l)&&(o[l]=i[l]);o.originalType=e,o.mdxType="string"==typeof e?e:r,d[1]=o;for(var s=2;s<a;s++)d[s]=t[s];return n.createElement.apply(null,d)}return n.createElement.apply(null,t)}g.displayName="MDXCreateElement"},5849:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>l,contentTitle:()=>d,default:()=>c,frontMatter:()=>a,metadata:()=>o,toc:()=>s});var n=t(7462),r=(t(7294),t(3905));const a={sidebar_position:4},d="Register widget",o={unversionedId:"tutorial/register-widget",id:"tutorial/register-widget",title:"Register widget",description:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.",source:"@site/docs/tutorial/register-widget.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget",draft:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"},next:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"}},l={},s=[{value:"Add a widget provider class",id:"add-a-widget-provider-class",level:2},{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add widget description string (Optional)",id:"add-widget-description-string-optional",level:2},{value:"Add a widget provider xml file",id:"add-a-widget-provider-xml-file",level:2},{value:"Add services in AndroidManifest.xml",id:"add-services-in-androidmanifestxml",level:2},{value:"Add widget receiver in AndroidManifest.xml",id:"add-widget-receiver-in-androidmanifestxml",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2}],p={toc:s};function c(e){let{components:i,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},p,a,{components:i,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"register-widget"},"Register widget"),(0,r.kt)("p",null,"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget."),(0,r.kt)("h2",{id:"add-a-widget-provider-class"},"Add a widget provider class"),(0,r.kt)("p",null,"Create a new package ",(0,r.kt)("inlineCode",{parentName:"p"},"widget")," in the native android app. Inside it create a class ",(0,r.kt)("inlineCode",{parentName:"p"},"Hello.java")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/widget/Hello.java"',title:'"android/app/src/main/java/com/yourapppackage/widget/Hello.java"'},"package com.yourapppackage.widget;\n\nimport com.reactnativeandroidwidget.RNWidgetProvider;\n\npublic class Hello extends RNWidgetProvider {\n}\n")),(0,r.kt)("p",null,"The class ",(0,r.kt)("strong",{parentName:"p"},"name")," will be used to reference our widget."),(0,r.kt)("h2",{id:"create-widget-preview-image"},"Create widget preview image"),(0,r.kt)("p",null,"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."),(0,r.kt)("p",null,"Take a screenshot of the widget, and place it inside ",(0,r.kt)("inlineCode",{parentName:"p"},"android/app/src/main/res/drawable/hello_preview.png")),(0,r.kt)("pre",null,"android/app/src/main/res/drawable/hello_preview.png"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"Hello Widget Preview",src:t(6945).Z,width:"327",height:"208"})),(0,r.kt)("h2",{id:"add-widget-description-string-optional"},"Add widget description string (Optional)"),(0,r.kt)("p",null,"When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in ",(0,r.kt)("inlineCode",{parentName:"p"},"strings.xml")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/res/values/strings.xml"',title:'"android/app/src/main/res/values/strings.xml"'},'<?xml version="1.0" encoding="utf-8"?>\n<resources>\n <string name="app_name">My App Name</string>\n <string name="widget_hello_description" translatable="false">This is my first widget</string>\n</resources>\n')),(0,r.kt)("h2",{id:"add-a-widget-provider-xml-file"},"Add a widget provider xml file"),(0,r.kt)("p",null,"Create a new xml file in the resources directory containing the details about the widget."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',title:'"android/app/src/main/res/xml/widgetprovider_hello.xml"'},'<?xml version="1.0" encoding="utf-8"?>\n<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"\n android:minWidth="320dp"\n android:minHeight="120dp"\n\n android:updatePeriodMillis="0"\n\n android:initialLayout="@layout/rn_widget"\n\n android:previewImage="@drawable/hello_preview"\n android:description="@string/widget_hello_description"\n\n android:resizeMode="none"\n\n android:widgetCategory="home_screen">\n</appwidget-provider>\n')),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"android:updatePeriodMillis")," How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with ",(0,r.kt)("inlineCode",{parentName:"li"},"widgetAction = 'UPDATE_WIDGET'"),". See the official docs ",(0,r.kt)("a",{parentName:"li",href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis"},"here")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"android:previewImage")," should reference the preview image we added previously"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"android:description")," can be added or not, depending on if we added a description in the previous step")),(0,r.kt)("h2",{id:"add-services-in-androidmanifestxml"},"Add services in AndroidManifest.xml"),(0,r.kt)("p",null,"In order to use the ",(0,r.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/primitives/list-widget"},"ListWidget")," we need to add a ",(0,r.kt)("inlineCode",{parentName:"p"},"RNWidgetCollectionService")," service."),(0,r.kt)("p",null,"Under the application section in the manifest, add a new ",(0,r.kt)("inlineCode",{parentName:"p"},"RNWidgetCollectionService")," service. This service will be shared between all widgets, so it needs to be added only once."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',title:'"android/app/src/main/AndroidManifest.xml"'},'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <service\n android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"\n android:permission="android.permission.BIND_REMOTEVIEWS" />\n </application>\n</manifest>\n')),(0,r.kt)("h2",{id:"add-widget-receiver-in-androidmanifestxml"},"Add widget receiver in AndroidManifest.xml"),(0,r.kt)("p",null,"Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)"),(0,r.kt)("p",null,"In ",(0,r.kt)("inlineCode",{parentName:"p"},"AndroidManifest.xml"),", add a receiver for the widget"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',title:'"android/app/src/main/AndroidManifest.xml"'},'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <service\n android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"\n ... />\n\n <receiver\n android:name=".widget.Hello"\n android:exported="false"\n android:label="My Hello Widget">\n <intent-filter>\n <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />\n <action android:name="com.yourapppackage.WIDGET_CLICK" />\n </intent-filter>\n <meta-data\n android:name="android.appwidget.provider"\n android:resource="@xml/widgetprovider_hello" />\n </receiver>\n </application>\n</manifest>\n')),(0,r.kt)("p",null,"For the receiver"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"android:name")," myst be ",(0,r.kt)("inlineCode",{parentName:"li"},".widget.WidgetName")," (same as the Java class extending ",(0,r.kt)("inlineCode",{parentName:"li"},"RNWidgetProvider"),")"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"android:label")," will be shown in the widget picker")),(0,r.kt)("h2",{id:"add-custom-fonts-used-in-widgets"},"Add custom fonts used in widgets"),(0,r.kt)("p",null,"If we used a custom font in our widget, we must copy the font file(s) to ",(0,r.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts"),". The ",(0,r.kt)("inlineCode",{parentName:"p"},"fontFamily")," style prop will match the file by name."),(0,r.kt)("p",null,"For example, ",(0,r.kt)("inlineCode",{parentName:"p"},"android/app/src/main/assets/fonts/Inter.ttf")))}c.isMDXComponent=!0},6945:(e,i,t)=>{t.d(i,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="}}]); \ No newline at end of file diff --git a/assets/js/f477c445.65475447.js b/assets/js/f477c445.65475447.js new file mode 100644 index 0000000..9e7406f --- /dev/null +++ b/assets/js/f477c445.65475447.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9990],{5733:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>o,contentTitle:()=>a,default:()=>g,frontMatter:()=>r,metadata:()=>s,toc:()=>l});var d=n(5893),t=n(1151);const r={sidebar_position:4},a="Register widget",s={id:"tutorial/register-widget",title:"Register widget",description:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.",source:"@site/docs/tutorial/register-widget.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"},next:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"}},o={},l=[{value:"Add a widget provider class",id:"add-a-widget-provider-class",level:2},{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add widget description string (Optional)",id:"add-widget-description-string-optional",level:2},{value:"Add a widget provider xml file",id:"add-a-widget-provider-xml-file",level:2},{value:"Add services in AndroidManifest.xml",id:"add-services-in-androidmanifestxml",level:2},{value:"Add widget receiver in AndroidManifest.xml",id:"add-widget-receiver-in-androidmanifestxml",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2}];function c(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.h1,{id:"register-widget",children:"Register widget"}),"\n",(0,d.jsx)(i.p,{children:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget."}),"\n",(0,d.jsx)(i.h2,{id:"add-a-widget-provider-class",children:"Add a widget provider class"}),"\n",(0,d.jsxs)(i.p,{children:["Create a new package ",(0,d.jsx)(i.code,{children:"widget"})," in the native android app. Inside it create a class ",(0,d.jsx)(i.code,{children:"Hello.java"})]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/widget/Hello.java"',children:"package com.yourapppackage.widget;\n\nimport com.reactnativeandroidwidget.RNWidgetProvider;\n\npublic class Hello extends RNWidgetProvider {\n}\n"})}),"\n",(0,d.jsxs)(i.p,{children:["The class ",(0,d.jsx)(i.strong,{children:"name"})," will be used to reference our widget."]}),"\n",(0,d.jsx)(i.h2,{id:"create-widget-preview-image",children:"Create widget preview image"}),"\n",(0,d.jsx)(i.p,{children:"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."}),"\n",(0,d.jsxs)(i.p,{children:["Take a screenshot of the widget, and place it inside ",(0,d.jsx)(i.code,{children:"android/app/src/main/res/drawable/hello_preview.png"})]}),"\n",(0,d.jsx)("pre",{children:"android/app/src/main/res/drawable/hello_preview.png"}),"\n",(0,d.jsx)(i.p,{children:(0,d.jsx)(i.img,{alt:"Hello Widget Preview",src:n(6945).Z+"",width:"327",height:"208"})}),"\n",(0,d.jsx)(i.h2,{id:"add-widget-description-string-optional",children:"Add widget description string (Optional)"}),"\n",(0,d.jsxs)(i.p,{children:["When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in ",(0,d.jsx)(i.code,{children:"strings.xml"})]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/values/strings.xml"',children:'<?xml version="1.0" encoding="utf-8"?>\n<resources>\n <string name="app_name">My App Name</string>\n <string name="widget_hello_description" translatable="false">This is my first widget</string>\n</resources>\n'})}),"\n",(0,d.jsx)(i.h2,{id:"add-a-widget-provider-xml-file",children:"Add a widget provider xml file"}),"\n",(0,d.jsx)(i.p,{children:"Create a new xml file in the resources directory containing the details about the widget."}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'<?xml version="1.0" encoding="utf-8"?>\n<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"\n android:minWidth="320dp"\n android:minHeight="120dp"\n\n android:updatePeriodMillis="0"\n\n android:initialLayout="@layout/rn_widget"\n\n android:previewImage="@drawable/hello_preview"\n android:description="@string/widget_hello_description"\n\n android:resizeMode="none"\n\n android:widgetCategory="home_screen">\n</appwidget-provider>\n'})}),"\n",(0,d.jsxs)(i.ul,{children:["\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:updatePeriodMillis"})," How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with ",(0,d.jsx)(i.code,{children:"widgetAction = 'UPDATE_WIDGET'"}),". See the official docs ",(0,d.jsx)(i.a,{href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis",children:"here"})]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:previewImage"})," should reference the preview image we added previously"]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:description"})," can be added or not, depending on if we added a description in the previous step"]}),"\n"]}),"\n",(0,d.jsx)(i.h2,{id:"add-services-in-androidmanifestxml",children:"Add services in AndroidManifest.xml"}),"\n",(0,d.jsxs)(i.p,{children:["In order to use the ",(0,d.jsx)(i.a,{href:"/react-native-android-widget/docs/primitives/list-widget",children:"ListWidget"})," we need to add a ",(0,d.jsx)(i.code,{children:"RNWidgetCollectionService"})," service."]}),"\n",(0,d.jsxs)(i.p,{children:["Under the application section in the manifest, add a new ",(0,d.jsx)(i.code,{children:"RNWidgetCollectionService"})," service. This service will be shared between all widgets, so it needs to be added only once."]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <service\n android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"\n android:permission="android.permission.BIND_REMOTEVIEWS" />\n </application>\n</manifest>\n'})}),"\n",(0,d.jsx)(i.h2,{id:"add-widget-receiver-in-androidmanifestxml",children:"Add widget receiver in AndroidManifest.xml"}),"\n",(0,d.jsx)(i.p,{children:"Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)"}),"\n",(0,d.jsxs)(i.p,{children:["In ",(0,d.jsx)(i.code,{children:"AndroidManifest.xml"}),", add a receiver for the widget"]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'<manifest ...>\n ...\n <application\n android:name=".MainApplication"\n ...>\n\n <activity\n android:name=".MainActivity"\n ...>\n </activity>\n\n <service\n android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"\n ... />\n\n <receiver\n android:name=".widget.Hello"\n android:exported="false"\n android:label="My Hello Widget">\n <intent-filter>\n <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />\n <action android:name="com.yourapppackage.WIDGET_CLICK" />\n </intent-filter>\n <meta-data\n android:name="android.appwidget.provider"\n android:resource="@xml/widgetprovider_hello" />\n </receiver>\n </application>\n</manifest>\n'})}),"\n",(0,d.jsx)(i.p,{children:"For the receiver"}),"\n",(0,d.jsxs)(i.ul,{children:["\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:name"})," myst be ",(0,d.jsx)(i.code,{children:".widget.WidgetName"})," (same as the Java class extending ",(0,d.jsx)(i.code,{children:"RNWidgetProvider"}),")"]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:label"})," will be shown in the widget picker"]}),"\n"]}),"\n",(0,d.jsx)(i.h2,{id:"add-custom-fonts-used-in-widgets",children:"Add custom fonts used in widgets"}),"\n",(0,d.jsxs)(i.p,{children:["If we used a custom font in our widget, we must copy the font file(s) to ",(0,d.jsx)(i.code,{children:"android/app/src/main/assets/fonts"}),". The ",(0,d.jsx)(i.code,{children:"fontFamily"})," style prop will match the file by name."]}),"\n",(0,d.jsxs)(i.p,{children:["For example, ",(0,d.jsx)(i.code,{children:"android/app/src/main/assets/fonts/Inter.ttf"})]})]})}function g(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,d.jsx)(i,{...e,children:(0,d.jsx)(c,{...e})}):c(e)}},6945:(e,i,n)=>{n.d(i,{Z:()=>d});const d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>a});var d=n(7294);const t={},r=d.createContext(t);function a(e){const i=d.useContext(r);return d.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),d.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f600eb30.1218363a.js b/assets/js/f600eb30.1218363a.js new file mode 100644 index 0000000..bc12020 --- /dev/null +++ b/assets/js/f600eb30.1218363a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8558],{5851:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>d,default:()=>p,frontMatter:()=>n,metadata:()=>o,toc:()=>a});var r=i(5893),s=i(1151);const n={id:"ListWidgetProps",title:"Interface: ListWidgetProps",sidebar_label:"ListWidgetProps",sidebar_position:0,custom_edit_url:null},d=void 0,o={id:"public-api/interfaces/ListWidgetProps",title:"Interface: ListWidgetProps",description:"Properties",source:"@site/docs/public-api/interfaces/ListWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetProps",title:"Interface: ListWidgetProps",sidebar_label:"ListWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},next:{title:"ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"}},c={},a=[{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3}];function l(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(t.h3,{id:"children",children:"children"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.code,{children:"Optional"})," ",(0,r.jsx)(t.strong,{children:"children"}),": ",(0,r.jsx)(t.code,{children:"any"})]}),"\n",(0,r.jsx)(t.hr,{}),"\n",(0,r.jsx)(t.h3,{id:"style",children:"style"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.code,{children:"Optional"})," ",(0,r.jsx)(t.strong,{children:"style"}),": ",(0,r.jsx)(t.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",children:(0,r.jsx)(t.code,{children:"ListWidgetStyle"})})]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>d});var r=i(7294);const s={},n=r.createContext(s);function d(e){const t=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),r.createElement(n.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f600eb30.16cebdc2.js b/assets/js/f600eb30.16cebdc2.js deleted file mode 100644 index c7ab4f2..0000000 --- a/assets/js/f600eb30.16cebdc2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[8558],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var i=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=i.createContext({}),s=function(e){var t=i.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return i.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},u=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),u=s(r),f=n,g=u["".concat(l,".").concat(f)]||u[f]||d[f]||a;return r?i.createElement(g,o(o({ref:t},c),{},{components:r})):i.createElement(g,o({ref:t},c))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var s=2;s<a;s++)o[s]=r[s];return i.createElement.apply(null,o)}return i.createElement.apply(null,r)}u.displayName="MDXCreateElement"},7720:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>s});var i=r(7462),n=(r(7294),r(3905));const a={id:"ListWidgetProps",title:"Interface: ListWidgetProps",sidebar_label:"ListWidgetProps",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"public-api/interfaces/ListWidgetProps",id:"public-api/interfaces/ListWidgetProps",title:"Interface: ListWidgetProps",description:"Properties",source:"@site/docs/public-api/interfaces/ListWidgetProps.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetProps",title:"Interface: ListWidgetProps",sidebar_label:"ListWidgetProps",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ImageWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps"},next:{title:"ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"}},l={},s=[{value:"Properties",id:"properties",level:2},{value:"children",id:"children",level:3},{value:"style",id:"style",level:3}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"children"},"children"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"children"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"any")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"style"},"style"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,n.kt)("strong",{parentName:"p"},"style"),": ",(0,n.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle"},(0,n.kt)("inlineCode",{parentName:"a"},"ListWidgetStyle"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ff301dc0.08dc00c3.js b/assets/js/ff301dc0.08dc00c3.js new file mode 100644 index 0000000..9da2135 --- /dev/null +++ b/assets/js/ff301dc0.08dc00c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5937],{4595:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>d,metadata:()=>o,toc:()=>a});var t=n(5893),r=n(1151);const d={id:"WidgetInfo",title:"Interface: WidgetInfo",sidebar_label:"WidgetInfo",sidebar_position:0,custom_edit_url:null},s=void 0,o={id:"public-api/interfaces/WidgetInfo",title:"Interface: WidgetInfo",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetInfo.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetInfo",title:"Interface: WidgetInfo",sidebar_label:"WidgetInfo",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"},next:{title:"WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"}},c={},a=[{value:"Properties",id:"properties",level:2},{value:"widgetName",id:"widgetname",level:3},{value:"widgetId",id:"widgetid",level:3},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3},{value:"screenInfo",id:"screeninfo",level:3}];function l(e){const i={a:"a",code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(i.h3,{id:"widgetname",children:"widgetName"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"widgetName"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Name of the widget"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"widgetid",children:"widgetId"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"widgetId"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.p,{children:"Internal id of the widget"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"height",children:"height"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"height"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.p,{children:"Height of the widget"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"width",children:"width"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"width"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.p,{children:"Width of the widget"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"screeninfo",children:"screenInfo"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"screenInfo"}),": ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",children:(0,t.jsx)(i.code,{children:"ScreenInfo"})})]}),"\n",(0,t.jsx)(i.p,{children:"Information about the device"})]})}function h(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>o,a:()=>s});var t=n(7294);const r={},d=t.createContext(r);function s(e){const i=t.useContext(d);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(d.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ff301dc0.13da1767.js b/assets/js/ff301dc0.13da1767.js deleted file mode 100644 index 8ba57b3..0000000 --- a/assets/js/ff301dc0.13da1767.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[5937],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var r=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d=r.createContext({}),p=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(d.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,d=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=p(n),f=i,g=s["".concat(d,".").concat(f)]||s[f]||u[f]||a;return n?r.createElement(g,o(o({ref:t},c),{},{components:n})):r.createElement(g,o({ref:t},c))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var p=2;p<a;p++)o[p]=n[p];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}s.displayName="MDXCreateElement"},3520:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var r=n(7462),i=(n(7294),n(3905));const a={id:"WidgetInfo",title:"Interface: WidgetInfo",sidebar_label:"WidgetInfo",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"public-api/interfaces/WidgetInfo",id:"public-api/interfaces/WidgetInfo",title:"Interface: WidgetInfo",description:"Properties",source:"@site/docs/public-api/interfaces/WidgetInfo.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/WidgetInfo",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"WidgetInfo",title:"Interface: WidgetInfo",sidebar_label:"WidgetInfo",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"},next:{title:"WidgetPreviewProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps"}},d={},p=[{value:"Properties",id:"properties",level:2},{value:"widgetName",id:"widgetname",level:3},{value:"widgetId",id:"widgetid",level:3},{value:"height",id:"height",level:3},{value:"width",id:"width",level:3},{value:"screenInfo",id:"screeninfo",level:3}],c={toc:p};function u(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"widgetname"},"widgetName"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgetName"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("p",null,"Name of the widget"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"widgetid"},"widgetId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"widgetId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Internal id of the widget"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"height"},"height"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"height"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Height of the widget"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"width"},"width"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"width"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("p",null,"Width of the widget"),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"screeninfo"},"screenInfo"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"screenInfo"),": ",(0,i.kt)("a",{parentName:"p",href:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo"},(0,i.kt)("inlineCode",{parentName:"a"},"ScreenInfo"))),(0,i.kt)("p",null,"Information about the device"))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ff470113.04d4516f.js b/assets/js/ff470113.04d4516f.js deleted file mode 100644 index 8309c0e..0000000 --- a/assets/js/ff470113.04d4516f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3153],{3905:(e,t,i)=>{i.d(t,{Zo:()=>u,kt:()=>m});var n=i(7294);function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)i=a[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var p=n.createContext({}),d=function(e){var t=n.useContext(p),i=t;return e&&(i="function"==typeof e?e(t):l(l({},t),e)),i},u=function(e){var t=d(e.components);return n.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var i=e.components,r=e.mdxType,a=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),s=d(i),m=r,g=s["".concat(p,".").concat(m)]||s[m]||c[m]||a;return i?n.createElement(g,l(l({ref:t},u),{},{components:i})):n.createElement(g,l({ref:t},u))}));function m(e,t){var i=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=i.length,l=new Array(a);l[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:r,l[1]=o;for(var d=2;d<a;d++)l[d]=i[d];return n.createElement.apply(null,l)}return n.createElement.apply(null,i)}s.displayName="MDXCreateElement"},5465:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>a,metadata:()=>o,toc:()=>d});var n=i(7462),r=(i(7294),i(3905));const a={id:"Widget",title:"Interface: Widget",sidebar_label:"Widget",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"public-api/interfaces/Widget",id:"public-api/interfaces/Widget",title:"Interface: Widget",description:"Properties",source:"@site/docs/public-api/interfaces/Widget.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Widget",title:"Interface: Widget",sidebar_label:"Widget",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"},next:{title:"WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"}},p={},d=[{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"minWidth",id:"minwidth",level:3},{value:"minHeight",id:"minheight",level:3},{value:"label",id:"label",level:3},{value:"description",id:"description",level:3},{value:"maxResizeWidth",id:"maxresizewidth",level:3},{value:"maxResizeHeight",id:"maxresizeheight",level:3},{value:"previewImage",id:"previewimage",level:3},{value:"resizeMode",id:"resizemode",level:3},{value:"widgetFeatures",id:"widgetfeatures",level:3},{value:"updatePeriodMillis",id:"updateperiodmillis",level:3}],u={toc:d};function c(e){let{components:t,...i}=e;return(0,r.kt)("wrapper",(0,n.Z)({},u,i,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"name"},"name"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"Name of the widget which will be used to reference it in code"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"minwidth"},"minWidth"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"minWidth"),": ","`","${number}dp","`"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"minheight"},"minHeight"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"minHeight"),": ","`","${number}dp","`"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"label"},"label"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"label"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"Label that will be shown in widget picker"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"description"},"description"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"description"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("p",null,"Description that will be shown in widget picker"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"maxresizewidth"},"maxResizeWidth"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"maxResizeWidth"),": ","`","${number}dp","`"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"maxresizeheight"},"maxResizeHeight"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"maxResizeHeight"),": ","`","${number}dp","`"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"previewimage"},"previewImage"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"previewImage"),": ",(0,r.kt)("a",{parentName:"p",href:"../#resourcepath"},(0,r.kt)("inlineCode",{parentName:"a"},"ResourcePath"))),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"resizemode"},"resizeMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"resizeMode"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"none"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"horizontal"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"vertical"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"horizontal|vertical"')),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"widgetfeatures"},"widgetFeatures"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"widgetFeatures"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"reconfigurable"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"reconfigurable|configuration_optional"')),(0,r.kt)("p",null,"Whether the widget can be configured.\n'configurable' means that the widget is configurable, and a\nconfiguration activity will be open when the widget is added on home screen.\n'reconfigurable|configuration_optional' will make the widget configurable,\nbut will not open the configuration activity when added on home screen,\nand the configuration can be changed by holding the widget and selecting configure.\nThe widget will not be configurable if ",(0,r.kt)("inlineCode",{parentName:"p"},"widgetFeatures")," is not provided"),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"updateperiodmillis"},"updatePeriodMillis"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"updatePeriodMillis"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("p",null,"How often the widget should be updated, in milliseconds."),(0,r.kt)("p",null,"Default is 0 (no automatic updates)"),(0,r.kt)("p",null,"Minimum is 1.800.000 (30 minutes == 30 ",(0,r.kt)("em",{parentName:"p"}," 60 ")," 1000)."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ff470113.b73e04fe.js b/assets/js/ff470113.b73e04fe.js new file mode 100644 index 0000000..3aa2b28 --- /dev/null +++ b/assets/js/ff470113.b73e04fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[3153],{7335:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>d,metadata:()=>l,toc:()=>o});var t=n(5893),r=n(1151);const d={id:"Widget",title:"Interface: Widget",sidebar_label:"Widget",sidebar_position:0,custom_edit_url:null},s=void 0,l={id:"public-api/interfaces/Widget",title:"Interface: Widget",description:"Properties",source:"@site/docs/public-api/interfaces/Widget.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"Widget",title:"Interface: Widget",sidebar_label:"Widget",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle"},next:{title:"WidgetConfigurationScreenProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps"}},c={},o=[{value:"Properties",id:"properties",level:2},{value:"name",id:"name",level:3},{value:"minWidth",id:"minwidth",level:3},{value:"minHeight",id:"minheight",level:3},{value:"label",id:"label",level:3},{value:"description",id:"description",level:3},{value:"maxResizeWidth",id:"maxresizewidth",level:3},{value:"maxResizeHeight",id:"maxresizeheight",level:3},{value:"previewImage",id:"previewimage",level:3},{value:"resizeMode",id:"resizemode",level:3},{value:"widgetFeatures",id:"widgetfeatures",level:3},{value:"updatePeriodMillis",id:"updateperiodmillis",level:3}];function a(e){const i={code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"properties",children:"Properties"}),"\n",(0,t.jsx)(i.h3,{id:"name",children:"name"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"name"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Name of the widget which will be used to reference it in code"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"minwidth",children:"minWidth"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"minWidth"}),": `${number}dp`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"minheight",children:"minHeight"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.strong,{children:"minHeight"}),": `${number}dp`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"label",children:"label"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"label"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Label that will be shown in widget picker"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"description",children:"description"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"description"}),": ",(0,t.jsx)(i.code,{children:"string"})]}),"\n",(0,t.jsx)(i.p,{children:"Description that will be shown in widget picker"}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"maxresizewidth",children:"maxResizeWidth"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"maxResizeWidth"}),": `${number}dp`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"maxresizeheight",children:"maxResizeHeight"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"maxResizeHeight"}),": `${number}dp`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"previewimage",children:"previewImage"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"previewImage"}),": `./${string}` | `../${string}`"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"resizemode",children:"resizeMode"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"resizeMode"}),": ",(0,t.jsx)(i.code,{children:'"none"'})," | ",(0,t.jsx)(i.code,{children:'"horizontal"'})," | ",(0,t.jsx)(i.code,{children:'"vertical"'})," | ",(0,t.jsx)(i.code,{children:'"horizontal|vertical"'})]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"widgetfeatures",children:"widgetFeatures"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"widgetFeatures"}),": ",(0,t.jsx)(i.code,{children:'"reconfigurable"'})," | ",(0,t.jsx)(i.code,{children:'"reconfigurable|configuration_optional"'})]}),"\n",(0,t.jsxs)(i.p,{children:["Whether the widget can be configured.\n'configurable' means that the widget is configurable, and a\nconfiguration activity will be open when the widget is added on home screen.\n'reconfigurable|configuration_optional' will make the widget configurable,\nbut will not open the configuration activity when added on home screen,\nand the configuration can be changed by holding the widget and selecting configure.\nThe widget will not be configurable if ",(0,t.jsx)(i.code,{children:"widgetFeatures"})," is not provided"]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h3,{id:"updateperiodmillis",children:"updatePeriodMillis"}),"\n",(0,t.jsxs)(i.p,{children:["\u2022 ",(0,t.jsx)(i.code,{children:"Optional"})," ",(0,t.jsx)(i.strong,{children:"updatePeriodMillis"}),": ",(0,t.jsx)(i.code,{children:"number"})]}),"\n",(0,t.jsx)(i.p,{children:"How often the widget should be updated, in milliseconds."}),"\n",(0,t.jsx)(i.p,{children:"Default is 0 (no automatic updates)"}),"\n",(0,t.jsx)(i.p,{children:"Minimum is 1.800.000 (30 minutes == 30 * 60 * 1000)."})]})}function h(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>l,a:()=>s});var t=n(7294);const r={},d=t.createContext(r);function s(e){const i=t.useContext(d);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function l(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(d.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.7d4d413a.js b/assets/js/main.7d4d413a.js new file mode 100644 index 0000000..8124492 --- /dev/null +++ b/assets/js/main.7d4d413a.js @@ -0,0 +1,2 @@ +/*! For license information please see main.7d4d413a.js.LICENSE.txt */ +(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={"0124b8bf":[()=>n.e(2934).then(n.bind(n,6583)),"@site/docs/public-api/interfaces/BackgroundStyleProps.md",6583],"01e0afe4":[()=>n.e(7291).then(n.bind(n,4060)),"@site/docs/tutorial/widget-design.md",4060],"0314676f":[()=>n.e(5020).then(n.bind(n,2861)),"@site/docs/public-api/interfaces/IconWidgetProps.md",2861],"0cb0f7cb":[()=>n.e(7374).then(n.bind(n,5672)),"@site/docs/public-api/interfaces/OverlapWidgetStyle.md",5672],"1476a8a4":[()=>n.e(5087).then(n.bind(n,1605)),"@site/docs/limitations.md",1605],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,4228)),"@theme/DocCategoryGeneratedIndexPage",4228],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,3518)),"@theme/DocItem",3518],"17c5701b":[()=>n.e(3895).then(n.bind(n,2435)),"@site/docs/primitives/svg-widget.md",2435],"181303e3":[()=>n.e(7473).then(n.bind(n,1699)),"@site/docs/api/register-widget-configuration-screen.md",1699],"1bb5842c":[()=>n.e(322).then(n.bind(n,4745)),"@site/docs/primitives/list-widget.md",4745],"1cfe139a":[()=>n.e(9484).then(n.bind(n,8469)),"@site/docs/public-api/index.md",8469],"1df93b7f":[()=>Promise.all([n.e(532),n.e(3237)]).then(n.bind(n,8391)),"@site/src/pages/index.tsx",8391],"24767a4f":[()=>n.e(1400).then(n.bind(n,2839)),"@site/docs/public-api/interfaces/WidgetTaskHandlerProps.md",2839],"281947f5":[()=>n.e(6831).then(n.bind(n,8062)),"@site/docs/public-api/interfaces/OverlapWidgetProps.md",8062],"2eb66e86":[()=>n.e(6090).then(n.bind(n,5587)),"@site/docs/public-api/interfaces/ImageWidgetProps.md",5587],"31e029c9":[()=>n.e(1946).then(n.bind(n,2003)),"@site/docs/tutorial/register-widget-expo.md",2003],"334fbae1":[()=>n.e(6998).then(n.bind(n,3532)),"@site/docs/public-api/interfaces/WidgetConfigurationScreenProps.md",3532],"3666eb9e":[()=>n.e(4483).then(n.bind(n,3467)),"@site/docs/api/widget-preview.md",3467],"399d2a39":[()=>n.e(6573).then(n.bind(n,6455)),"@site/docs/tutorial/make-widget-configurable.md",6455],"3a45f1c7":[()=>n.e(9239).then(n.bind(n,108)),"@site/docs/handling-clicks.md",108],"3fa31a86":[()=>n.e(7938).then(n.bind(n,4416)),"@site/docs/primitives/overlap-widget.md",4416],"407354e8":[()=>n.e(1493).then(n.t.bind(n,3769,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"4787fd9f":[()=>n.e(1161).then(n.bind(n,4767)),"@site/docs/public-api/interfaces/ClickActionProps.md",4767],"49b00a7f":[()=>n.e(5187).then(n.bind(n,3526)),"@site/docs/public-api/interfaces/OtherStyleProps.md",3526],"4b7010bf":[()=>n.e(5710).then(n.bind(n,3348)),"@site/docs/tutorial/register-task-handler.md",3348],"5b19e069":[()=>n.e(1408).then(n.bind(n,9513)),"@site/docs/primitives/text-widget.md",9513],"5d454204":[()=>n.e(3814).then(n.bind(n,8943)),"@site/docs/public-api/interfaces/WidgetPreviewProps.md",8943],"5e95c892":[()=>n.e(9661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],70097127:[()=>n.e(1744).then(n.bind(n,4115)),"@site/docs/tutorial/try-it-our.md",4115],"7135efbc":[()=>n.e(7071).then(n.bind(n,8285)),"@site/docs/public-api/interfaces/FlexWidgetStyle.md",8285],"730f732a":[()=>n.e(8998).then(n.bind(n,1382)),"@site/docs/public-api/interfaces/PaddingStyleProps.md",1382],"7402041a":[()=>n.e(9557).then(n.bind(n,6035)),"@site/docs/update-widget.md",6035],"74b23640":[()=>n.e(2814).then(n.bind(n,9562)),"@site/docs/demo.md",9562],"7ad22d07":[()=>n.e(5073).then(n.bind(n,6932)),"@site/docs/public-api/interfaces/RequestWidgetUpdateProps.md",6932],"7d14206d":[()=>n.e(9896).then(n.bind(n,7024)),"@site/docs/api/request-widget-update.md",7024],"7f5eb84b":[()=>n.e(9069).then(n.bind(n,8351)),"@site/docs/public-api/interfaces/CommonStyleProps.md",8351],"82b1394b":[()=>n.e(6117).then(n.bind(n,8418)),"@site/docs/primitives/image-widget.md",8418],"8d25c1fb":[()=>n.e(1328).then(n.bind(n,9602)),"@site/docs/public-api/interfaces/FlexWidgetProps.md",9602],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94be2f97":[()=>n.e(265).then(n.bind(n,6255)),"@site/docs/public-api/interfaces/TextWidgetStyle.md",6255],"95f41f41":[()=>n.e(9209).then(n.bind(n,6265)),"@site/docs/public-api/interfaces/SvgWidgetProps.md",6265],"9958a938":[()=>n.e(8646).then(n.t.bind(n,8178,19)),"~docs/default/category-react-native-android-widgetdocs-default-category-widget-primitives-4d5.json",8178],a3102611:[()=>n.e(7679).then(n.bind(n,3271)),"@site/docs/public-api/interfaces/MarginStyleProps.md",3271],a66dadf2:[()=>n.e(5672).then(n.bind(n,8051)),"@site/docs/public-api/interfaces/TextWidgetProps.md",8051],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],aa86ff20:[()=>n.e(1188).then(n.bind(n,3156)),"@site/docs/primitives/flex-widget.md",3156],adcb0710:[()=>n.e(9945).then(n.t.bind(n,5745,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],b0736eaa:[()=>n.e(2097).then(n.bind(n,9322)),"@site/docs/public-api/interfaces/ScreenInfo.md",9322],bcaac1db:[()=>n.e(6516).then(n.bind(n,177)),"@site/docs/public-api/interfaces/SizeStyleProps.md",177],bcda6bdc:[()=>n.e(3159).then(n.bind(n,9300)),"@site/docs/public-api/interfaces/BorderStyleProps.md",9300],c10b2ba3:[()=>n.e(8888).then(n.bind(n,8621)),"@site/docs/tutorial/widget-preview.md",8621],c377a04b:[()=>Promise.all([n.e(532),n.e(6971)]).then(n.bind(n,2660)),"@site/docs/index.md",2660],c56934f7:[()=>n.e(2321).then(n.bind(n,4961)),"@site/docs/public-api/interfaces/WithAndroidWidgetsParams.md",4961],cc1aedd7:[()=>n.e(1069).then(n.bind(n,2110)),"@site/docs/primitives/icon-widget.md",2110],d5b87c6b:[()=>n.e(2386).then(n.bind(n,4768)),"@site/docs/public-api/interfaces/ListWidgetStyle.md",4768],e73c34ba:[()=>n.e(924).then(n.bind(n,9202)),"@site/docs/public-api/interfaces/IconWidgetStyle.md",9202],ead7330c:[()=>n.e(7655).then(n.bind(n,2032)),"@site/docs/tutorial/congratulations.md",2032],ef61de09:[()=>n.e(7386).then(n.bind(n,7640)),"@site/docs/api/register-widget-task-handler.md",7640],f477c445:[()=>n.e(9990).then(n.bind(n,5733)),"@site/docs/tutorial/register-widget.md",5733],f600eb30:[()=>n.e(8558).then(n.bind(n,5851)),"@site/docs/public-api/interfaces/ListWidgetProps.md",5851],ff301dc0:[()=>n.e(5937).then(n.bind(n,4595)),"@site/docs/public-api/interfaces/WidgetInfo.md",4595],ff470113:[()=>n.e(3153).then(n.bind(n,7335)),"@site/docs/public-api/interfaces/Widget.md",7335]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9670),u=n(226);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(1772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],g=(0,c.Z)(r);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(u.z,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const p=[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","adb"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","a72"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","f32"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","04b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-configuration-screen",component:d("/react-native-android-widget/docs/api/register-widget-configuration-screen","49a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-task-handler",component:d("/react-native-android-widget/docs/api/register-widget-task-handler","a05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/request-widget-update",component:d("/react-native-android-widget/docs/api/request-widget-update","861"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/widget-preview",component:d("/react-native-android-widget/docs/api/widget-preview","c3c"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/demo",component:d("/react-native-android-widget/docs/demo","9e2"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/handling-clicks",component:d("/react-native-android-widget/docs/handling-clicks","2ff"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/limitations",component:d("/react-native-android-widget/docs/limitations","6ec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/flex-widget",component:d("/react-native-android-widget/docs/primitives/flex-widget","dec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/icon-widget",component:d("/react-native-android-widget/docs/primitives/icon-widget","3e0"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/image-widget",component:d("/react-native-android-widget/docs/primitives/image-widget","deb"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/index",component:d("/react-native-android-widget/docs/primitives/index","8e6"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/list-widget",component:d("/react-native-android-widget/docs/primitives/list-widget","b05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/overlap-widget",component:d("/react-native-android-widget/docs/primitives/overlap-widget","bbd"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/svg-widget",component:d("/react-native-android-widget/docs/primitives/svg-widget","430"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/text-widget",component:d("/react-native-android-widget/docs/primitives/text-widget","15b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/public-api",component:d("/react-native-android-widget/docs/public-api","b59"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","90e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","020"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","2f7"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","cd6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","e30"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","869"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","324"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","a1c"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","79e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","293"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","eb4"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","1b6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","8ab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","376"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","b9a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","287"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",component:d("/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","cf2"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",component:d("/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","e2e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","f5a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","248"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","cab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","e87"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/Widget",component:d("/react-native-android-widget/docs/public-api/interfaces/Widget","859"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","27e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","387"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","cc8"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","68e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",component:d("/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","cf1"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/tutorial/congratulations",component:d("/react-native-android-widget/docs/tutorial/congratulations","b64"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/make-widget-configurable",component:d("/react-native-android-widget/docs/tutorial/make-widget-configurable","93a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-task-handler",component:d("/react-native-android-widget/docs/tutorial/register-task-handler","10d"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget",component:d("/react-native-android-widget/docs/tutorial/register-widget","f46"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget-expo",component:d("/react-native-android-widget/docs/tutorial/register-widget-expo","a54"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/try-it-our",component:d("/react-native-android-widget/docs/tutorial/try-it-our","b65"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-design",component:d("/react-native-android-widget/docs/tutorial/widget-design","689"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-preview",component:d("/react-native-android-widget/docs/tutorial/widget-preview","786"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/update-widget",component:d("/react-native-android-widget/docs/update-widget","b60"),exact:!0,sidebar:"default"}]}]}]},{path:"/react-native-android-widget/",component:d("/react-native-android-widget/","ae8"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),l=n(412);const s=[n(6657),n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790),p=n(5893);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var g=n(5742),m=n(2263),h=n(4996),b=n(6668),y=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,p.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,h.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),n&&(0,p.jsx)(y.d,{image:n}),(0,p.jsx)(_,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(g.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function P(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var N=n(8934),A=n(8940),L=n(469);function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),j("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?j("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=j("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const F=I,M="__docusaurus-base-url-issue-banner-container",D="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${D}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function $(){const{siteConfig:{baseUrl:e}}=(0,m.Z)();return(0,p.jsx)(p.Fragment,{children:!l.Z.canUseDOM&&(0,p.jsx)(g.Z,{children:(0,p.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?(0,p.jsx)($,{}):null}function W(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,m.Z)(),o=(0,h.Z)(e),{htmlLang:i,direction:l}=a[r];return(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("html",{lang:i,dir:l}),(0,p.jsx)("title",{children:t}),(0,p.jsx)("meta",{property:"og:title",content:t}),(0,p.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,p.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,p.jsx)("link",{rel:"icon",href:o})]})}var Z=n(4763),H=n(2389);function V(){const e=(0,H.Z)();return(0,p.jsx)(g.Z,{children:(0,p.jsx)("html",{"data-has-hydrated":e})})}function q(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return(0,p.jsx)(Z.Z,{children:(0,p.jsx)(A.M,{children:(0,p.jsxs)(N.t,{children:[(0,p.jsxs)(f,{children:[(0,p.jsx)(W,{}),(0,p.jsx)(C,{}),(0,p.jsx)(U,{}),(0,p.jsx)(F,{location:P(t),children:e})]}),(0,p.jsx)(V,{})]})})})}var G=n(6887);const Y=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Q=n(9670);const K=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!K.has(e))(e))return!1;K.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(G).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Q.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Y(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),R(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(o.VK,{children:(0,p.jsx)(q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};R(window.location.pathname).then(l)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-S7YD6GC3T0"],"anonymizeIP":false,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/react-native-android-widget/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/react-native-android-widget/docs","mainDocId":"index","docs":[{"id":"api/register-widget-configuration-screen","path":"/react-native-android-widget/docs/api/register-widget-configuration-screen","sidebar":"default"},{"id":"api/register-widget-task-handler","path":"/react-native-android-widget/docs/api/register-widget-task-handler","sidebar":"default"},{"id":"api/request-widget-update","path":"/react-native-android-widget/docs/api/request-widget-update","sidebar":"default"},{"id":"api/widget-preview","path":"/react-native-android-widget/docs/api/widget-preview","sidebar":"default"},{"id":"demo","path":"/react-native-android-widget/docs/demo","sidebar":"default"},{"id":"handling-clicks","path":"/react-native-android-widget/docs/handling-clicks","sidebar":"default"},{"id":"index","path":"/react-native-android-widget/docs/","sidebar":"default"},{"id":"limitations","path":"/react-native-android-widget/docs/limitations","sidebar":"default"},{"id":"primitives/flex-widget","path":"/react-native-android-widget/docs/primitives/flex-widget","sidebar":"default"},{"id":"primitives/icon-widget","path":"/react-native-android-widget/docs/primitives/icon-widget","sidebar":"default"},{"id":"primitives/image-widget","path":"/react-native-android-widget/docs/primitives/image-widget","sidebar":"default"},{"id":"primitives/list-widget","path":"/react-native-android-widget/docs/primitives/list-widget","sidebar":"default"},{"id":"primitives/overlap-widget","path":"/react-native-android-widget/docs/primitives/overlap-widget","sidebar":"default"},{"id":"primitives/svg-widget","path":"/react-native-android-widget/docs/primitives/svg-widget","sidebar":"default"},{"id":"primitives/text-widget","path":"/react-native-android-widget/docs/primitives/text-widget","sidebar":"default"},{"id":"public-api/index","path":"/react-native-android-widget/docs/public-api/","sidebar":"api"},{"id":"public-api/interfaces/BackgroundStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","sidebar":"api"},{"id":"public-api/interfaces/BorderStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","sidebar":"api"},{"id":"public-api/interfaces/ClickActionProps","path":"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","sidebar":"api"},{"id":"public-api/interfaces/CommonStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/ImageWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/MarginStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OtherStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/PaddingStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","sidebar":"api"},{"id":"public-api/interfaces/RequestWidgetUpdateProps","path":"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","sidebar":"api"},{"id":"public-api/interfaces/ScreenInfo","path":"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","sidebar":"api"},{"id":"public-api/interfaces/SizeStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","sidebar":"api"},{"id":"public-api/interfaces/SvgWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/Widget","path":"/react-native-android-widget/docs/public-api/interfaces/Widget","sidebar":"api"},{"id":"public-api/interfaces/WidgetConfigurationScreenProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetInfo","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","sidebar":"api"},{"id":"public-api/interfaces/WidgetPreviewProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetTaskHandlerProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","sidebar":"api"},{"id":"public-api/interfaces/WithAndroidWidgetsParams","path":"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","sidebar":"api"},{"id":"tutorial/congratulations","path":"/react-native-android-widget/docs/tutorial/congratulations","sidebar":"default"},{"id":"tutorial/make-widget-configurable","path":"/react-native-android-widget/docs/tutorial/make-widget-configurable","sidebar":"default"},{"id":"tutorial/register-task-handler","path":"/react-native-android-widget/docs/tutorial/register-task-handler","sidebar":"default"},{"id":"tutorial/register-widget","path":"/react-native-android-widget/docs/tutorial/register-widget","sidebar":"default"},{"id":"tutorial/register-widget-expo","path":"/react-native-android-widget/docs/tutorial/register-widget-expo","sidebar":"default"},{"id":"tutorial/try-it-our","path":"/react-native-android-widget/docs/tutorial/try-it-our","sidebar":"default"},{"id":"tutorial/widget-design","path":"/react-native-android-widget/docs/tutorial/widget-design","sidebar":"default"},{"id":"tutorial/widget-preview","path":"/react-native-android-widget/docs/tutorial/widget-preview","sidebar":"default"},{"id":"update-widget","path":"/react-native-android-widget/docs/update-widget","sidebar":"default"},{"id":"/primitives/index","path":"/react-native-android-widget/docs/primitives/index","sidebar":"default"}],"draftIds":[],"sidebars":{"default":{"link":{"path":"/react-native-android-widget/docs/","label":"index"}},"api":{"link":{"path":"/react-native-android-widget/docs/public-api/","label":"Public API"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"},"docusaurus-plugin-typedoc":{"type":"package","name":"docusaurus-plugin-typedoc","version":"0.22.0"},"docusaurus-plugin-client-redirects":{"type":"package","name":"@docusaurus/plugin-client-redirects","version":"3.1.0"}}}');var c=n(5893);const u={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(412),o=n(5742),i=n(8780),l=n(6040),s=n(5893);function c(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(f,{fallback:()=>(0,s.jsx)(c,{error:t,tryAgain:n}),children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(c,{error:t,tryAgain:n})})]})}const p=e=>(0,s.jsx)(d,{...e});class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(405),a=n(5893);function o(e){return(0,a.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(3727),o=n(8780),i=n(2263),l=n(3919),s=n(412),c=n(8138),u=n(4996),d=n(5893);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:g,isActive:m,"data-noBrokenLinkCheck":h,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,u.C)(),x=(0,c.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const _=(0,l.Z)(E),C=E?.replace("pathname://","");let T=void 0!==C?(P=C,b&&(e=>e.startsWith("/"))(P)?k(P):P):void 0;var P;T&&_&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const N=(0,r.useRef)(!1),A=n?a.OL:a.rU,L=s.Z.canUseIntersectionObserver,j=(0,r.useRef)(),O=()=>{N.current||null==T||(window.docusaurus.preload(T),N.current=!0)};(0,r.useEffect)((()=>(!L&&_&&null!=T&&window.docusaurus.prefetch(T),()=>{L&&j.current&&j.current.disconnect()})),[j,T,L,_]);const R=T?.startsWith("#")??!1,I=!T||!_||R;return I||h||x.collectLink(T),I?(0,d.jsx)("a",{ref:S,href:T,...E&&!_&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(A,{...y,onMouseEnter:O,onTouchStart:O,innerRef:e=>{S.current=e,L&&e&&_&&(j.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(j.current.unobserve(e),j.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),j.current.observe(e))},to:T,...n&&{isActive:m,activeClassName:g}})}const f=r.forwardRef(p)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>s});var r=n(7294),a=n(5893);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,z:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>m,gA:()=>p,_r:()=>u,Jo:()=>h,zh:()=>d,yW:()=>g,gB:()=>f});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function f(e){return d(e).versions}function g(e){const t=d(e);return l(t)}function m(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(2573),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(9640)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},7955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(512),a=n(5999),o=n(6668),i=n(3692),l=n(8138);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(5893);function u(e){let{as:t,id:n,...u}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:p}}=(0,o.L)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.Z)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(5893);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ft});var r=n(7294),a=n(512),o=n(4763),i=n(1944),l=n(6550),s=n(5999),c=n(5936),u=n(5893);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const g=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??g,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":g,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var h=n(5281),b=n(9727);const y={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(m,{className:y.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.Z)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const _={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function P(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(C,{className:T.announcementBarContent}),o&&(0,u.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var N=n(3163),A=n(2466);var L=n(902),j=n(3102);const O=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,j.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(O.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function F(){const e=(0,r.useContext)(O);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,j.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=F();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var D=n(2949),z=n(2389);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function W(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.Z)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,a.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)($,{className:(0,a.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const Z=r.memo(W),H={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function V(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,D.I)();return r?null:(0,u.jsx)(Z,{className:t,buttonClassName:"dark"===n?H.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var q=n(1327);function G(){return(0,u.jsx)(q.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,N.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Q(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(G,{}),(0,u.jsx)(V,{className:"margin-right--md"}),(0,u.jsx)(Y,{})]})}var K=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...c}=e;const d=(0,X.Z)(r),p=(0,X.Z)(t),f=(0,X.Z)(a,{forcePrependBaseUrl:!0}),g=o&&a&&!(0,J.Z)(a),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,g&&(0,u.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return a?(0,u.jsx)(K.Z,{href:s?f:a,...c,...m}):(0,u.jsx)(K.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),le=n(8596),se=n(2263);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,u.jsxs)("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:l.to?void 0:"#",className:(0,a.Z)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:l.children??l.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(_e,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:g}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&g(!d)}),[c,d,g]),(0,u.jsxs)("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,u.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(_e,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var ge=n(4711);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_nlXk";var be=n(1875);const ye={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.Z)(n,ye.navbarSearchContainer),children:t})}var we=n(143),ke=n(3438);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,se.Z)(),p=(0,ge.l)(),{search:f,hash:g}=(0,l.TH)(),m=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${g}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:he}),h]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(ve,{className:n,children:(0,u.jsx)(be.Z,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.Z)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.lO)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:c,hash:d}=(0,l.TH)(),p=(0,we.Iw)(n),f=(0,we.gB)(n),{savePreferredVersionName:g}=(0,xe.J)(n),m=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>g(e.name)}})),...o],h=(0,ke.lO)(n)[0],b=t&&m.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,y=t&&m.length>1?void 0:Se(h).path;return m.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:y,items:m,isActive:r?()=>!1:void 0})}};function _e(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function Ce(){const e=(0,N.e)(),t=(0,w.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(_e,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Pe(){const e=0===(0,w.L)().navbar.items.length,t=F();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Ne(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(Q,{}),primaryMenu:(0,u.jsx)(Ce,{}),secondaryMenu:(0,u.jsx)(Pe,{})}):null}const Ae={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Le(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.Z)("navbar-sidebar__backdrop",e.className)})}function je(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,N.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,c=window.innerHeight;l&&i>=l?n(!1):i+c<s&&n(!0)})),(0,c.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Ae.navbarHideable,!d&&Ae.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Le,{onClick:i.toggle}),(0,u.jsx)(Ne,{})]})}var Oe=n(8780);const Re={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Ie(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Fe(e){let{error:t}=e;const n=(0,Oe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Re.errorBoundaryError,children:n})}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const De="right";function ze(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,N.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Me,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(_e,{...e})},t)))})}function We(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Ze(){const e=(0,N.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??De)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(We,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Be,{}),(0,u.jsx)(G,{}),(0,u.jsx)(Ue,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ue,{items:r}),(0,u.jsx)(V,{className:$e.colorModeToggle}),!a&&(0,u.jsx)(ve,{children:(0,u.jsx)(be.Z,{})})]})})}function He(){return(0,u.jsx)(je,{children:(0,u.jsx)(Ze,{})})}function Ve(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(K.Z,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.Z)(r)&&(0,u.jsx)(te.Z,{})]})}function qe(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Ve,{item:t})},t.href??t.to)}function Ge(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(qe,{item:e},t)))})]})}function Ye(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(Ge,{column:e},t)))})}function Qe(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ke(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Ve,{item:t})}function Xe(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Ke,{item:e}),t.length!==n+1&&(0,u.jsx)(Qe,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Ye,{columns:t}):(0,u.jsx)(Xe,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(et.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,u.jsx)(K.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,u.jsx)(nt,{logo:t})}):(0,u.jsx)(nt,{logo:t})}function at(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,u.jsx)("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,u.jsx)(ot,{style:a,links:n&&n.length>0&&(0,u.jsx)(Je,{links:n}),logo:r&&(0,u.jsx)(rt,{logo:r}),copyright:t&&(0,u.jsx)(at,{copyright:t})})}const lt=r.memo(it),st=(0,L.Qc)([D.S,k.pl,A.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,u.jsx)(j.n2,{children:(0,u.jsx)(N.M,{children:(0,u.jsx)(R,{children:t})})})}]);function ct(e){let{children:t}=e;return(0,u.jsx)(st,{children:t})}var ut=n(7955);function dt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ut.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Ie,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(Fe,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_z2l0"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,b.t)(),(0,u.jsxs)(ct,{children:[(0,u.jsx)(i.d,{title:l,description:s}),(0,u.jsx)(v,{}),(0,u.jsx)(P,{}),(0,u.jsx)(He,{}),(0,u.jsx)("div",{id:d,className:(0,a.Z)(h.k.wrapper.main,pt.mainWrapper,r),children:(0,u.jsx)(o.Z,{fallback:e=>(0,u.jsx)(dt,{...e}),children:t})}),!n&&(0,u.jsx)(lt,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(3692),a=n(4996),o=n(2263),i=n(6668),l=n(9965),s=n(5893);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Z)(t.src),dark:(0,a.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,a.Z)(l?.href||"/"),g=n?"":t,m=l?.alt??g;return(0,s.jsxs)(r.Z,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(c,{logo:l,alt:m,imageClassName:u}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(5742),a=n(5893);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.Z,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7294),a=n(512),o=n(2389),i=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function c(e){let{className:t,children:n}=e;const c=(0,o.Z)(),{colorMode:u}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function u(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(c,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>b});var r=n(7294),a=n(412),o=n(469),i=n(1442),l=n(5893);const s="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function g(e){if(!a.Z.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:u,style:c?void 0:g(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:s,children:a})}function h(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,c]=(0,r.useState)(t);return(0,o.Z)((()=>{t||i(!0)}),[t]),(0,o.Z)((()=>{a&&c(t)}),[a,t]),a?(0,l.jsx)(m,{...n,collapsed:s}):null}function b(e){let{lazy:t,...n}=e;const r=t?h:m;return(0,l.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>g});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668),s=n(5893);const c=(0,o.WA)("docusaurus.announcement.dismiss"),u=(0,o.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function g(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>b,S:()=>h});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668),s=n(5893);const c=r.createContext(void 0),u="theme",d=(0,i.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,g=e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(g(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>b});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(3438),s=n(902),c=n(12),u=n(5893);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const g=r.createContext(null);function m(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,u.jsx)(g.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return l.cE?(0,u.jsx)(h,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(g);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=y(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(l);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(7294),a=n(3102),o=n(7524),i=n(1980),l=n(6668),s=n(902),c=n(5893);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[s,c]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(s)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:s})),[e,n,u,s])}function p(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>c,n2:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},3438:(e,t,n)=>{"use strict";n.d(t,{LM:()=>g,MN:()=>T,SN:()=>C,_F:()=>y,cE:()=>p,f:()=>w,jA:()=>m,lO:()=>S,oz:()=>E,s1:()=>x,vY:()=>_,xz:()=>f});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(4477),c=n(1116),u=n(7392),d=n(8596);const p=!!i._r;function f(e){const t=(0,s.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function g(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=g(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,a.TH)(),t=(0,c.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const h=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),b=(e,t)=>e.some((e=>y(e,t)));function y(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||b(e.items,t))}function v(e,t){switch(e.type){case"category":return y(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||y(e,t);default:return!0}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function x(){const e=(0,c.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?k({sidebarItems:e.items,pathname:t}):null}function S(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,u.j)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function _(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function C(e){let{route:t}=e;const n=(0,a.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,a.LX)(n.pathname,e)));if(!l)return null;const c=l.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.H)(i),sidebarName:c,sidebarItems:u}}function T(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!g(e)))}},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>i,_X:()=>l});var r=n(7294),a=n(6550),o=n(902);function i(e){!function(e){const t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>g});var r=n(7294),a=n(512),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),c=n(2263);var u=n(5893);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.Z,{children:[t&&(0,u.jsx)("title",{children:l}),t&&(0,u.jsx)("meta",{property:"og:title",content:l}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,a.Z)(i,t);return(0,u.jsxs)(p.Provider,{value:l,children:[(0,u.jsx)(o.Z,{children:(0,u.jsx)("html",{className:l})}),n]})}function g(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,a.Z)(r,o),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>u,Ql:()=>c,i6:()=>s,zX:()=>i});var r=n(7294),a=n(469),o=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,a.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>m,OC:()=>u,RF:()=>f,o5:()=>g});var r=n(7294),a=n(412),o=n(2389),i=n(469),l=n(902),s=n(5893);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new l.i6("ScrollControllerProvider");return e}const p=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,l.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function g(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.Z)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function m(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>u,WA:()=>c});var r=n(7294);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function u(e,t){const n=(0,r.useRef)((()=>null===e?s:c(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),c=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),u=l===i?e:e.replace(`/${l}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>f,PP:()=>P,Ep:()=>p});var r=n(3117);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),c=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),m||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,w=void 0!==c&&c,k=i.getUserConfirmation,x=void 0===k?h:k,S=i.keyLength,E=void 0===S?6:S,_=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return _&&(o=u(o,_)),f(o,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var P=g();function N(e){(0,r.Z)($,e),$.length=n.length,P.notifyListeners($.location,$.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||O(C(e.state))}function L(){O(C(v()))}var j=!1;function O(e){if(j)j=!1,N();else{P.confirmTransitionTo(e,"POP",x,(function(t){t?N({action:"POP",location:e}):function(e){var t=$.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(j=!0,M(a))}(e)}))}}var R=C(v()),I=[R.key];function F(e){return _+p(e)}function M(e){n.go(e)}var D=0;function z(e){1===(D+=e)&&1===e?(window.addEventListener(b,A),o&&window.addEventListener(y,L)):0===D&&(window.removeEventListener(b,A),o&&window.removeEventListener(y,L))}var B=!1;var $={length:n.length,action:"POP",location:R,createHref:F,push:function(e,t){var r="PUSH",o=f(e,t,T(),$.location);P.confirmTransitionTo(o,r,x,(function(e){if(e){var t=F(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=I.indexOf($.location.key),c=I.slice(0,s+1);c.push(o.key),I=c,N({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,T(),$.location);P.confirmTransitionTo(o,r,x,(function(e){if(e){var t=F(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=I.indexOf($.location.key);-1!==s&&(I[s]=o.key),N({action:r,location:o})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=P.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function _(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),m||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?h:a,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(s(e.basename)):"",y=x[c],v=y.encodePath,w=y.decodePath;function C(){var e=w(E());return b&&(e=u(e,b)),f(e)}var T=g();function P(e){(0,r.Z)(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var N=!1,A=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)_(r);else{var a=C(),i=B.location;if(!N&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===p(a))return;A=null,function(e){if(N)N=!1,P();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?P({action:t,location:e}):function(e){var t=B.location,n=I.lastIndexOf(p(t));-1===n&&(n=0);var r=I.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(N=!0,F(a))}(e)}))}}(a)}}var j=E(),O=v(j);j!==O&&_(O);var R=C(),I=[p(R)];function F(e){t.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?window.addEventListener(k,L):0===M&&window.removeEventListener(k,L)}var z=!1;var B={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(b+t);if(E()!==a){A=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(p(B.location)),i=I.slice(0,o+1);i.push(t),I=i,P({action:n,location:r})}else P()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(b+t);E()!==a&&(A=t,_(a));var o=I.indexOf(p(B.location));-1!==o&&(I[o]=t),P({action:n,location:r})}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(D(1),z=!0),function(){return z&&(z=!1,D(-1)),t()}},listen:function(e){var t=T.appendListener(e);return D(1),function(){D(-1),t()}}};return B}function T(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,c=void 0===s?6:s,u=g();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,c)}var h=T(l,0,o.length-1),b=o.map((function(e){return f(e,void 0,"string"==typeof e?m():e.key||m())})),y=p;function v(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[h],index:h,entries:b,createHref:y,push:function(e,t){var r="PUSH",a=f(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=f(n);a&&a!==g&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=s(t),m=s(n),h=0;h<i.length;++h){var b=i[h];if(!(o[b]||r&&r[b]||m&&m[b]||l&&l[b])){var y=p(n,b);try{c(t,b,y)}catch(v){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,i(e,u,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},2503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),g=p.indexOf(f);if(g>-1){++a;var m=p.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(g+f.length),y=[];m&&y.push.apply(y,i([m])),y.push(h),b&&y.push.apply(y,i([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(Prism)},9640:(e,t,n)=>{var r={"./prism-java":2503};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9640},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},g={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];h[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){h[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=h.hasOwnProperty(t)?h[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(g,e)||!d.call(f,e)&&(p.test(e)?g[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);h[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);h[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);h[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var F,M=Object.assign;function D(e){if(void 0===F)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function $(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case _:return"Profiler";case E:return"StrictMode";case N:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){K(e,t);var n=Z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,Z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Z(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Z(n)}}function oe(e,t){var n=Z(t.value),r=Z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function he(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){ge.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var be=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function _e(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Pe(e,t){return e(t)}function Ne(){}var Ae=!1;function Le(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Pe(e,t,n)}finally{Ae=!1,(null!==Se||null!==Ee)&&(Ne(),Te())}}function je(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Oe=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Oe=!1}function Ie(e,t,n,r,a,o,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Fe=!1,Me=null,De=!1,ze=null,Be={onError:function(e){Fe=!0,Me=e}};function $e(e,t,n,r,a,o,i,l,s){Fe=!1,Me=null,Ie.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Ue(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Ze(a),e;if(i===r)return Ze(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var qe=a.unstable_scheduleCallback,Ge=a.unstable_cancelCallback,Ye=a.unstable_shouldYield,Qe=a.unstable_requestPaint,Ke=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function gt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function ht(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kt,xt,St,Et,_t,Ct=!1,Tt=[],Pt=null,Nt=null,At=null,Lt=new Map,jt=new Map,Ot=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Nt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jt.delete(t.pointerId)}}function Ft(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ya(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void _t(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Dt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Pt&&Dt(Pt)&&(Pt=null),null!==Nt&&Dt(Nt)&&(Nt=null),null!==At&&Dt(At)&&(At=null),Lt.forEach(zt),jt.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<Tt.length){$t(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&$t(Pt,e),null!==Nt&&$t(Nt,e),null!==At&&$t(At,e),Lt.forEach(t),jt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)Mt(n),null===n.blockedOn&&Ot.shift()}var Wt=w.ReactCurrentBatchConfig,Zt=!0;function Ht(e,t,n,r){var a=vt,o=Wt.transition;Wt.transition=null;try{vt=1,qt(e,t,n,r)}finally{vt=a,Wt.transition=o}}function Vt(e,t,n,r){var a=vt,o=Wt.transition;Wt.transition=null;try{vt=4,qt(e,t,n,r)}finally{vt=a,Wt.transition=o}}function qt(e,t,n,r){if(Zt){var a=Yt(e,t,n,r);if(null===a)Zr(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Pt=Ft(Pt,e,t,n,r,a),!0;case"dragenter":return Nt=Ft(Nt,e,t,n,r,a),!0;case"mouseover":return At=Ft(At,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,Ft(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,jt.set(o,Ft(jt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Yt(e,t,n,r))&&Zr(e,t,r,Gt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Zr(e,t,r,null,n)}}var Gt=null;function Yt(e,t,n,r){if(Gt=null,null!==(e=ya(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Kt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Kt?Kt.value:Kt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=M({},cn,{view:0,detail:0}),pn=an(dn),fn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),gn=an(fn),mn=an(M({},fn,{dataTransfer:0})),hn=an(M({},dn,{relatedTarget:0})),bn=an(M({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=M({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(yn),wn=an(M({},cn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function _n(){return En}var Cn=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(Cn),Pn=an(M({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),An=an(M({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jn=an(Ln),On=[9,13,27,32],Rn=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Fn=u&&"TextEvent"in window&&!In,Mn=u&&(!Rn||In&&8<In&&11>=In),Dn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ce(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,qn=null;function Gn(e){Dr(e,0)}function Yn(e){if(q(wa(e)))return e}function Qn(e,t){if("change"===e)return t}var Kn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Kn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),qn=Vn=null)}function nr(e){if("value"===e.propertyName&&Yn(qn)){var t=[];Hn(t,qn,e,ke(e)),Le(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(qn)}function or(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,hr=null,br=null,yr=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==hr||hr!==G(r)||("selectionStart"in(r=hr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Vr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function _r(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=_r("animationend"),Tr=_r("animationiteration"),Pr=_r("animationstart"),Nr=_r("transitionend"),Ar=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jr(e,t){Ar.set(e,t),s(t,[e])}for(var Or=0;Or<Lr.length;Or++){var Rr=Lr[Or];jr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}jr(Cr,"onAnimationEnd"),jr(Tr,"onAnimationIteration"),jr(Pr,"onAnimationStart"),jr("dblclick","onDoubleClick"),jr("focusin","onFocus"),jr("focusout","onBlur"),jr(Nr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,c){if($e.apply(this,arguments),Fe){if(!Fe)throw Error(o(198));var u=Me;Fe=!1,Me=null,De||(De=!0,ze=u)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,c),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,c),o=s}}}if(De)throw e=ze,De=!1,ze=null,e}function zr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Fr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Qt(t)){case 1:var a=Ht;break;case 4:a=Vt;break;default:a=qt}n=a.bind(null,t,n,e),a=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Zr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ya(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=o,a=ke(n),i=[];e:{var l=Ar.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Tn;break;case"focusin":c="focus",s=hn;break;case"focusout":c="blur",s=hn;break;case"beforeblur":case"afterblur":s=hn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Nn;break;case Cr:case Tr:case Pr:s=bn;break;case Nr:s=An;break;case"scroll":s=pn;break;case"wheel":s=jn;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,g=r;null!==g;){var m=(f=g).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=je(g,p))&&u.push(Hr(g,m,f)))),d)break;g=g.return}0<u.length&&(l=new s(l,c,null,n,a),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[ga])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=gn,m="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pn,m="onPointerLeave",p="onPointerEnter",g="pointer"),d=null==s?l:wa(s),f=null==c?l:wa(c),(l=new u(m,g+"leave",s,n,a)).target=d,l.relatedTarget=f,m=null,ya(a)===r&&((u=new u(p,g+"enter",c,n,a)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,g=0,f=u=s;f;f=qr(f))g++;for(f=0,m=p;m;m=qr(m))f++;for(;0<g-f;)u=qr(u),g--;for(;0<f-g;)p=qr(p),f--;for(;g--;){if(u===p||null!==p&&u===p.alternate)break e;u=qr(u),p=qr(p)}u=null}else u=null;null!==s&&Gr(i,l,s,u,!1),null!==c&&null!==d&&Gr(i,d,c,u,!0)}if("select"===(s=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var h=Qn;else if(Zn(l))if(Kn)h=ir;else{h=ar;var b=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=or);switch(h&&(h=h(e,r))?Hn(i,h,n,a):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ee(l,"number",l.value)),b=r?wa(r):window,e){case"focusin":(Zn(b)||"true"===b.contentEditable)&&(hr=b,br=r,yr=null);break;case"focusout":yr=br=hr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,a)}var y;if(Rn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Mn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(y=en()):(Xt="value"in(Kt=a)?Kt.value:Kt.textContent,Un=!0)),0<(b=Vr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=$n(n))&&(v.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Dn);case"textInput":return(e=t.data)===Dn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Rn&&Bn(e,t)?(e=en(),Jt=Xt=Kt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Dr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=je(e,n))&&r.unshift(Hr(e,o,a)),null!=(o=je(e,t))&&r.push(Hr(e,o,a))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,a?null!=(s=je(n,o))&&i.unshift(Hr(n,s,l)):a||null!=(s=je(n,o))&&i.push(Hr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Kr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Kr(t),Kr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ga="__reactContainer$"+da,ma="__reactEvents$"+da,ha="__reactListeners$"+da,ba="__reactHandles$"+da;function ya(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ga]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[pa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ga])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function _a(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ca(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Ta={},Pa=Ea(Ta),Na=Ea(!1),Aa=Ta;function La(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ja(e){return null!=(e=e.childContextTypes)}function Oa(){_a(Na),_a(Pa)}function Ra(e,t,n){if(Pa.current!==Ta)throw Error(o(168));Ca(Pa,t),Ca(Na,n)}function Ia(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,W(e)||"Unknown",a));return M({},n,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,Aa=Pa.current,Ca(Pa,e),Ca(Na,Na.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ia(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=e,_a(Na),_a(Pa),Ca(Pa,e)):_a(Na),Ca(Na,n)}var Da=null,za=!1,Ba=!1;function $a(e){null===Da?Da=[e]:Da.push(e)}function Ua(){if(!Ba&&null!==Da){Ba=!0;var e=0,t=vt;try{var n=Da;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Da=null,za=!1}catch(a){throw null!==Da&&(Da=Da.slice(e+1)),qe(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var Wa=[],Za=0,Ha=null,Va=0,qa=[],Ga=0,Ya=null,Qa=1,Ka="";function Xa(e,t){Wa[Za++]=Va,Wa[Za++]=Ha,Ha=e,Va=t}function Ja(e,t,n){qa[Ga++]=Qa,qa[Ga++]=Ka,qa[Ga++]=Ya,Ya=e;var r=Qa;e=Ka;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Qa=1<<32-it(t)+a|n<<a|r,Ka=o+e}else Qa=1<<o|n<<a|r,Ka=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ha;)Ha=Wa[--Za],Wa[Za]=null,Va=Wa[--Za],Wa[Za]=null;for(;e===Ya;)Ya=qa[--Ga],qa[Ga]=null,Ka=qa[--Ga],qa[Ga]=null,Qa=qa[--Ga],qa[Ga]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=jc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ya?{id:Qa,overflow:Ka}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=jc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ca(e.nextSibling)}function go(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var ho=w.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=Ea(null),vo=null,wo=null,ko=null;function xo(){ko=wo=vo=null}function So(e){var t=yo.current;_a(yo),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _o(e,t){vo=e,ko=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Co(e){var t=e._currentValue;if(ko!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===vo)throw Error(o(308));wo=e,vo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var To=null;function Po(e){null===To?To=[e]:To.push(e)}function No(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Po(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ao(e,r)}function Ao(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Lo=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ns)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ao(e,n)}return null===(a=r.interleaved)?(t.next=t,Po(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ao(e,n)}function Fo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Mo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var a=e.updateQueue;Lo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?o=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,u=c=s=null,l=o;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(g=m.payload)){d=g.call(f,d,p);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(p="function"==typeof(g=m.payload)?g.call(f,d,p):g))break e;d=M({},d,p);break e;case 2:Lo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,i|=p;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===u&&(s=d),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Ms|=i,e.lanes=i,e.memoizedState=d}}function zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Bo=(new r.Component).refs;function $o(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Ro(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(rc(t,e,a,r),Fo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Ro(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(rc(t,e,a,r),Fo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Ro(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Io(e,a,r))&&(rc(t,e,r,n),Fo(t,e,r))}};function Wo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function Zo(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=Co(o):(a=ja(t)?Aa:Pa.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ho(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Uo.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Bo,jo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Co(o):(o=ja(t)?Aa:Pa.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&($o(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Uo.enqueueReplaceState(a,a.state,null),Do(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function qo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Bo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Go(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yo(e){return(0,e._init)(e._payload)}function Qo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Dc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===j&&Yo(o)===t.type)?((r=a(t,n.props)).ref=qo(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=qo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Fc(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Dc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=qo(e,null,t),n.return=e,n;case x:return(t=zc(t,e.mode,n)).return=e,t;case j:return p(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Fc(t,e.mode,n,null)).return=e,t;Go(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?c(e,t,n,r):null;case x:return n.key===a?u(e,t,n,r):null;case j:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||I(n))return null!==a?null:d(e,t,n,r,null);Go(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return g(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);Go(t,r)}return null}function m(a,o,l,s){for(var c=null,u=null,d=o,m=o=0,h=null;null!==d&&m<l.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var b=f(a,d,l[m],s);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(a,d),o=i(b,o,m),null===u?c=b:u.sibling=b,u=b,d=h}if(m===l.length)return n(a,d),ao&&Xa(a,m),c;if(null===d){for(;m<l.length;m++)null!==(d=p(a,l[m],s))&&(o=i(d,o,m),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(a,m),c}for(d=r(a,d);m<l.length;m++)null!==(h=g(d,a,m,l[m],s))&&(e&&null!==h.alternate&&d.delete(null===h.key?m:h.key),o=i(h,o,m),null===u?c=h:u.sibling=h,u=h);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),c}function h(a,l,s,c){var u=I(s);if("function"!=typeof u)throw Error(o(150));if(null==(s=u.call(s)))throw Error(o(151));for(var d=u=null,m=l,h=l=0,b=null,y=s.next();null!==m&&!y.done;h++,y=s.next()){m.index>h?(b=m,m=null):b=m.sibling;var v=f(a,m,y.value,c);if(null===v){null===m&&(m=b);break}e&&m&&null===v.alternate&&t(a,m),l=i(v,l,h),null===d?u=v:d.sibling=v,d=v,m=b}if(y.done)return n(a,m),ao&&Xa(a,h),u;if(null===m){for(;!y.done;h++,y=s.next())null!==(y=p(a,y.value,c))&&(l=i(y,l,h),null===d?u=y:d.sibling=y,d=y);return ao&&Xa(a,h),u}for(m=r(a,m);!y.done;h++,y=s.next())null!==(y=g(m,a,h,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),l=i(y,l,h),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),u}return function e(r,o,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===j&&Yo(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=qo(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((o=Fc(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Ic(i.type,i.key,i.props,null,r.mode,s)).ref=qo(r,o,i),s.return=r,r=s)}return l(r);case x:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zc(i,r.mode,s)).return=r,r=o}return l(r);case j:return e(r,o,(u=i._init)(i._payload),s)}if(te(i))return m(r,o,i,s);if(I(i))return h(r,o,i,s);Go(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Dc(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Ko=Qo(!0),Xo=Qo(!1),Jo={},ei=Ea(Jo),ti=Ea(Jo),ni=Ea(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_a(ei),Ca(ei,t)}function oi(){_a(ei),_a(ti),_a(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function li(e){ti.current===e&&(_a(ei),_a(ti))}var si=Ea(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var pi=w.ReactCurrentDispatcher,fi=w.ReactCurrentBatchConfig,gi=0,mi=null,hi=null,bi=null,yi=!1,vi=!1,wi=0,ki=0;function xi(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,a,i){if(gi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,a),vi){i=0;do{if(vi=!1,wi=0,25<=i)throw Error(o(301));i+=1,bi=hi=null,t.updateQueue=null,pi.current=cl,e=n(r,a)}while(vi)}if(pi.current=il,t=null!==hi&&null!==hi.next,gi=0,bi=hi=mi=null,yi=!1,t)throw Error(o(300));return e}function _i(){var e=0!==wi;return wi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?mi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===hi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=hi.next;var t=null===bi?mi.memoizedState:bi.next;if(null!==t)bi=t,hi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(hi=e).memoizedState,baseState:hi.baseState,baseQueue:hi.baseQueue,queue:hi.queue,next:null},null===bi?mi.memoizedState=bi=e:bi=bi.next=e}return bi}function Pi(e,t){return"function"==typeof t?t(e):t}function Ni(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=hi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,c=null,u=i;do{var d=u.lane;if((gi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=p,l=r):c=c.next=p,mi.lanes|=d,Ms|=d}u=u.next}while(null!==u&&u!==i);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,mi.lanes|=i,Ms|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ai(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Li(){}function ji(e,t){var n=mi,r=Ti(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,wl=!0),r=r.queue,Zi(Ii.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,zi(9,Ri.bind(null,n,r,a,t),void 0,null),null===As)throw Error(o(349));0!=(30&gi)||Oi(n,t,a)}return a}function Oi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ri(e,t,n,r){t.value=n,t.getSnapshot=r,Fi(t)&&Mi(e)}function Ii(e,t,n){return n((function(){Fi(t)&&Mi(e)}))}function Fi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Mi(e){var t=Ao(e,1);null!==t&&rc(t,e,1,-1)}function Di(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bi(){return Ti().memoizedState}function $i(e,t,n,r){var a=Ci();mi.flags|=e,a.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function Ui(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==hi){var i=hi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=zi(t,n,o,r))}mi.flags|=e,a.memoizedState=zi(1|t,n,o,r)}function Wi(e,t){return $i(8390656,8,e,t)}function Zi(e,t){return Ui(2048,8,e,t)}function Hi(e,t){return Ui(4,2,e,t)}function Vi(e,t){return Ui(4,4,e,t)}function qi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Gi(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4,4,qi.bind(null,t,e),n)}function Yi(){}function Qi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ki(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&gi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,Ms|=n,e.baseState=!0),t)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{vt=n,fi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=No(e,t,n,r))){rc(n,e,r,tc()),ol(n,t,r)}}function nl(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,Po(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=No(e,t,a,r))&&(rc(n,e,r,a=tc()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function al(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:Co,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Wi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$i(4194308,4,qi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Di,useDebugValue:Yi,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Di(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===As)throw Error(o(349));0!=(30&gi)||Oi(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Wi(Ii.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Ri.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=As.identifierPrefix;if(ao){var n=Ka;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Co,useCallback:Qi,useContext:Co,useEffect:Zi,useImperativeHandle:Gi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Ki,useReducer:Ni,useRef:Bi,useState:function(){return Ni(Pi)},useDebugValue:Yi,useDeferredValue:function(e){return Xi(Ti(),hi.memoizedState,e)},useTransition:function(){return[Ni(Pi)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:ji,useId:el,unstable_isNewReconciler:!1},cl={readContext:Co,useCallback:Qi,useContext:Co,useEffect:Zi,useImperativeHandle:Gi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Ki,useReducer:Ai,useRef:Bi,useState:function(){return Ai(Pi)},useDebugValue:Yi,useDeferredValue:function(e){var t=Ti();return null===hi?t.memoizedState=e:Xi(t,hi.memoizedState,e)},useTransition:function(){return[Ai(Pi)[0],Ti().memoizedState]},useMutableSource:Li,useSyncExternalStore:ji,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function gl(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Vs=r),pl(0,t)},n}function ml(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){pl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===qs?qs=new Set([this]):qs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function bl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vl=w.ReactCurrentOwner,wl=!1;function kl(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Ko(t,e.child,n,r)}function xl(e,t,n,r,a){n=n.render;var o=t.ref;return _o(t,a),r=Ei(e,t,n,r,o,a),n=_i(),null===e||wl?(ao&&n&&eo(t),t.flags|=1,kl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function Sl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Oc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,El(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,a)}return t.flags|=1,(e=Rc(o,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Hl(e,t,a);0!=(131072&e.flags)&&(wl=!0)}}return Tl(e,t,n,r,a)}function _l(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Rs,Os),Os|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Rs,Os),Os|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Rs,Os),Os|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Rs,Os),Os|=r;return kl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,a){var o=ja(n)?Aa:Pa.current;return o=La(t,o),_o(t,a),n=Ei(e,t,n,r,o,a),r=_i(),null===e||wl?(ao&&r&&eo(t),t.flags|=1,kl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function Pl(e,t,n,r,a){if(ja(n)){var o=!0;Fa(t)}else o=!1;if(_o(t,a),null===t.stateNode)Zl(e,t),Zo(t,n,r),Vo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Co(c):c=La(t,c=ja(n)?Aa:Pa.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&Ho(t,i,r,c),Lo=!1;var p=t.memoizedState;i.state=p,Do(t,r,i,a),s=t.memoizedState,l!==r||p!==s||Na.current||Lo?("function"==typeof u&&($o(t,n,u,r),s=t.memoizedState),(l=Lo||Wo(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Oo(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:bo(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Co(s):s=La(t,s=ja(n)?Aa:Pa.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Ho(t,i,r,s),Lo=!1,p=t.memoizedState,i.state=p,Do(t,r,i,a);var g=t.memoizedState;l!==d||p!==g||Na.current||Lo?("function"==typeof f&&($o(t,n,f,r),g=t.memoizedState),(c=Lo||Wo(t,n,c,r,p,g,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Nl(e,t,n,r,o,a)}function Nl(e,t,n,r,a,o){Cl(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Ma(t,n,!1),Hl(e,t,o);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ko(t,e.child,null,o),t.child=Ko(t,null,l,o)):kl(e,t,l,o),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function Al(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),ai(e,t.containerInfo)}function Ll(e,t,n,r,a){return go(),mo(a),t.flags|=256,kl(e,t,n,r),t.child}var jl,Ol,Rl,Il,Fl={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,n){var r,a=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(si,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Mc(s,a,0,null),e=Fc(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ml(n),t.memoizedState=Fl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Mc({mode:"visible",children:r.children},a,0,null),(i=Fc(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ko(t,e.child,null,l),t.child.memoizedState=Ml(l),t.memoizedState=Fl,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=As)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ao(e,a),rc(r,e,a,-1))}return hc(),Bl(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Pc.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(qa[Ga++]=Qa,qa[Ga++]=Ka,qa[Ga++]=Ya,Qa=e.id,Ka=e.overflow,Ya=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=Rc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Rc(r,l):(l=Fc(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Ml(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Fl,a}return e=(l=e.child).sibling,a=Rc(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&mo(r),Ko(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $l(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ul(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Wl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(kl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$l(e,n,t);else if(19===e.tag)$l(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(si,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ul(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ci(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ul(t,!0,n,null,o);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ms|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ql(t),null;case 1:case 17:return ja(t.type)&&Oa(),ql(t),null;case 3:return r=t.stateNode,oi(),_a(Na),_a(Pa),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(lc(oo),oo=null))),Ol(e,t),ql(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return ql(t),null}if(e=ri(ei.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":Q(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in ye(n,i),a=null,i)if(i.hasOwnProperty(s)){var c=i[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pa]=t,e[fa]=r,jl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ir.length;a++)zr(Ir[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":Q(e,r),a=Y(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in ye(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?he(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=u&&"onScroll"===i&&zr("scroll",e):null!=u&&v(e,i,u,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ql(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return ql(t),null;case 13:if(_a(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))fo(),go(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else go(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ql(t),i=!1}else null!==oo&&(lc(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Is&&(Is=3):hc())),null!==t.updateQueue&&(t.flags|=4),ql(t),null);case 4:return oi(),Ol(e,t),null===e&&Ur(t.stateNode.containerInfo),ql(t),null;case 10:return So(t.type._context),ql(t),null;case 19:if(_a(si),null===(i=t.memoizedState))return ql(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Vl(i,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ci(e))){for(t.flags|=128,Vl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Ke()>Ws&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return ql(t),null}else 2*Ke()-i.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=si.current,Ca(si,r?1&n|2:1&n),t):(ql(t),null);case 22:case 23:return pc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Os)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Yl(e,t){switch(to(t),t.tag){case 1:return ja(t.type)&&Oa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),_a(Na),_a(Pa),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_a(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));go()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _a(si),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return pc(),null;default:return null}}jl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ol=function(){},Rl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=Y(e,a),r=Y(e,r),i=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var s=a[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(o in s)!s.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&s[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&zr("scroll",e),i||s===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Kl=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){_c(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){_c(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ts(t,n,o)}a=a.next}while(a!==r)}}function as(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ma],delete t[ha],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)gs(e,t,n),n=n.sibling}function gs(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Kl||es(n,t);case 6:var r=ds,a=ps;ds=null,fs(e,t,n),ps=a,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ut(e)):sa(ds,n.stateNode));break;case 4:r=ds,a=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=a;break;case 0:case 11:case 14:case 15:if(!Kl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&ts(n,t,i),a=a.next}while(a!==r)}fs(e,t,n);break;case 1:if(!Kl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_c(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Kl=(r=Kl)||null!==n.memoizedState,fs(e,t,n),Kl=r):fs(e,t,n);break;default:fs(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Nc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,ps=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,ps=!0;break e}s=s.return}if(null===ds)throw Error(o(160));gs(i,l,a),ds=null,ps=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){_c(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bs(t,e),t=t.sibling}function bs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hs(t,e),ys(e),4&r){try{rs(3,e,e.return),as(3,e)}catch(h){_c(e,e.return,h)}try{rs(5,e,e.return)}catch(h){_c(e,e.return,h)}}break;case 1:hs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(hs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(h){_c(e,e.return,h)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&K(a,i),ve(s,l);var u=ve(s,i);for(l=0;l<c.length;l+=2){var d=c[l],p=c[l+1];"style"===d?he(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,u)}switch(s){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var g=i.value;null!=g?ne(a,!!i.multiple,g,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(h){_c(e,e.return,h)}}break;case 6:if(hs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(h){_c(e,e.return,h)}}break;case 3:if(hs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(h){_c(e,e.return,h)}break;case 4:default:hs(t,e),ys(e);break;case 13:hs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Us=Ke())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Kl=(u=Kl)||d,hs(t,e),Kl=u):hs(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(p=Jl=d;null!==Jl;){switch(g=(f=Jl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(h){_c(r,n,h)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){xs(p);continue}}null!==g?(g.return=f,Jl=g):xs(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=me("display",l))}catch(h){_c(e,e.return,h)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(h){_c(e,e.return,h)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),us(e,ss(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cs(e,ss(e),i);break;default:throw Error(o(161))}}catch(l){_c(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var a=Jl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ql;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Kl;l=Ql;var c=Kl;if(Ql=i,(Kl=s)&&!c)for(Jl=a;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Ss(a):null!==s?(s.return=i,Jl=s):Ss(a);for(;null!==o;)Jl=o,ws(o,t,n),o=o.sibling;Jl=a,Ql=l,Kl=c}ks(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Jl=o):ks(e)}}function ks(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Kl||as(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Kl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&zo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zo(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Kl||512&t.flags&&os(t)}catch(f){_c(t,t.return,f)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Ss(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{as(4,t)}catch(s){_c(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){_c(t,a,s)}}var o=t.return;try{os(t)}catch(s){_c(t,o,s)}break;case 5:var i=t.return;try{os(t)}catch(s){_c(t,i,s)}}}catch(s){_c(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,_s=Math.ceil,Cs=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,Ps=w.ReactCurrentBatchConfig,Ns=0,As=null,Ls=null,js=0,Os=0,Rs=Ea(0),Is=0,Fs=null,Ms=0,Ds=0,zs=0,Bs=null,$s=null,Us=0,Ws=1/0,Zs=null,Hs=!1,Vs=null,qs=null,Gs=!1,Ys=null,Qs=0,Ks=0,Xs=null,Js=-1,ec=0;function tc(){return 0!=(6&Ns)?Ke():-1!==Js?Js:Js=Ke()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Ns)&&0!==js?js&-js:null!==ho.transition?(0===ec&&(ec=mt()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function rc(e,t,n,r){if(50<Ks)throw Ks=0,Xs=null,Error(o(185));bt(e,n,r),0!=(2&Ns)&&e===As||(e===As&&(0==(2&Ns)&&(Ds|=n),4===Is&&sc(e,js)),ac(e,r),1===n&&0===Ns&&0==(1&t.mode)&&(Ws=Ke()+500,za&&Ua()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?0!=(l&n)&&0==(l&r)||(a[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=pt(e,e===As?js:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(cc.bind(null,e)):$a(cc.bind(null,e)),ia((function(){0==(6&Ns)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ac(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Js=-1,ec=0,0!=(6&Ns))throw Error(o(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=pt(e,e===As?js:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var a=Ns;Ns|=2;var i=mc();for(As===e&&js===t||(Zs=null,Ws=Ke()+500,fc(e,t));;)try{vc();break}catch(s){gc(e,s)}xo(),Cs.current=i,Ns=a,null!==Ls?t=0:(As=null,js=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=gt(e))&&(r=a,t=ic(e,a))),1===t)throw n=Fs,fc(e,0),sc(e,r),ac(e,Ke()),n;if(6===t)sc(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=bc(e,r))&&(0!==(i=gt(e))&&(r=i,t=ic(e,i))),1===t))throw n=Fs,fc(e,0),sc(e,r),ac(e,Ke()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:xc(e,$s,Zs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Us+500-Ke())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(xc.bind(null,e,$s,Zs),t);break}xc(e,$s,Zs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_s(r/1960))-r)){e.timeoutHandle=ra(xc.bind(null,e,$s,Zs),r);break}xc(e,$s,Zs);break;default:throw Error(o(329))}}}return ac(e,Ke()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=$s,$s=n,null!==t&&lc(t)),e}function lc(e){null===$s?$s=e:$s.push.apply($s,e)}function sc(e,t){for(t&=~zs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Ns))throw Error(o(327));Sc();var t=pt(e,0);if(0==(1&t))return ac(e,Ke()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=gt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Fs,fc(e,0),sc(e,t),ac(e,Ke()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,$s,Zs),ac(e,Ke()),null}function uc(e,t){var n=Ns;Ns|=1;try{return e(t)}finally{0===(Ns=n)&&(Ws=Ke()+500,za&&Ua())}}function dc(e){null!==Ys&&0===Ys.tag&&0==(6&Ns)&&Sc();var t=Ns;Ns|=1;var n=Ps.transition,r=vt;try{if(Ps.transition=null,vt=1,e)return e()}finally{vt=r,Ps.transition=n,0==(6&(Ns=t))&&Ua()}}function pc(){Os=Rs.current,_a(Rs)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oa();break;case 3:oi(),_a(Na),_a(Pa),di();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:_a(si);break;case 10:So(r.type._context);break;case 22:case 23:pc()}n=n.return}if(As=e,Ls=e=Rc(e.current,null),js=Os=t,Is=0,Fs=null,zs=Ds=Ms=0,$s=Bs=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function gc(e,t){for(;;){var n=Ls;try{if(xo(),pi.current=il,yi){for(var r=mi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yi=!1}if(gi=0,bi=hi=mi=null,vi=!1,wi=0,Ts.current=null,null===n||null===n.return){Is=1,Fs=t,Ls=null;break}e:{var i=e,l=n.return,s=n,c=t;if(t=js,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=bl(l);if(null!==g){g.flags&=-257,yl(g,l,s,0,t),1&g.mode&&hl(i,u,t),c=u;var m=(t=g).updateQueue;if(null===m){var h=new Set;h.add(c),t.updateQueue=h}else m.add(c);break e}if(0==(1&t)){hl(i,u,t),hc();break e}c=Error(o(426))}else if(ao&&1&s.mode){var b=bl(l);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),yl(b,l,s,0,t),mo(ul(c,s));break e}}i=c=ul(c,s),4!==Is&&(Is=2),null===Bs?Bs=[i]:Bs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Mo(i,gl(0,c,t));break e;case 1:s=c;var y=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===qs||!qs.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Mo(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}kc(n)}catch(w){t=w,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function mc(){var e=Cs.current;return Cs.current=il,null===e?il:e}function hc(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===As||0==(268435455&Ms)&&0==(268435455&Ds)||sc(As,js)}function bc(e,t){var n=Ns;Ns|=2;var r=mc();for(As===e&&js===t||(Zs=null,fc(e,t));;)try{yc();break}catch(a){gc(e,a)}if(xo(),Ns=n,Cs.current=r,null!==Ls)throw Error(o(261));return As=null,js=0,Is}function yc(){for(;null!==Ls;)wc(Ls)}function vc(){for(;null!==Ls&&!Ye();)wc(Ls)}function wc(e){var t=Es(e.alternate,e,Os);e.memoizedProps=e.pendingProps,null===t?kc(e):Ls=t,Ts.current=null}function kc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gl(n,t,Os)))return void(Ls=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ls=n);if(null===e)return Is=6,void(Ls=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===Is&&(Is=5)}function xc(e,t,n){var r=vt,a=Ps.transition;try{Ps.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Ys);if(0!=(6&Ns))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===As&&(Ls=As=null,js=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gs||(Gs=!0,Ac(tt,(function(){return Sc(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ps.transition,Ps.transition=null;var l=vt;vt=1;var s=Ns;Ns|=4,Ts.current=null,function(e,t){if(ea=Zt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var g;p!==n||0!==a&&3!==p.nodeType||(s=l+a),p!==i||0!==r&&3!==p.nodeType||(c=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(g=p.firstChild);)f=p,p=g;for(;;){if(p===e)break t;if(f===n&&++u===a&&(s=l),f===i&&++d===r&&(c=l),null!==(g=p.nextSibling))break;f=(p=f).parentNode}p=g}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Zt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var h=m.memoizedProps,b=m.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?h:bo(t.type,h),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){_c(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),bs(n,e),gr(ta),Zt=!!ea,ta=ea=null,e.current=n,vs(n,e,a),Qe(),Ns=s,vt=l,Ps.transition=i}else e.current=n;if(Gs&&(Gs=!1,Ys=e,Qs=a),i=e.pendingLanes,0===i&&(qs=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),ac(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=Vs,Vs=null,e;0!=(1&Qs)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Xs?Ks++:(Ks=0,Xs=e):Ks=0,Ua()}(e,t,n,r)}finally{Ps.transition=a,vt=r}return null}function Sc(){if(null!==Ys){var e=wt(Qs),t=Ps.transition,n=vt;try{if(Ps.transition=null,vt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Qs=0,0!=(6&Ns))throw Error(o(331));var a=Ns;for(Ns|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var p=d.child;if(null!==p)p.return=d,Jl=p;else for(;null!==Jl;){var f=(d=Jl).sibling,g=d.return;if(is(d),d===u){Jl=null;break}if(null!==f){f.return=g,Jl=f;break}Jl=g}}}var m=i.alternate;if(null!==m){var h=m.child;if(null!==h){m.child=null;do{var b=h.sibling;h.sibling=null,h=b}while(null!==h)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Jl=y;break e}Jl=i.return}}var v=e.current;for(Jl=v;null!==Jl;){var w=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=v;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:as(9,s)}}catch(x){_c(s,s.return,x)}if(s===l){Jl=null;break e}var k=s.sibling;if(null!==k){k.return=s.return,Jl=k;break e}Jl=s.return}}if(Ns=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,Ps.transition=t}}return!1}function Ec(e,t,n){e=Io(e,t=gl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ac(e,t))}function _c(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qs||!qs.has(r))){t=Io(t,e=ml(t,e=ul(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ac(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,As===e&&(js&n)===n&&(4===Is||3===Is&&(130023424&js)===js&&500>Ke()-Us?fc(e,0):zs|=n),ac(e,t)}function Tc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Ao(e,t))&&(bt(e,t,n),ac(e,n))}function Pc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Nc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tc(e,n)}function Ac(e,t){return qe(e,t)}function Lc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jc(e,t,n,r){return new Lc(e,t,n,r)}function Oc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=jc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Oc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Fc(n.children,a,i,t);case E:l=8,a|=8;break;case _:return(e=jc(12,n,t,2|a)).elementType=_,e.lanes=i,e;case N:return(e=jc(13,n,t,a)).elementType=N,e.lanes=i,e;case A:return(e=jc(19,n,t,a)).elementType=A,e.lanes=i,e;case O:return Mc(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case T:l=9;break e;case P:l=11;break e;case L:l=14;break e;case j:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=jc(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Fc(e,t,n,r){return(e=jc(7,e,r,t)).lanes=n,e}function Mc(e,t,n,r){return(e=jc(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Dc(e,t,n){return(e=jc(6,e,null,t)).lanes=n,e}function zc(e,t,n){return(t=jc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function $c(e,t,n,r,a,o,i,l,s){return e=new Bc(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=jc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function Uc(e){if(!e)return Ta;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ja(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(ja(n))return Ia(e,n,t)}return t}function Wc(e,t,n,r,a,o,i,l,s){return(e=$c(n,r,!0,e,0,o,0,l,s)).context=Uc(null),n=e.current,(o=Ro(r=tc(),a=nc(n))).callback=null!=t?t:null,Io(n,o,a),e.current.lanes=a,bt(e,a,r),ac(e,r),e}function Zc(e,t,n,r){var a=t.current,o=tc(),i=nc(a);return n=Uc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(a,t,i))&&(rc(e,a,i,o),Fo(e,a,i)),i}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Na.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Al(t),go();break;case 5:ii(t);break;case 1:ja(t.type)&&Fa(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(yo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Dl(e,t,n):(Ca(si,1&si.current),null!==(e=Hl(e,t,n))?e.sibling:null);Ca(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,_l(e,t,n)}return Hl(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ao&&0!=(1048576&t.flags)&&Ja(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zl(e,t),e=t.pendingProps;var a=La(t,Pa.current);_o(t,n),a=Ei(null,t,r,e,a,n);var i=_i();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ja(r)?(i=!0,Fa(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,jo(t),a.updater=Uo,t.stateNode=a,a._reactInternals=t,Vo(t,r,e,n),t=Nl(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),kl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Oc(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===L)return 14}return 2}(r),e=bo(r,e),a){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Tl(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Pl(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 3:e:{if(Al(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Oo(e,t),Do(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ll(e,t,r,n,a=ul(Error(o(423)),t));break e}if(r!==a){t=Ll(e,t,r,n,a=ul(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(go(),r===a){t=Hl(e,t,n);break e}kl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Cl(e,t),kl(e,t,l,n),t.child;case 6:return null===e&&co(t),null;case 13:return Dl(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ko(t,null,r,n):kl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xl(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 7:return kl(e,t,t.pendingProps,n),t.child;case 8:case 12:return kl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ca(yo,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Na.current){t=Hl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Ro(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Eo(i.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Eo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}kl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,_o(t,n),r=r(a=Co(a)),t.flags|=1,kl(e,t,r,n),t.child;case 14:return a=bo(r=t.type,t.pendingProps),Sl(e,t,r,a=bo(r.type,a),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:bo(r,a),Zl(e,t),t.tag=1,ja(r)?(e=!0,Fa(t)):e=!1,_o(t,n),Zo(t,r,a),Vo(t,r,a,n),Nl(null,t,r,!0,e,n);case 19:return Wl(e,t,n);case 22:return _l(e,t,n)}throw Error(o(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Hc(i);l.call(e)}}Zc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hc(i);o.call(e)}}var i=Wc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[ga]=i.current,Ur(8===e.nodeType?e.parentNode:e),dc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Hc(s);l.call(e)}}var s=$c(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[ga]=s.current,Ur(8===e.nodeType?e.parentNode:e),dc((function(){Zc(t,s,n,r)})),s}(n,t,e,a,r);return Hc(i)}Qc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Zc(e,t,null,null)},Qc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Zc(null,e,null,null)})),t[ga]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ac(t,Ke()),0==(6&Ns)&&(Ws=Ke()+500,Ua()))}break;case 13:dc((function(){var t=Ao(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),qc(e,1)}},xt=function(e){if(13===e.tag){var t=Ao(e,134217728);if(null!==t)rc(t,e,134217728,tc());qc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=Ao(e,t);if(null!==n)rc(n,e,t,tc());qc(e,t)}},Et=function(){return vt},_t=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));q(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uc,Ne=dc;var tu={usingClientEntryPoint:!1,Events:[va,wa,ka,Ce,Te,uc]},nu={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{at=au.inject(ru),ot=au}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Kc(e))throw Error(o(299));var n=!1,r="",a=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=$c(e,1,!1,null,0,n,0,r,a),e[ga]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Kc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Wc(t,null,e,1,null!=n?n:null,a,0,i,l),e[ga]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ga]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!o(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>H,ql:()=>J});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),s=n(1143),c=n.n(s),u=n(6774),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(h).map((function(e){return h[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,h.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},_=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},P=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=p({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},N=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},A=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},j=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},O=[h.NOSCRIPT,h.SCRIPT,h.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},F=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},M=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},D=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=F(n,a),[r.createElement(h.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=A(t);return a?"<"+e+' data-rh="true" '+a+">"+R(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+R(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return F(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===O.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=L(e.metaTags,v),o=L(t,b),i=L(n,y);return{priorityMethods:{toComponent:function(){return[].concat(M(h.META,a.priority),M(h.LINK,o.priority),M(h.SCRIPT,i.priority))},toString:function(){return D(h.META,a.priority,r)+" "+D(h.LINK,o.priority,r)+" "+D(h.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=g.priorityMethods,u=g.linkTags,d=g.metaTags,p=g.scriptTags}return{priority:f,base:D(h.BASE,t,r),bodyAttributes:D("bodyAttributes",n,r),htmlAttributes:D("htmlAttributes",a,r),link:D(h.LINK,u,r),meta:D(h.META,d,r),noscript:D(h.NOSCRIPT,o,r),script:D(h.SCRIPT,p,r),style:D(h.STYLE,i,r),title:D(h.TITLE,{title:s,titleAttributes:c},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),W=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),Z="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=Z,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(h.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},q=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===a.indexOf(s)&&a.push(s);var u=o.indexOf(s);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},G=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;q(h.BODY,e.bodyAttributes),q(h.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=A(e)),q(h.TITLE,t)}(u,d);var p={baseTag:V(h.BASE,n),linkTags:V(h.LINK,a),metaTags:V(h.META,o),noscriptTags:V(h.NOSCRIPT,i),scriptTags:V(h.SCRIPT,s),styleTags:V(h.STYLE,c)},f={},g={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(g[e]=p[e].oldTags)})),t&&t(),l(e,f,g)},Y=null,Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:P(h.LINK,["rel","href"],e),metaTags:P(h.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:P(h.NOSCRIPT,["innerHTML"],e),onChangeClientState:_(e),scriptTags:P(h.SCRIPT,["src","innerHTML"],e),styleTags:P(h.STYLE,["cssText"],e),title:E(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:N(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){G(t,(function(){Y=null}))})):(G(t),Y=null)):z&&(a=z(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:W.isRequired},Q.displayName="HelmetDispatcher";var K=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(j(this.props,"helmetData"),j(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:t};case h.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case h.BODY:return p({},a,{bodyAttributes:p({},o)});case h.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=m(r,K),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case h.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,X),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Q,p({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Q,p({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case m:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=h,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===h},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),s=n(5697),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),m=null;function h(){return m||(m=e(g.loader)),m.promise}return c.push(h),"function"==typeof g.webpack&&u.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return h()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(g.loader),r._loadModule()})),h(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return h()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),p}function m(e){return g(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(p,e)};var h=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(h,"propTypes",{report:s.func.isRequired}),o(h,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),m.Capture=h,m.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=m},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),a=n(3117),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>u,rU:()=>h});var r=n(6550),a=n(144),o=n(7294),i=n(9318),l=n(3117),s=n(102),c=n(8776),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},f=function(e){return e},g=o.forwardRef;void 0===g&&(g=f);var m=g((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==g&&t||n,o.createElement("a",u)}));var h=g((function(e,t){var n=e.component,a=void 0===n?m:n,u=e.replace,h=e.to,b=e.innerRef,y=(0,s.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(d(h,e.location),e.location),s=r?n.createHref(r):"",m=(0,l.Z)({},y,{href:s,navigate:function(){var t=d(h,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return f!==g?m.ref=t||b:m.innerRef=b,o.createElement(a,m)}))})),b=function(e){return e},y=o.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,f=e.activeStyle,g=e.className,m=e.exact,v=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,_=e.innerRef,C=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=w||e.location,i=p(d(E,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=T?(0,r.LX)(n.pathname,{path:T,exact:m,sensitive:k,strict:x}):null,N=!!(v?v(P,n):P),A="function"==typeof g?g(N):g,L="function"==typeof S?S(N):S;N&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,u),L=(0,l.Z)({},L,f));var j=(0,l.Z)({"aria-current":N&&a||null,className:A,style:L,to:i},C);return b!==y?j.ref=t||_:j.innerRef=_,o.createElement(h,j)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>O,k6:()=>j,rs:()=>A,s6:()=>y});var r=n(144),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),s=n(8776),c=n(3117),u=n(9658),d=n.n(u),p=(n(9864),n(102)),f=(n(8679),1073741823),g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var m=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return c.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:c}},h=function(e){var t=m();return t.displayName=e,t},b=h("Router-History"),y=h("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:l,sensitive:c}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var u=s[0],p=s.slice(1),f=e===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,u=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(y.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:u?a.createElement(u,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function P(e){return function(){(0,s.Z)(!1)}}function N(){}a.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,c.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var L=a.useContext;function j(){return L(b)}function O(){return L(y).location}},9658:(e,t,n)=>{var r=n(5826);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var g=e[i],m=n[2],h=n[3],b=n[4],y=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=m&&null!=g&&g!==m,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||u,_=b||y;r.push({name:h||o++,prefix:m||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=l[u.name];if(null==p){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)i+=s(c);else{var p=s(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var g=s(n.delimiter||"/"),m=i.slice(-g.length)===g;return a||(i=(m?i.slice(0,-g.length):i)+"(?:"+g+"(?=$))?"),i+=o?"$":a&&m?"":"(?="+g+"|$)",u(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(f(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},5251:(e,t,n)=>{"use strict";var r=n(7294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:l.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function b(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||g}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=v.prototype=new y;w.constructor=v,m(w,b.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+P(s,0):o,k(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),N(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",k(e))for(var c=0;c<e.length;c++){var u=o+P(l=e[c],c);s+=N(l,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=N(l=l.value,t,a,u=o+P(l,c++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],a=0;return N(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var j={current:null},O={transition:null},R={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:O,ReactCurrentOwner:S};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return j.current.useCallback(e,t)},t.useContext=function(e){return j.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return j.current.useDeferredValue(e)},t.useEffect=function(e,t){return j.current.useEffect(e,t)},t.useId=function(){return j.current.useId()},t.useImperativeHandle=function(e,t,n){return j.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return j.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return j.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return j.current.useMemo(e,t)},t.useReducer=function(e,t,n){return j.current.useReducer(e,t,n)},t.useRef=function(e){return j.current.useRef(e)},t.useState=function(e){return j.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return j.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return j.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<a&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,p=null,f=3,g=!1,m=!1,h=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function k(e){if(h=!1,w(e),!m)if(null!==r(c))m=!0,O(x);else{var t=r(u);null!==t&&R(k,t.startTime-e)}}function x(e,n){m=!1,h&&(h=!1,y(C),C=-1),g=!0;var o=f;try{for(w(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!N());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(c)&&a(c),w(n)}else a(c);p=r(c)}if(null!==p)var s=!0;else{var d=r(u);null!==d&&R(k,d.startTime-n),s=!1}return s}finally{p=null,f=o,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,_=null,C=-1,T=5,P=-1;function N(){return!(t.unstable_now()-P<T)}function A(){if(null!==_){var e=t.unstable_now();P=e;var n=!0;try{n=_(!0,e)}finally{n?S():(E=!1,_=null)}}else E=!1}if("function"==typeof v)S=function(){v(A)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,j=L.port2;L.port1.onmessage=A,S=function(){j.postMessage(null)}}else S=function(){b(A,0)};function O(e){_=e,E||(E=!0,S())}function R(e,n){C=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||g||(m=!0,O(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(h?(y(C),C=-1):h=!0,R(k,o-i))):(e.sortIndex=l,n(c,e),m||g||(m=!0,O(x))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var c=o[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(a=n?n.call(r,u,d,c):void 0)||void 0===a&&u!==d)return!1}return!0}},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"React Native Android Widget",tagline:"Build Android Widgets with React Native",url:"https://sAleksovski.github.io",baseUrl:"/react-native-android-widget/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.png",trailingSlash:!1,organizationName:"sAleksovski",projectName:"react-native-android-widget",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["docusaurus-plugin-typedoc",{entryPoints:["../src/index.ts"],tsconfig:"../tsconfig.json",out:"public-api",disableSources:!0,readme:"none",sort:"required-first",visibilityFilters:{private:!1}}],["@docusaurus/plugin-client-redirects",{}]],presets:[["classic",{docs:{sidebarPath:"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/sidebars.ts",editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/"},blog:!1,theme:{customCss:"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/src/css/custom.css"},gtag:{trackingID:"G-S7YD6GC3T0"}}]],themeConfig:{image:"img/og-image.png",metadata:[{name:"keywords",content:"react native widget,react native widgets,react native android widget,expo widget,expo widgets,react native expo widget,react-native-android-widget"}],navbar:{title:"React Native Android Widget",logo:{alt:"React Native Android Widget Logo",src:"img/logo.png"},items:[{type:"doc",docId:"index",position:"left",label:"Docs"},{type:"doc",docId:"public-api/index",position:"left",label:"Public API"},{position:"right",href:"https://www.buymeacoffee.com/sAleksovski",className:"header-buymeacoffee-link"},{href:"https://github.com/sAleksovski/react-native-android-widget",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[],copyright:"Copyright \xa9 2024 Stefan Aleksovski. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["java"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},announcementBar:{id:"star-on-github",content:'\u2b50\ufe0f If you like React Native Android Widget, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/sAleksovski/react-native-android-widget">GitHub</a>',isCloseable:!0},colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},3117:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},144:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},102:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},512:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},2573:(e,t,n)=>{"use strict";n.d(t,{p1:()=>T,y$:()=>ee});var r,a,o,i,l,s,c,u=n(7294),d=n(512),p=Object.create,f=Object.defineProperty,g=Object.defineProperties,m=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(y)for(var n of y(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>g(e,h(t)),_=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],c=r.util.type(s);"Object"!==c||o[i(s)]?"Array"!==c||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var g=0;g<f.length;++g){if(d&&d.cause==p+","+g)return;var m=f[g],h=m.inside,b=!!m.lookbehind,y=!!m.greedy,v=m.alias;if(y&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var k=m.pattern||m,x=l.next,S=u;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var _,C=1;if(y){if(!(_=o(k,S,e,b))||_.index>=e.length)break;var T=_.index,P=_.index+_[0].length,N=S;for(N+=x.value.length;T>=N;)N+=(x=x.next).value.length;if(S=N-=x.value.length,x.value instanceof a)continue;for(var A=x;A!==t.tail&&(N<P||"string"==typeof A.value);A=A.next)C++,N+=A.value.length;C--,E=e.slice(S,N),_.index-=S}else if(!(_=o(k,0,E,b)))continue;T=_.index;var L=_[0],j=E.slice(0,T),O=E.slice(T+L.length),R=S+E.length;d&&R>d.reach&&(d.reach=R);var I=x.prev;if(j&&(I=s(t,I,j),S+=j.length),c(t,I,C),x=s(t,I,new a(p,h?r.tokenize(L,h):L,v,L)),O&&s(t,x,O),C>1){var F={cause:p+","+g,reach:R};i(e,t,n,x.prev,S,F),d&&F.reach>d.reach&&(d.reach=F.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[b(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of b(t))w.call(e,a)||a===n||f(e,a,{get:()=>t[a],enumerable:!(r=m(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(C());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",s=RegExp(s+"-"+s),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<a.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var c=t[s];"variable"===c.type&&0<=a.indexOf(c.content)&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),c=0,u={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var o=0;o<n.length;o++){if(c>=d.length)return;var i,s,p,f,g,m,h,b=n[o];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(h=(m="string"==typeof b?b:b.content).indexOf(i))&&(++c,s=m.substring(0,h),g=u[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(g,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,g),f=m.substring(h+i.length),g=[],s&&g.push(s),g.push(p),f&&(t(m=[f]),g.push.apply(g,m)),"string"==typeof b?(n.splice.apply(n,[o,1].concat(g)),o+=g.length-1):b.content=g)):(h=b.content,Array.isArray(h)?t(h):t([h]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,l,c=n[r];"string"!=typeof c&&(o=c.content,Array.isArray(o)?"template-string"===c.type?(c=o[1],3===o.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,l=e.languages[c])&&(o[1]=s(i,l,c))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=l(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=l(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>P,duotoneDark:()=>N,duotoneLight:()=>A,github:()=>L,jettwaveDark:()=>Z,jettwaveLight:()=>H,nightOwl:()=>j,nightOwlLight:()=>O,oceanicNext:()=>F,okaidia:()=>M,oneDark:()=>V,oneLight:()=>q,palenight:()=>D,shadesOfPurple:()=>z,synthwave84:()=>B,ultramin:()=>$,vsDark:()=>U,vsLight:()=>W});var P={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},N={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},A={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},L={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},j={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},O={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},R="#c5a5c5",I="#8dc891",F={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:R}},{types:["attr-value"],style:{color:I}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:I}},{types:["punctuation"],style:{color:I}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:R}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},M={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},D={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},z={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},B={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},$={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},W={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},Z={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},H={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},q={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},G=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,Q=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},K=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,c=t[i];const u=n[i][o];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=K(c,u.type),u.alias&&(c=K(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),p=d.length;l.push({types:c,content:d[0]});for(let t=1;t<p;t++)Q(l),s.push(l=[]),l.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return Q(l),s},J=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,u.useState)(G(t,e)),a=(0,u.useRef)(),o=(0,u.useRef)();return(0,u.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(G(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,u.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=_(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,u.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,u.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=_(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.Z)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,u.useRef)(e);return(0,u.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:c,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,u.createElement)(J,E(S({},e),{prism:e.prism||T,theme:e.theme||U,code:e.code,language:e.language}))},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/react-native-android-widget/docs-adb":{"__comp":"5e95c892","__context":{"plugin":"407354e8"}},"/react-native-android-widget/docs-a72":{"__comp":"a7bd4aaa","version":"935f2afb"},"/react-native-android-widget/docs-f32":{"__comp":"a94703ab"},"/react-native-android-widget/docs-04b":{"__comp":"17896441","content":"c377a04b"},"/react-native-android-widget/docs/api/register-widget-configuration-screen-49a":{"__comp":"17896441","content":"181303e3"},"/react-native-android-widget/docs/api/register-widget-task-handler-a05":{"__comp":"17896441","content":"ef61de09"},"/react-native-android-widget/docs/api/request-widget-update-861":{"__comp":"17896441","content":"7d14206d"},"/react-native-android-widget/docs/api/widget-preview-c3c":{"__comp":"17896441","content":"3666eb9e"},"/react-native-android-widget/docs/demo-9e2":{"__comp":"17896441","content":"74b23640"},"/react-native-android-widget/docs/handling-clicks-2ff":{"__comp":"17896441","content":"3a45f1c7"},"/react-native-android-widget/docs/limitations-6ec":{"__comp":"17896441","content":"1476a8a4"},"/react-native-android-widget/docs/primitives/flex-widget-dec":{"__comp":"17896441","content":"aa86ff20"},"/react-native-android-widget/docs/primitives/icon-widget-3e0":{"__comp":"17896441","content":"cc1aedd7"},"/react-native-android-widget/docs/primitives/image-widget-deb":{"__comp":"17896441","content":"82b1394b"},"/react-native-android-widget/docs/primitives/index-8e6":{"__comp":"14eb3368","categoryGeneratedIndex":"9958a938"},"/react-native-android-widget/docs/primitives/list-widget-b05":{"__comp":"17896441","content":"1bb5842c"},"/react-native-android-widget/docs/primitives/overlap-widget-bbd":{"__comp":"17896441","content":"3fa31a86"},"/react-native-android-widget/docs/primitives/svg-widget-430":{"__comp":"17896441","content":"17c5701b"},"/react-native-android-widget/docs/primitives/text-widget-15b":{"__comp":"17896441","content":"5b19e069"},"/react-native-android-widget/docs/public-api-b59":{"__comp":"17896441","content":"1cfe139a"},"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps-90e":{"__comp":"17896441","content":"0124b8bf"},"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps-020":{"__comp":"17896441","content":"bcda6bdc"},"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps-2f7":{"__comp":"17896441","content":"4787fd9f"},"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps-cd6":{"__comp":"17896441","content":"7f5eb84b"},"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps-e30":{"__comp":"17896441","content":"8d25c1fb"},"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle-869":{"__comp":"17896441","content":"7135efbc"},"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps-324":{"__comp":"17896441","content":"0314676f"},"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle-a1c":{"__comp":"17896441","content":"e73c34ba"},"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps-79e":{"__comp":"17896441","content":"2eb66e86"},"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps-293":{"__comp":"17896441","content":"f600eb30"},"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle-eb4":{"__comp":"17896441","content":"d5b87c6b"},"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps-1b6":{"__comp":"17896441","content":"a3102611"},"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps-8ab":{"__comp":"17896441","content":"49b00a7f"},"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps-376":{"__comp":"17896441","content":"281947f5"},"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle-b9a":{"__comp":"17896441","content":"0cb0f7cb"},"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps-287":{"__comp":"17896441","content":"730f732a"},"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps-cf2":{"__comp":"17896441","content":"7ad22d07"},"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo-e2e":{"__comp":"17896441","content":"b0736eaa"},"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps-f5a":{"__comp":"17896441","content":"bcaac1db"},"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps-248":{"__comp":"17896441","content":"95f41f41"},"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps-cab":{"__comp":"17896441","content":"a66dadf2"},"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle-e87":{"__comp":"17896441","content":"94be2f97"},"/react-native-android-widget/docs/public-api/interfaces/Widget-859":{"__comp":"17896441","content":"ff470113"},"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps-27e":{"__comp":"17896441","content":"334fbae1"},"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo-387":{"__comp":"17896441","content":"ff301dc0"},"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps-cc8":{"__comp":"17896441","content":"5d454204"},"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps-68e":{"__comp":"17896441","content":"24767a4f"},"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams-cf1":{"__comp":"17896441","content":"c56934f7"},"/react-native-android-widget/docs/tutorial/congratulations-b64":{"__comp":"17896441","content":"ead7330c"},"/react-native-android-widget/docs/tutorial/make-widget-configurable-93a":{"__comp":"17896441","content":"399d2a39"},"/react-native-android-widget/docs/tutorial/register-task-handler-10d":{"__comp":"17896441","content":"4b7010bf"},"/react-native-android-widget/docs/tutorial/register-widget-f46":{"__comp":"17896441","content":"f477c445"},"/react-native-android-widget/docs/tutorial/register-widget-expo-a54":{"__comp":"17896441","content":"31e029c9"},"/react-native-android-widget/docs/tutorial/try-it-our-b65":{"__comp":"17896441","content":"70097127"},"/react-native-android-widget/docs/tutorial/widget-design-689":{"__comp":"17896441","content":"01e0afe4"},"/react-native-android-widget/docs/tutorial/widget-preview-786":{"__comp":"17896441","content":"c10b2ba3"},"/react-native-android-widget/docs/update-widget-b60":{"__comp":"17896441","content":"7402041a"},"/react-native-android-widget/-ae8":{"__comp":"1df93b7f","__context":{"plugin":"adcb0710"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=7221,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.c7a18a7c.js.LICENSE.txt b/assets/js/main.7d4d413a.js.LICENSE.txt similarity index 76% rename from assets/js/main.c7a18a7c.js.LICENSE.txt rename to assets/js/main.7d4d413a.js.LICENSE.txt index eb75d69..91dc894 100644 --- a/assets/js/main.c7a18a7c.js.LICENSE.txt +++ b/assets/js/main.7d4d413a.js.LICENSE.txt @@ -1,15 +1,22 @@ -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ - /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */ +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + /** * @license React - * use-sync-external-store-shim.production.min.js + * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -18,16 +25,8 @@ object-assign */ /** - * Prism: Lightweight, robust, elegant syntax highlighting - * - * @license MIT <https://opensource.org/licenses/MIT> - * @author Lea Verou <https://lea.verou.me> - * @namespace - * @public - */ - -/** @license React v0.20.2 - * scheduler.production.min.js + * @license React + * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -35,8 +34,9 @@ object-assign * LICENSE file in the root directory of this source tree. */ -/** @license React v16.13.1 - * react-is.production.min.js +/** + * @license React + * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -44,8 +44,9 @@ object-assign * LICENSE file in the root directory of this source tree. */ -/** @license React v17.0.2 - * react-dom.production.min.js +/** + * @license React + * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * @@ -53,8 +54,8 @@ object-assign * LICENSE file in the root directory of this source tree. */ -/** @license React v17.0.2 - * react.production.min.js +/** @license React v16.13.1 + * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/assets/js/main.c7a18a7c.js b/assets/js/main.c7a18a7c.js deleted file mode 100644 index 179e231..0000000 --- a/assets/js/main.c7a18a7c.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.c7a18a7c.js.LICENSE.txt */ -(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(7462),i=n(8356),o=n.n(i),l=n(6887);const s={"0124b8bf":[()=>n.e(2934).then(n.bind(n,1065)),"@site/docs/public-api/interfaces/BackgroundStyleProps.md",1065],"01e0afe4":[()=>n.e(7291).then(n.bind(n,3112)),"@site/docs/tutorial/widget-design.md",3112],"0314676f":[()=>n.e(5020).then(n.bind(n,357)),"@site/docs/public-api/interfaces/IconWidgetProps.md",357],"080db9a4":[()=>n.e(6342).then(n.bind(n,5375)),"@site/docs/public-api/namespaces/TextWidget.md",5375],"0cb0f7cb":[()=>n.e(7374).then(n.bind(n,2304)),"@site/docs/public-api/interfaces/OverlapWidgetStyle.md",2304],"11884ede":[()=>n.e(5266).then(n.bind(n,3953)),"@site/docs/public-api/namespaces/SvgWidget.md",3953],"1476a8a4":[()=>n.e(5087).then(n.bind(n,251)),"@site/docs/limitations.md",251],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,4228)),"@theme/DocCategoryGeneratedIndexPage",4228],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,7617)),"@theme/DocItem",7617],"17aa6098":[()=>n.e(1785).then(n.bind(n,6617)),"@site/docs/public-api/namespaces/ListWidget.md",6617],"17c5701b":[()=>n.e(3895).then(n.bind(n,6808)),"@site/docs/primitives/svg-widget.md",6808],"181303e3":[()=>n.e(7473).then(n.bind(n,8239)),"@site/docs/api/register-widget-configuration-screen.md",8239],"1bb5842c":[()=>n.e(322).then(n.bind(n,1835)),"@site/docs/primitives/list-widget.md",1835],"1be78505":[()=>Promise.all([n.e(532),n.e(9514)]).then(n.bind(n,9963)),"@theme/DocPage",9963],"1cfe139a":[()=>n.e(9484).then(n.bind(n,3115)),"@site/docs/public-api/index.md",3115],"24767a4f":[()=>n.e(1400).then(n.bind(n,8419)),"@site/docs/public-api/interfaces/WidgetTaskHandlerProps.md",8419],"281947f5":[()=>n.e(6831).then(n.bind(n,7452)),"@site/docs/public-api/interfaces/OverlapWidgetProps.md",7452],"2eb66e86":[()=>n.e(6090).then(n.bind(n,3130)),"@site/docs/public-api/interfaces/ImageWidgetProps.md",3130],"31e029c9":[()=>n.e(1946).then(n.bind(n,450)),"@site/docs/tutorial/register-widget-expo.md",450],"334fbae1":[()=>n.e(6998).then(n.bind(n,6105)),"@site/docs/public-api/interfaces/WidgetConfigurationScreenProps.md",6105],"3666eb9e":[()=>n.e(4483).then(n.bind(n,3831)),"@site/docs/api/widget-preview.md",3831],"399d2a39":[()=>n.e(6573).then(n.bind(n,6073)),"@site/docs/tutorial/make-widget-configurable.md",6073],"3a45f1c7":[()=>n.e(9239).then(n.bind(n,9152)),"@site/docs/handling-clicks.md",9152],"3fa31a86":[()=>n.e(7938).then(n.bind(n,8058)),"@site/docs/primitives/overlap-widget.md",8058],"407354e8":[()=>n.e(1493).then(n.t.bind(n,3769,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"436fd1e4":[()=>n.e(8645).then(n.bind(n,647)),"@site/docs/public-api/namespaces/OverlapWidget.md",647],"4787fd9f":[()=>n.e(1161).then(n.bind(n,266)),"@site/docs/public-api/interfaces/ClickActionProps.md",266],"49b00a7f":[()=>n.e(5187).then(n.bind(n,7323)),"@site/docs/public-api/interfaces/OtherStyleProps.md",7323],"4b7010bf":[()=>n.e(5710).then(n.bind(n,1769)),"@site/docs/tutorial/register-task-handler.md",1769],"5b19e069":[()=>n.e(1408).then(n.bind(n,7212)),"@site/docs/primitives/text-widget.md",7212],"5d454204":[()=>n.e(3814).then(n.bind(n,377)),"@site/docs/public-api/interfaces/WidgetPreviewProps.md",377],"5d5554be":[()=>n.e(3667).then(n.bind(n,9331)),"@site/docs/public-api/namespaces/FlexWidget.md",9331],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],70097127:[()=>n.e(1744).then(n.bind(n,5098)),"@site/docs/tutorial/try-it-our.md",5098],"7135efbc":[()=>n.e(7071).then(n.bind(n,4376)),"@site/docs/public-api/interfaces/FlexWidgetStyle.md",4376],"730f732a":[()=>n.e(8998).then(n.bind(n,8505)),"@site/docs/public-api/interfaces/PaddingStyleProps.md",8505],"7402041a":[()=>n.e(9557).then(n.bind(n,8415)),"@site/docs/update-widget.md",8415],"74b23640":[()=>n.e(2814).then(n.bind(n,7020)),"@site/docs/demo.md",7020],"76085ae1":[()=>n.e(2342).then(n.bind(n,7994)),"@site/docs/public-api/namespaces/ImageWidget.md",7994],"7ad22d07":[()=>n.e(5073).then(n.bind(n,2288)),"@site/docs/public-api/interfaces/RequestWidgetUpdateProps.md",2288],"7d14206d":[()=>n.e(9896).then(n.bind(n,1574)),"@site/docs/api/request-widget-update.md",1574],"7f5eb84b":[()=>n.e(9069).then(n.bind(n,1269)),"@site/docs/public-api/interfaces/CommonStyleProps.md",1269],"82b1394b":[()=>n.e(6117).then(n.bind(n,2485)),"@site/docs/primitives/image-widget.md",2485],"8d25c1fb":[()=>n.e(1328).then(n.bind(n,1566)),"@site/docs/public-api/interfaces/FlexWidgetProps.md",1566],"935b7169":[()=>n.e(9829).then(n.bind(n,1549)),"@site/docs/public-api/namespaces/IconWidget.md",1549],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94be2f97":[()=>n.e(265).then(n.bind(n,6068)),"@site/docs/public-api/interfaces/TextWidgetStyle.md",6068],"95f41f41":[()=>n.e(9209).then(n.bind(n,9744)),"@site/docs/public-api/interfaces/SvgWidgetProps.md",9744],"9958a938":[()=>n.e(8646).then(n.t.bind(n,8178,19)),"~docs/default/category-react-native-android-widgetdocs-default-category-widget-primitives-4d5.json",8178],a3102611:[()=>n.e(7679).then(n.bind(n,4129)),"@site/docs/public-api/interfaces/MarginStyleProps.md",4129],a66dadf2:[()=>n.e(5672).then(n.bind(n,5973)),"@site/docs/public-api/interfaces/TextWidgetProps.md",5973],aa86ff20:[()=>n.e(1188).then(n.bind(n,574)),"@site/docs/primitives/flex-widget.md",574],adcb0710:[()=>n.e(9945).then(n.t.bind(n,5745,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],b0736eaa:[()=>n.e(2097).then(n.bind(n,7841)),"@site/docs/public-api/interfaces/ScreenInfo.md",7841],bcaac1db:[()=>n.e(6516).then(n.bind(n,9233)),"@site/docs/public-api/interfaces/SizeStyleProps.md",9233],bcda6bdc:[()=>n.e(3159).then(n.bind(n,7523)),"@site/docs/public-api/interfaces/BorderStyleProps.md",7523],c10b2ba3:[()=>n.e(8888).then(n.bind(n,7492)),"@site/docs/tutorial/widget-preview.md",7492],c377a04b:[()=>Promise.all([n.e(532),n.e(6971)]).then(n.bind(n,8296)),"@site/docs/index.md",8296],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,3261)),"@site/src/pages/index.js",3261],c56934f7:[()=>n.e(2321).then(n.bind(n,4728)),"@site/docs/public-api/interfaces/WithAndroidWidgetsParams.md",4728],cc1aedd7:[()=>n.e(1069).then(n.bind(n,5530)),"@site/docs/primitives/icon-widget.md",5530],d5b87c6b:[()=>n.e(2386).then(n.bind(n,6586)),"@site/docs/public-api/interfaces/ListWidgetStyle.md",6586],e73c34ba:[()=>n.e(924).then(n.bind(n,7889)),"@site/docs/public-api/interfaces/IconWidgetStyle.md",7889],ead7330c:[()=>n.e(7655).then(n.bind(n,575)),"@site/docs/tutorial/congratulations.md",575],ef61de09:[()=>n.e(7386).then(n.bind(n,8636)),"@site/docs/api/register-widget-task-handler.md",8636],f477c445:[()=>n.e(9990).then(n.bind(n,5849)),"@site/docs/tutorial/register-widget.md",5849],f600eb30:[()=>n.e(8558).then(n.bind(n,7720)),"@site/docs/public-api/interfaces/ListWidgetProps.md",7720],ff301dc0:[()=>n.e(5937).then(n.bind(n,3520)),"@site/docs/public-api/interfaces/WidgetInfo.md",3520],ff470113:[()=>n.e(3153).then(n.bind(n,5465)),"@site/docs/public-api/interfaces/Widget.md",5465]};function c(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var u=n(9670),d=n(226);function p(e,t){if("*"===e)return o()({loading:c,loader:()=>n.e(4972).then(n.bind(n,4972)),modules:["@theme/NotFound"],webpack:()=>[4972],render(e,t){const n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const i=l[`${e}-${t}`],p={},f=[],g=[],m=(0,u.Z)(i);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=s[n];r&&(p[t]=r[0],f.push(r[1]),g.push(r[2]))})),o().Map({loading:c,loader:p,modules:f,webpack:()=>g,render(t,n){const o=JSON.parse(JSON.stringify(i));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=a}));const l=o.__comp;delete o.__comp;const s=o.__context;return delete o.__context,r.createElement(d.z,{value:s},r.createElement(l,(0,a.Z)({},o,n)))}})}const f=[{path:"/react-native-android-widget/docs",component:p("/react-native-android-widget/docs","3a2"),routes:[{path:"/react-native-android-widget/docs",component:p("/react-native-android-widget/docs","04b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-configuration-screen",component:p("/react-native-android-widget/docs/api/register-widget-configuration-screen","49a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-task-handler",component:p("/react-native-android-widget/docs/api/register-widget-task-handler","a05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/request-widget-update",component:p("/react-native-android-widget/docs/api/request-widget-update","861"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/widget-preview",component:p("/react-native-android-widget/docs/api/widget-preview","c3c"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/demo",component:p("/react-native-android-widget/docs/demo","9e2"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/handling-clicks",component:p("/react-native-android-widget/docs/handling-clicks","2ff"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/limitations",component:p("/react-native-android-widget/docs/limitations","6ec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/flex-widget",component:p("/react-native-android-widget/docs/primitives/flex-widget","dec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/icon-widget",component:p("/react-native-android-widget/docs/primitives/icon-widget","3e0"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/image-widget",component:p("/react-native-android-widget/docs/primitives/image-widget","deb"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/index",component:p("/react-native-android-widget/docs/primitives/index","8e6"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/list-widget",component:p("/react-native-android-widget/docs/primitives/list-widget","b05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/overlap-widget",component:p("/react-native-android-widget/docs/primitives/overlap-widget","bbd"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/svg-widget",component:p("/react-native-android-widget/docs/primitives/svg-widget","430"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/text-widget",component:p("/react-native-android-widget/docs/primitives/text-widget","15b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/public-api",component:p("/react-native-android-widget/docs/public-api","b59"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","90e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","020"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",component:p("/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","2f7"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","cd6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","e30"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",component:p("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","869"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","324"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",component:p("/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","a1c"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","79e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","293"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",component:p("/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","eb4"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","1b6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","8ab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","376"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",component:p("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","b9a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","287"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",component:p("/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","cf2"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",component:p("/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","e2e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",component:p("/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","f5a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","248"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",component:p("/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","cab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",component:p("/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","e87"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/Widget",component:p("/react-native-android-widget/docs/public-api/interfaces/Widget","859"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",component:p("/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","27e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",component:p("/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","387"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",component:p("/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","cc8"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",component:p("/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","68e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",component:p("/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","cf1"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/namespaces/FlexWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/FlexWidget","49e"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/IconWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/IconWidget","91a"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/ImageWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/ImageWidget","223"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/ListWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/ListWidget","d5f"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/OverlapWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/OverlapWidget","7c8"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/SvgWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/SvgWidget","d34"),exact:!0},{path:"/react-native-android-widget/docs/public-api/namespaces/TextWidget",component:p("/react-native-android-widget/docs/public-api/namespaces/TextWidget","a6d"),exact:!0},{path:"/react-native-android-widget/docs/tutorial/congratulations",component:p("/react-native-android-widget/docs/tutorial/congratulations","b64"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/make-widget-configurable",component:p("/react-native-android-widget/docs/tutorial/make-widget-configurable","93a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-task-handler",component:p("/react-native-android-widget/docs/tutorial/register-task-handler","10d"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget",component:p("/react-native-android-widget/docs/tutorial/register-widget","f46"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget-expo",component:p("/react-native-android-widget/docs/tutorial/register-widget-expo","a54"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/try-it-our",component:p("/react-native-android-widget/docs/tutorial/try-it-our","b65"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-design",component:p("/react-native-android-widget/docs/tutorial/widget-design","689"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-preview",component:p("/react-native-android-widget/docs/tutorial/widget-preview","786"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/update-widget",component:p("/react-native-android-widget/docs/update-widget","b60"),exact:!0,sidebar:"default"}]},{path:"/react-native-android-widget/",component:p("/react-native-android-widget/","824"),exact:!0},{path:"*",component:p("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(7294);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},9383:(e,t,n)=>{"use strict";var r=n(7294),a=n(3935),i=n(3727),o=n(405),l=n(412);const s=[n(6657),n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790);function p(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var f=n(7462),g=n(5742),m=n(2263),h=n(4996),b=n(6668),v=n(1944),y=n(4711),w=n(9727),E=n(3320),k=n(197);function S(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,m.Z)(),n=(0,y.l)();return r.createElement(g.Z,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function x(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),a=function(){const{siteConfig:{url:e}}=(0,m.Z)(),{pathname:t}=(0,u.TH)();return e+(0,h.Z)(t)}(),i=t?`${n}${t}`:a;return r.createElement(g.Z,null,r.createElement("meta",{property:"og:url",content:i}),r.createElement("link",{rel:"canonical",href:i}))}function _(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return r.createElement(r.Fragment,null,r.createElement(g.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.h})),n&&r.createElement(v.d,{image:n}),r.createElement(x,null),r.createElement(S,null),r.createElement(k.Z,{tag:E.HX,locale:e}),r.createElement(g.Z,null,t.map(((e,t)=>r.createElement("meta",(0,f.Z)({key:t},e))))))}const C=new Map;function T(e){if(C.has(e.pathname))return{...e,pathname:C.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return C.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return C.set(e.pathname,t),{...e,pathname:t}}var P=n(8934),A=n(8940);function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{var r;const a=(null==(r=t.default)?void 0:r[e])??t[e];return null==a?void 0:a(...n)}));return()=>a.forEach((e=>null==e?void 0:e()))}const O=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,i=t.search===n.search;if(r&&a&&!i)return;const{hash:o}=t;if(o){const e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);null==t||t.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:a}),L("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function N(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class I extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),N(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(O,{previousLocation:this.previousLocation,location:t},r.createElement(u.AW,{location:t,render:()=>e}))}}const R=I,M="docusaurus-base-url-issue-banner-container",D="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function B(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${M}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${D}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('${D}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function z(){const{siteConfig:{baseUrl:e}}=(0,m.Z)();return(0,r.useLayoutEffect)((()=>{window[F]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(g.Z,null,r.createElement("script",null,B(e))),r.createElement("div",{id:M}))}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,m.Z)(),{pathname:n}=(0,u.TH)();return t&&n===e?r.createElement(z,null):null}function U(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:i}}=(0,m.Z)(),o=(0,h.Z)(e),{htmlLang:l,direction:s}=i[a];return r.createElement(g.Z,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:o}))}var W=n(4763);function j(){const e=(0,d.H)(c.Z),t=(0,u.TH)();return r.createElement(W.Z,null,r.createElement(A.M,null,r.createElement(P.t,null,r.createElement(p,null,r.createElement(U,null),r.createElement(_,null),r.createElement($,null),r.createElement(R,{location:T(t)},e)))))}var Z=n(6887);const H=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const i=document.getElementsByTagName("head")[0]??(null==(r=document.getElementsByName("script")[0])?void 0:r.parentNode);null==i||i.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var V=n(9670);const G=new Set,q=new Set,Y=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},K={prefetch(e){if(!(e=>!Y()&&!q.has(e)&&!G.has(e))(e))return!1;G.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(Z).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,V.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?H(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Y()&&!q.has(e))(e)&&(q.add(e),N(e))},X=Object.freeze(K);if(l.Z.canUseDOM){window.docusaurus=X;const e=a.hydrate;N(window.location.pathname).then((()=>{e(r.createElement(o.B6,null,r.createElement(i.VK,null,r.createElement(j,null))),document.getElementById("__docusaurus"))}))}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>u,M:()=>d});var r=n(7294),a=n(6809);const i=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-S7YD6GC3T0"],"anonymizeIP":false,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/react-native-android-widget/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/react-native-android-widget/docs","mainDocId":"index","docs":[{"id":"api/register-widget-configuration-screen","path":"/react-native-android-widget/docs/api/register-widget-configuration-screen","sidebar":"default"},{"id":"api/register-widget-task-handler","path":"/react-native-android-widget/docs/api/register-widget-task-handler","sidebar":"default"},{"id":"api/request-widget-update","path":"/react-native-android-widget/docs/api/request-widget-update","sidebar":"default"},{"id":"api/widget-preview","path":"/react-native-android-widget/docs/api/widget-preview","sidebar":"default"},{"id":"demo","path":"/react-native-android-widget/docs/demo","sidebar":"default"},{"id":"handling-clicks","path":"/react-native-android-widget/docs/handling-clicks","sidebar":"default"},{"id":"index","path":"/react-native-android-widget/docs/","sidebar":"default"},{"id":"limitations","path":"/react-native-android-widget/docs/limitations","sidebar":"default"},{"id":"primitives/flex-widget","path":"/react-native-android-widget/docs/primitives/flex-widget","sidebar":"default"},{"id":"primitives/icon-widget","path":"/react-native-android-widget/docs/primitives/icon-widget","sidebar":"default"},{"id":"primitives/image-widget","path":"/react-native-android-widget/docs/primitives/image-widget","sidebar":"default"},{"id":"primitives/list-widget","path":"/react-native-android-widget/docs/primitives/list-widget","sidebar":"default"},{"id":"primitives/overlap-widget","path":"/react-native-android-widget/docs/primitives/overlap-widget","sidebar":"default"},{"id":"primitives/svg-widget","path":"/react-native-android-widget/docs/primitives/svg-widget","sidebar":"default"},{"id":"primitives/text-widget","path":"/react-native-android-widget/docs/primitives/text-widget","sidebar":"default"},{"id":"public-api/index","path":"/react-native-android-widget/docs/public-api/","sidebar":"api"},{"id":"public-api/interfaces/BackgroundStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","sidebar":"api"},{"id":"public-api/interfaces/BorderStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","sidebar":"api"},{"id":"public-api/interfaces/ClickActionProps","path":"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","sidebar":"api"},{"id":"public-api/interfaces/CommonStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/ImageWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/MarginStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OtherStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/PaddingStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","sidebar":"api"},{"id":"public-api/interfaces/RequestWidgetUpdateProps","path":"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","sidebar":"api"},{"id":"public-api/interfaces/ScreenInfo","path":"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","sidebar":"api"},{"id":"public-api/interfaces/SizeStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","sidebar":"api"},{"id":"public-api/interfaces/SvgWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/Widget","path":"/react-native-android-widget/docs/public-api/interfaces/Widget","sidebar":"api"},{"id":"public-api/interfaces/WidgetConfigurationScreenProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetInfo","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","sidebar":"api"},{"id":"public-api/interfaces/WidgetPreviewProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetTaskHandlerProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","sidebar":"api"},{"id":"public-api/interfaces/WithAndroidWidgetsParams","path":"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","sidebar":"api"},{"id":"public-api/namespaces/FlexWidget","path":"/react-native-android-widget/docs/public-api/namespaces/FlexWidget"},{"id":"public-api/namespaces/IconWidget","path":"/react-native-android-widget/docs/public-api/namespaces/IconWidget"},{"id":"public-api/namespaces/ImageWidget","path":"/react-native-android-widget/docs/public-api/namespaces/ImageWidget"},{"id":"public-api/namespaces/ListWidget","path":"/react-native-android-widget/docs/public-api/namespaces/ListWidget"},{"id":"public-api/namespaces/OverlapWidget","path":"/react-native-android-widget/docs/public-api/namespaces/OverlapWidget"},{"id":"public-api/namespaces/SvgWidget","path":"/react-native-android-widget/docs/public-api/namespaces/SvgWidget"},{"id":"public-api/namespaces/TextWidget","path":"/react-native-android-widget/docs/public-api/namespaces/TextWidget"},{"id":"tutorial/congratulations","path":"/react-native-android-widget/docs/tutorial/congratulations","sidebar":"default"},{"id":"tutorial/make-widget-configurable","path":"/react-native-android-widget/docs/tutorial/make-widget-configurable","sidebar":"default"},{"id":"tutorial/register-task-handler","path":"/react-native-android-widget/docs/tutorial/register-task-handler","sidebar":"default"},{"id":"tutorial/register-widget","path":"/react-native-android-widget/docs/tutorial/register-widget","sidebar":"default"},{"id":"tutorial/register-widget-expo","path":"/react-native-android-widget/docs/tutorial/register-widget-expo","sidebar":"default"},{"id":"tutorial/try-it-our","path":"/react-native-android-widget/docs/tutorial/try-it-our","sidebar":"default"},{"id":"tutorial/widget-design","path":"/react-native-android-widget/docs/tutorial/widget-design","sidebar":"default"},{"id":"tutorial/widget-preview","path":"/react-native-android-widget/docs/tutorial/widget-preview","sidebar":"default"},{"id":"update-widget","path":"/react-native-android-widget/docs/update-widget","sidebar":"default"},{"id":"/primitives/index","path":"/react-native-android-widget/docs/primitives/index","sidebar":"default"}],"draftIds":[],"sidebars":{"default":{"link":{"path":"/react-native-android-widget/docs/","label":"index"}},"api":{"link":{"path":"/react-native-android-widget/docs/public-api/","label":"Public API"}}}}],"breadcrumbs":true}}}'),o=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"2.4.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.4.0"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"2.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.4.0"},"docusaurus-plugin-typedoc":{"type":"package","name":"docusaurus-plugin-typedoc","version":"0.18.0"},"docusaurus-plugin-client-redirects":{"type":"package","name":"@docusaurus/plugin-client-redirects","version":"2.4.0"}}}'),c={siteConfig:a.default,siteMetadata:s,globalData:i,i18n:o,codeTranslations:l},u=r.createContext(c);function d(e){let{children:t}=e;return r.createElement(u.Provider,{value:c},t)}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(412),i=n(5742),o=n(8780),l=n(7961);function s(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"}},r.createElement("h1",{style:{fontSize:"3rem"}},"This page crashed"),r.createElement("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"}},"Try again"),r.createElement(c,{error:t}))}function c(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{style:{whiteSpace:"pre-wrap"}},n)}function u(e){let{error:t,tryAgain:n}=e;return r.createElement(p,{fallback:()=>r.createElement(s,{error:t,tryAgain:n})},r.createElement(i.Z,null,r.createElement("title",null,"Page Error")),r.createElement(l.Z,null,r.createElement(s,{error:t,tryAgain:n})))}const d=e=>r.createElement(u,e);class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??d)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),a=n(405);function i(e){return r.createElement(a.ql,e)}},9960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7462),a=n(7294),i=n(3727),o=n(8780),l=n(2263),s=n(3919),c=n(412);const u=a.createContext({collectLink:()=>{}});var d=n(4996);function p(e,t){var n;let{isNavLink:p,to:f,href:g,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...y}=e;const{siteConfig:{trailingSlash:w,baseUrl:E}}=(0,l.Z)(),{withBaseUrl:k}=(0,d.C)(),S=(0,a.useContext)(u),x=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>x.current));const _=f||g;const C=(0,s.Z)(_),T=null==_?void 0:_.replace("pathname://","");let P=void 0!==T?(A=T,v&&(e=>e.startsWith("/"))(A)?k(A):A):void 0;var A;P&&C&&(P=(0,o.applyTrailingSlash)(P,{trailingSlash:w,baseUrl:E}));const L=(0,a.useRef)(!1),O=p?i.OL:i.rU,N=c.Z.canUseIntersectionObserver,I=(0,a.useRef)(),R=()=>{L.current||null==P||(window.docusaurus.preload(P),L.current=!0)};(0,a.useEffect)((()=>(!N&&C&&null!=P&&window.docusaurus.prefetch(P),()=>{N&&I.current&&I.current.disconnect()})),[I,P,N,C]);const M=(null==(n=P)?void 0:n.startsWith("#"))??!1,D=!P||!C||M;return D||b||S.collectLink(P),D?a.createElement("a",(0,r.Z)({ref:x,href:P},_&&!C&&{target:"_blank",rel:"noopener noreferrer"},y)):a.createElement(O,(0,r.Z)({},y,{onMouseEnter:R,onTouchStart:R,innerRef:e=>{x.current=e,N&&e&&C&&(I.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=P&&window.docusaurus.prefetch(P))}))})),I.current.observe(e))},to:P},p&&{isActive:h,activeClassName:m}))}const f=a.forwardRef(p)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,I:()=>l});var r=n(7294);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function o(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(o({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:i}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const l=o({message:t,id:n});return r.createElement(r.Fragment,null,a(l,i))}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,Z:()=>l});var r=n(7294),a=n(2263),i=n(3919);function o(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:o=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,i.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return o?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),a=n(8940);function i(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),a=n(8934);function i(){return(0,r.useContext)(a._)}},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(e){const t={};return function e(n,r){Object.entries(n).forEach((n=>{let[a,i]=n;const o=r?`${r}.${a}`:a;var l;"object"==typeof(l=i)&&l&&Object.keys(l).length>0?e(i,o):t[o]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>i});var r=n(7294);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),o=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return r.createElement(a.Provider,{value:o},t)}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>m,gA:()=>p,_r:()=>u,Jo:()=>h,zh:()=>d,yW:()=>g,gB:()=>f});var r=n(6550),a=n(2263),i=n(9935);function o(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},u=()=>o("docusaurus-plugin-content-docs")??c,d=e=>function(e,t,n){void 0===t&&(t=i.m),void 0===n&&(n={});const r=o(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),i=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!i&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return i}(t,n,e)}function f(e){return d(e).versions}function g(e){const t=d(e);return l(t)}function m(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("event","page_view",{page_title:document.title,page_location:window.location.href,page_path:t.pathname+t.search+t.hash})}))}}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const i={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(7410),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(9640)(`./prism-${e}`)})),delete globalThis.Prism}(r.Z)},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);const a="iconExternalLink_nPIU";function i(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},7961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>gt});var r=n(7294),a=n(6010),i=n(4763),o=n(1944),l=n(7462),s=n(6550),c=n(5999),u=n(5936);const d="docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const g=(0,c.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??g,{containerRef:n,onClick:a}=f();return r.createElement("div",{ref:n,role:"region","aria-label":g},r.createElement("a",(0,l.Z)({},e,{href:`#${d}`,onClick:a}),t))}var h=n(5281),b=n(9727);const v="skipToContent_fXgn";function y(){return r.createElement(m,{className:v})}var w=n(6668),E=n(9689);function k(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:i=1.2,className:o,...s}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 15 15",width:t,height:n},s),r.createElement("g",{stroke:a,strokeWidth:i},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const S="closeButton_CVFx";function x(e){return r.createElement("button",(0,l.Z)({type:"button","aria-label":(0,c.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",S,e.className)}),r.createElement(k,{width:14,height:14,strokeWidth:3.1}))}const _="content_knG7";function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return r.createElement("div",(0,l.Z)({},e,{className:(0,a.Z)(_,e.className),dangerouslySetInnerHTML:{__html:n}}))}const T="announcementBar_mb4j",P="announcementBarPlaceholder_vyr4",A="announcementBarClose_gvF7",L="announcementBarContent_xLdY";function O(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,E.nT)();if(!t)return null;const{backgroundColor:a,textColor:i,isCloseable:o}=e;return r.createElement("div",{className:T,style:{backgroundColor:a,color:i},role:"banner"},o&&r.createElement("div",{className:P}),r.createElement(C,{className:L}),o&&r.createElement(x,{onClick:n,className:A}))}var N=n(3163),I=n(2466);var R=n(902),M=n(3102);const D=r.createContext(null);function F(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,M.HY)(),[n,a]=(0,r.useState)(!1),i=null!==t.component,o=(0,R.D9)(i);return(0,r.useEffect)((()=>{i&&!o&&a(!0)}),[i,o]),(0,r.useEffect)((()=>{i?e.shown||a(!0):a(!1)}),[e.shown,i]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(D.Provider,{value:n},t)}function B(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function z(){const e=(0,r.useContext)(D);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),i=(0,M.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:B(i)})),[a,i,t])}function $(e){let{header:t,primaryMenu:n,secondaryMenu:i}=e;const{shown:o}=z();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},i)))}var U=n(2949),W=n(2389);function j(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function Z(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const H={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function V(e){let{className:t,buttonClassName:n,value:i,onChange:o}=e;const l=(0,W.Z)(),s=(0,c.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===i?(0,c.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)(H.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",H.toggleButton,!l&&H.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===i?"light":"dark"),disabled:!l,title:s,"aria-label":s,"aria-live":"polite"},r.createElement(j,{className:(0,a.Z)(H.toggleIcon,H.lightToggleIcon)}),r.createElement(Z,{className:(0,a.Z)(H.toggleIcon,H.darkToggleIcon)})))}const G=r.memo(V),q="darkNavbarColorModeToggle_X3D1";function Y(e){let{className:t}=e;const n=(0,w.L)().navbar.style,a=(0,w.L)().colorMode.disableSwitch,{colorMode:i,setColorMode:o}=(0,U.I)();return a?null:r.createElement(G,{className:t,buttonClassName:"dark"===n?q:void 0,value:i,onChange:o})}var K=n(1327);function X(){return r.createElement(K.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,N.e)();return r.createElement("button",{type:"button","aria-label":(0,c.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(k,{color:"var(--ifm-color-emphasis-600)"}))}function J(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(X,null),r.createElement(Y,{className:"margin-right--md"}),r.createElement(Q,null))}var ee=n(9960),te=n(4996),ne=n(3919);function re(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var ae=n(9471);function ie(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:i,label:o,html:s,isDropdownLink:c,prependBaseUrlToHref:u,...d}=e;const p=(0,te.Z)(a),f=(0,te.Z)(t),g=(0,te.Z)(i,{forcePrependBaseUrl:!0}),m=o&&i&&!(0,ne.Z)(i),h=s?{dangerouslySetInnerHTML:{__html:s}}:{children:r.createElement(r.Fragment,null,o,m&&r.createElement(ae.Z,c&&{width:12,height:12}))};return i?r.createElement(ee.Z,(0,l.Z)({href:u?g:i},d,h)):r.createElement(ee.Z,(0,l.Z)({to:p,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?re(n,t.pathname):t.pathname.startsWith(f)},d,h))}function oe(e){let{className:t,isDropdownItem:n=!1,...i}=e;const o=r.createElement(ie,(0,l.Z)({className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},i));return n?r.createElement("li",null,o):o}function le(e){let{className:t,isDropdownItem:n,...i}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(ie,(0,l.Z)({className:(0,a.Z)("menu__link",t)},i)))}function se(e){let{mobile:t=!1,position:n,...a}=e;const i=t?le:oe;return r.createElement(i,(0,l.Z)({},a,{activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var ce=n(6043),ue=n(8596),de=n(2263);function pe(e,t){return e.some((e=>function(e,t){return!!(0,ue.Mg)(e.to,t)||!!re(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function fe(e){let{items:t,position:n,className:i,onClick:o,...s}=e;const c=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),r.createElement("div",{ref:c,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(ie,(0,l.Z)({"aria-haspopup":"true","aria-expanded":u,role:"button",href:s.to?void 0:"#",className:(0,a.Z)("navbar__link",i)},s,{onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))}}),s.children??s.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,t)=>r.createElement(Te,(0,l.Z)({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))))))}function ge(e){let{items:t,className:n,position:i,onClick:o,...c}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,de.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),d=pe(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:g}=(0,ce.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&g(!d)}),[u,d,g]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p})},r.createElement(ie,(0,l.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",n)},c,{onClick:e=>{e.preventDefault(),f()}}),c.children??c.label),r.createElement(ce.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p},t.map(((e,t)=>r.createElement(Te,(0,l.Z)({mobile:!0,isDropdownItem:!0,onClick:o,activeClassName:"menu__link--active"},e,{key:t}))))))}function me(e){let{mobile:t=!1,...n}=e;const a=t?ge:fe;return r.createElement(a,n)}var he=n(4711);function be(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const ve="iconLanguage_nlXk";var ye=n(1875);const we="searchBox_ZlJk";function Ee(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.Z)(n,we)},t)}var ke=n(143),Se=n(3438);var xe=n(373);const _e=e=>e.docs.find((t=>t.id===e.mainDocId));const Ce={default:se,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...i}=e;const{i18n:{currentLocale:o,locales:u,localeConfigs:d}}=(0,de.Z)(),p=(0,he.l)(),{search:f,hash:g}=(0,s.TH)(),m=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${g}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===o?t?"menu__link--active":"dropdown__link--active":""}})),...a],h=t?(0,c.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[o].label;return r.createElement(me,(0,l.Z)({},i,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(be,{className:ve}),h),items:m}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(Ee,{className:n},r.createElement(ye.Z,null))},dropdown:me,html:function(e){let{value:t,className:n,mobile:i=!1,isDropdownItem:o=!1}=e;const l=o?"li":"div";return r.createElement(l,{className:(0,a.Z)({navbar__item:!i&&!o,"menu__list-item":i},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...i}=e;const{activeDoc:o}=(0,ke.Iw)(a),s=(0,Se.vY)(t,a);return null===s?null:r.createElement(se,(0,l.Z)({exact:!0},i,{isActive:()=>(null==o?void 0:o.path)===s.path||!(null==o||!o.sidebar)&&o.sidebar===s.sidebar,label:n??s.id,to:s.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...i}=e;const{activeDoc:o}=(0,ke.Iw)(a),s=(0,Se.oz)(t,a).link;if(!s)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(se,(0,l.Z)({exact:!0},i,{isActive:()=>(null==o?void 0:o.sidebar)===t,label:n??s.label,to:s.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...i}=e;const o=(0,Se.lO)(a)[0],s=t??o.label,c=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return r.createElement(se,(0,l.Z)({},i,{label:s,to:c}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:i,dropdownItemsAfter:o,...u}=e;const{search:d,hash:p}=(0,s.TH)(),f=(0,ke.Iw)(n),g=(0,ke.gB)(n),{savePreferredVersionName:m}=(0,xe.J)(n),h=[...i,...g.map((e=>{const t=f.alternateDocVersions[e.name]??_e(e);return{label:e.label,to:`${t.path}${d}${p}`,isActive:()=>e===f.activeVersion,onClick:()=>m(e.name)}})),...o],b=(0,Se.lO)(n)[0],v=t&&h.length>1?(0,c.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):b.label,y=t&&h.length>1?void 0:_e(b).path;return h.length<=1?r.createElement(se,(0,l.Z)({},u,{mobile:t,label:v,to:y,isActive:a?()=>!1:void 0})):r.createElement(me,(0,l.Z)({},u,{mobile:t,label:v,to:y,items:h,isActive:a?()=>!1:void 0}))}};function Te(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),i=Ce[a];if(!i)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(i,n)}function Pe(){const e=(0,N.e)(),t=(0,w.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(Te,(0,l.Z)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function Ae(e){return r.createElement("button",(0,l.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(c.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Le(){const e=0===(0,w.L)().navbar.items.length,t=z();return r.createElement(r.Fragment,null,!e&&r.createElement(Ae,{onClick:()=>t.hide()}),t.content)}function Oe(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement($,{header:r.createElement(J,null),primaryMenu:r.createElement(Pe,null),secondaryMenu:r.createElement(Le,null)}):null}const Ne="navbarHideable_m1mJ",Ie="navbarHidden_jGov";function Re(e){return r.createElement("div",(0,l.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Me(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:i}}=(0,w.L)(),o=(0,N.e)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),i=(0,r.useRef)(0),o=(0,r.useCallback)((e=>{null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,I.RF)(((t,r)=>{let{scrollY:o}=t;if(!e)return;if(o<i.current)return void n(!0);if(a.current)return void(a.current=!1);const l=null==r?void 0:r.scrollY,s=document.documentElement.scrollHeight-i.current,c=window.innerHeight;l&&o>=l?n(!1):o+c<s&&n(!0)})),(0,u.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:o,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,"aria-label":(0,c.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Ne,!s&&Ie],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":o.shown})},t,r.createElement(Re,{onClick:o.toggle}),r.createElement(Oe,null))}var De=n(8780);const Fe="errorBoundaryError_a6uf";function Be(e){return r.createElement("button",(0,l.Z)({type:"button"},e),r.createElement(c.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error"},"Try again"))}function ze(e){let{error:t}=e;const n=(0,De.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{className:Fe},n)}class $e extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}function Ue(e){let{width:t=30,height:n=30,className:a,...i}=e;return r.createElement("svg",(0,l.Z)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},i),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function We(){const{toggle:e,shown:t}=(0,N.e)();return r.createElement("button",{onClick:e,"aria-label":(0,c.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(Ue,null))}const je="colorModeToggle_DEke";function Ze(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement($e,{key:t,onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t})},r.createElement(Te,e)))))}function He(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function Ve(){const e=(0,N.e)(),t=(0,w.L)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??"right")}return[e.filter(t),e.filter((e=>!t(e)))]}(t),i=t.find((e=>"search"===e.type));return r.createElement(He,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(We,null),r.createElement(X,null),r.createElement(Ze,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Ze,{items:a}),r.createElement(Y,{className:je}),!i&&r.createElement(Ee,null,r.createElement(ye.Z,null)))})}function Ge(){return r.createElement(Me,null,r.createElement(Ve,null))}function qe(e){let{item:t}=e;const{to:n,href:a,label:i,prependBaseUrlToHref:o,...s}=t,c=(0,te.Z)(n),u=(0,te.Z)(a,{forcePrependBaseUrl:!0});return r.createElement(ee.Z,(0,l.Z)({className:"footer__link-item"},a?{href:o?u:a}:{to:c},s),i,a&&!(0,ne.Z)(a)&&r.createElement(ae.Z,null))}function Ye(e){let{item:t}=e;return t.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement("li",{key:t.href??t.to,className:"footer__item"},r.createElement(qe,{item:t}))}function Ke(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(Ye,{key:t,item:e})))))}function Xe(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(Ke,{key:t,column:e}))))}function Qe(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function Je(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(qe,{item:t})}function et(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(Je,{item:e}),t.length!==n+1&&r.createElement(Qe,null))))))}function tt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?r.createElement(Xe,{columns:t}):r.createElement(et,{links:t})}var nt=n(941);const rt="footerLogoLink_BH7S";function at(e){let{logo:t}=e;const{withBaseUrl:n}=(0,te.C)(),i={light:n(t.src),dark:n(t.srcDark??t.src)};return r.createElement(nt.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:i,width:t.width,height:t.height,style:t.style})}function it(e){let{logo:t}=e;return t.href?r.createElement(ee.Z,{href:t.href,className:rt,target:t.target},r.createElement(at,{logo:t})):r.createElement(at,{logo:t})}function ot(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function lt(e){let{style:t,links:n,logo:i,copyright:o}=e;return r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(i||o)&&r.createElement("div",{className:"footer__bottom text--center"},i&&r.createElement("div",{className:"margin-bottom--sm"},i),o)))}function st(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:a,style:i}=e;return r.createElement(lt,{style:i,links:n&&n.length>0&&r.createElement(tt,{links:n}),logo:a&&r.createElement(it,{logo:a}),copyright:t&&r.createElement(ot,{copyright:t})})}const ct=r.memo(st),ut=(0,R.Qc)([U.S,E.pl,I.OC,xe.L5,o.VC,function(e){let{children:t}=e;return r.createElement(M.n2,null,r.createElement(N.M,null,r.createElement(F,null,t)))}]);function dt(e){let{children:t}=e;return r.createElement(ut,null,t)}function pt(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(c.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("div",{className:"margin-vert--lg"},r.createElement(Be,{onClick:n,className:"button button--primary shadow--lw"})),r.createElement("hr",null),r.createElement("div",{className:"margin-vert--md"},r.createElement(ze,{error:t})))))}const ft="mainWrapper_z2l0";function gt(e){const{children:t,noFooter:n,wrapperClassName:l,title:s,description:c}=e;return(0,b.t)(),r.createElement(dt,null,r.createElement(o.d,{title:s,description:c}),r.createElement(y,null),r.createElement(O,null),r.createElement(Ge,null),r.createElement("div",{id:d,className:(0,a.Z)(h.k.wrapper.main,ft,l)},r.createElement(i.Z,{fallback:e=>r.createElement(pt,e)},t)),!n&&r.createElement(ct,null))}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7462),a=n(7294),i=n(9960),o=n(4996),l=n(2263),s=n(6668),c=n(941);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const i={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},l=a.createElement(c.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){const{siteConfig:{title:t}}=(0,l.Z)(),{navbar:{title:n,logo:c}}=(0,s.L)(),{imageClassName:d,titleClassName:p,...f}=e,g=(0,o.Z)((null==c?void 0:c.href)||"/"),m=n?"":t,h=(null==c?void 0:c.alt)??m;return a.createElement(i.Z,(0,r.Z)({to:g},f,(null==c?void 0:c.target)&&{target:c.target}),c&&a.createElement(u,{logo:c,alt:h,imageClassName:d}),null!=n&&a.createElement("b",{className:p},n))}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),a=n(5742);function i(e){let{locale:t,version:n,tag:i}=e;const o=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),i&&r.createElement("meta",{name:"docusaurus_tag",content:i}),o&&r.createElement("meta",{name:"docsearch:language",content:o}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),i&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:i}))}},941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7462),a=n(7294),i=n(6010),o=n(2389),l=n(2949);const s={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function c(e){const t=(0,o.Z)(),{colorMode:n}=(0,l.I)(),{sources:c,className:u,alt:d,...p}=e,f=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,f.map((e=>a.createElement("img",(0,r.Z)({key:e,src:c[e],alt:d,className:(0,i.Z)(s.themedImage,s[`themedImage--${e}`],u)},p)))))}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>o,z:()=>m});var r=n(7462),a=n(7294),i=n(412);function o(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(t??!1),i=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:i}}const l={display:"none",overflow:"hidden",height:"0px"},s={display:"block",overflow:"visible",height:"auto"};function c(e,t){const n=t?l:s;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function u(e){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function d(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const i=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){const t=function(){const t=e.scrollHeight;return{transition:`height ${(null==r?void 0:r.duration)??u(t)}ms ${(null==r?void 0:r.easing)??"ease-in-out"}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!i.current)return c(e,n),void(i.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(a(),requestAnimationFrame((()=>{e.style.height=l.height,e.style.overflow=l.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{a()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function p(e){if(!i.Z.canUseDOM)return e?l:s}function f(e){let{as:t="div",collapsed:n,children:r,animation:i,onCollapseTransitionEnd:o,className:l,disableSSRStyle:s}=e;const u=(0,a.useRef)(null);return d({collapsibleRef:u,collapsed:n,animation:i}),a.createElement(t,{ref:u,style:s?void 0:p(n),onTransitionEnd:e=>{"height"===e.propertyName&&(c(u.current,n),null==o||o(n))},className:l},r)}function g(e){let{collapsed:t,...n}=e;const[i,o]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||o(!0)}),[t]),(0,a.useLayoutEffect)((()=>{i&&s(t)}),[i,t]),i?a.createElement(f,(0,r.Z)({},n,{collapsed:l})):null}function m(e){let{lazy:t,...n}=e;const r=t?g:f;return a.createElement(r,n)}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>g,pl:()=>f});var r=n(7294),a=n(2389),i=n(12),o=n(902),l=n(6668);const s=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),u=()=>"true"===s.get(),d=e=>s.set(String(e)),p=r.createContext(null);function f(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,i]=(0,r.useState)((()=>!!t&&u()));(0,r.useEffect)((()=>{i(u())}),[]);const o=(0,r.useCallback)((()=>{d(!0),i(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&d(!1),!r&&u()||i(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:o})),[e,n,o])}();return r.createElement(p.Provider,{value:n},t)}function g(){const e=(0,r.useContext)(p);if(!e)throw new o.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>h,S:()=>m});var r=n(7294),a=n(412),i=n(902),o=n(12),l=n(6668);const s=r.createContext(void 0),c="theme",u=(0,o.WA)(c),d="light",p="dark",f=e=>e===p?p:d;function g(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[i,o]=(0,r.useState)((e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e))(e));(0,r.useEffect)((()=>{t&&u.del()}),[t]);const s=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&(e=>{u.set(f(e))})(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p:d:e),u.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(i))}),[i]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=u.get();null!==t&&s(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,s]);const g=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||g.current?g.current=window.matchMedia("print").matches:s(null)};return e.addListener(r),()=>e.removeListener(r)}),[s,t,n]),(0,r.useMemo)((()=>({colorMode:i,setColorMode:s,get isDarkTheme(){return i===p},setLightTheme(){s(d)},setDarkTheme(){s(p)}})),[i,s])}function m(e){let{children:t}=e;const n=g();return r.createElement(s.Provider,{value:n},t)}function h(){const e=(0,r.useContext)(s);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>y,L5:()=>b});var r=n(7294),a=n(143),i=n(9935),o=n(6668),l=n(3438),s=n(902),c=n(12);const u=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,c.WA)(u(e),{persistence:t}).set(n)},p=(e,t)=>(0,c.WA)(u(e),{persistence:t}).get(),f=(e,t)=>{(0,c.WA)(u(e),{persistence:t}).del()};const g=r.createContext(null);function m(){const e=(0,a._r)(),t=(0,o.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[i,l]=(0,r.useState)((()=>(e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}]))))(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[i,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return r.createElement(g.Provider,{value:n},t)}function b(e){let{children:t}=e;return l.cE?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function v(){const e=(0,r.useContext)(g);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=i.m);const t=(0,a.zh)(e),[n,o]=v(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{o.savePreferredVersion(e,t)}),[o,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,b:()=>l});var r=n(7294),a=n(902);const i=Symbol("EmptyContext"),o=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(o.Provider,{value:i},t)}function s(){const e=(0,r.useContext)(o);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>l,q:()=>o});var r=n(7294),a=n(902);const i=r.createContext(null);function o(e){let{children:t,version:n}=e;return r.createElement(i.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,e:()=>p});var r=n(7294),a=n(3102),i=n(7524),o=n(1980),l=n(6668),s=n(902);const c=r.createContext(void 0);function u(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[s,c]=(0,r.useState)(!1);(0,o.Rb)((()=>{if(s)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:s})),[e,n,u,s])}function d(e){let{children:t}=e;const n=u();return r.createElement(c.Provider,{value:n},t)}function p(){const e=r.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>s,n2:()=>o});var r=n(7294),a=n(902);const i=r.createContext(null);function o(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(i.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>i});var r=n(7294);const a="navigation-with-keyboard";function i(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(7294),a=n(412);const i="desktop",o="mobile",l="ssr";function s(){return a.Z.canUseDOM?window.innerWidth>996?i:o:l}function c(){const[e,t]=(0,r.useState)((()=>s()));return(0,r.useEffect)((()=>{function e(){t(s())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),e}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3438:(e,t,n)=>{"use strict";n.d(t,{MN:()=>x,Wl:()=>g,_F:()=>b,cE:()=>p,hI:()=>S,jA:()=>m,lO:()=>w,oz:()=>E,s1:()=>y,vY:()=>k,xz:()=>f});var r=n(7294),a=n(6550),i=n(8790),o=n(143),l=n(373),s=n(4477),c=n(1116),u=n(7392),d=n(8596);const p=!!o._r;function f(e){const t=(0,s.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function g(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=g(t);if(e)return e}}}function m(){const{pathname:e}=(0,a.TH)(),t=(0,c.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const h=(e,t)=>void 0!==e&&(0,d.Mg)(e,t);function b(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||((e,t)=>e.some((e=>b(e,t))))(e.items,t))}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const i of t)if("category"===i.type&&((0,d.Mg)(i.href,n)||e(i.items))||"link"===i.type&&(0,d.Mg)(i.href,n)){return r&&"category"!==i.type||a.unshift(i),!0}return!1}(t),a}function y(){var e;const t=(0,c.V)(),{pathname:n}=(0,a.TH)();return!1!==(null==(e=(0,o.gA)())?void 0:e.pluginData.breadcrumbs)&&t?v({sidebarItems:t.items,pathname:n}):null}function w(e){const{activeVersion:t}=(0,o.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,o.yW)(e);return(0,r.useMemo)((()=>(0,u.j)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function k(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function S(e){let{route:t,versionMetadata:n}=e;const r=(0,a.TH)(),o=t.routes,l=o.find((e=>(0,a.LX)(r.pathname,e)));if(!l)return null;const s=l.sidebar,c=s?n.docsSidebars[s]:void 0;return{docElement:(0,i.H)(o),sidebarName:s,sidebarItems:c}}function x(e){return e.filter((e=>"category"!==e.type||!!g(e)))}},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>l,_X:()=>s});var r=n(7294),a=n(6550),i=n(1688),o=n(902);function l(e){!function(e){const t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){return function(e){const t=(0,a.k6)();return(0,i.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>p,d:()=>u,VC:()=>f});var r=n(7294),a=n(6010),i=n(5742),o=n(226);function l(){const e=r.useContext(o._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),c=n(2263);function u(e){let{title:t,description:n,keywords:a,image:o,children:l}=e;const u=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=o?d(o,{absolute:!0}):void 0;return r.createElement(i.Z,null,t&&r.createElement("title",null,u),t&&r.createElement("meta",{property:"og:title",content:u}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),p&&r.createElement("meta",{property:"og:image",content:p}),p&&r.createElement("meta",{name:"twitter:image",content:p}),l)}const d=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const o=r.useContext(d),l=(0,a.Z)(o,t);return r.createElement(d.Provider,{value:l},r.createElement(i.Z,null,r.createElement("html",{className:l})),n)}function f(e){let{children:t}=e;const n=l(),i=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return r.createElement(p,{className:(0,a.Z)(i,o)},t)}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>o,Qc:()=>c,Ql:()=>s,i6:()=>l,zX:()=>i});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect;function i(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function o(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r,a;super(),this.name="ReactContextError",this.message=`Hook ${(null==(n=this.stack)||null==(r=n.split("\n")[1])||null==(a=r.match(/at (?:\w+\.)?(?<name>\w+)/))?void 0:a.groups.name)??""} is called outside the <${e}>. ${t??""}`}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>o,Ns:()=>l});var r=n(7294),a=n(723),i=n(2263);function o(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:`${e}/`)?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){const{baseUrl:e}=(0,i.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>s,RF:()=>d,o5:()=>p});var r=n(7294),a=n(412),i=n(2389),o=n(902);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function c(){const e=(0,r.useContext)(l);if(null==e)throw new o.i6("ScrollControllerProvider");return e}const u=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),a=(0,r.useRef)(u()),i=(0,o.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=u();i(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[i,n,...t])}function p(){const e=c(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,r.useLayoutEffect)((()=>{queueMicrotask((()=>null==n.current?void 0:n.current()))})),{blockElementScrollPositionUntilNextRender:a}}function f(){const e=(0,r.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>d,WA:()=>u});var r=n(7294),a=n(1688);const i="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const i=document.createEvent("StorageEvent");i.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(i)}function l(e){if(void 0===e&&(e=i),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=l(null==t?void 0:t.persistence);return null===n?c:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?c:u(e,t))).current(),i=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,a.useSyncExternalStore)(i,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550);function i(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:i}}=(0,r.Z)(),{pathname:o}=(0,a.TH)(),l=i===n?e:e.replace(`/${i}/`,"/"),s=o.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:a}=e;return`${a?t:""}${function(e){return e===n?`${l}`:`${l}${e}/`}(r)}${s}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(7294),a=n(6550),i=n(902);function o(e){const t=(0,a.TH)(),n=(0,i.D9)(t),o=(0,i.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&o({location:t,previousLocation:n})}),[o,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),i="/"===a||a===r?a:(o=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(o):function(e){return e.endsWith("/")?e.slice(0,-1):e}(o));var o;return e.replace(a,i)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var i=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},6010:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>f,PP:()=>P,Ep:()=>p});var r=n(7462);function a(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const o=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),c=l||s;if(e&&a(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=o.length;p>=0;p--){var f=o[p];"."===f?i(o,p):".."===f?(i(o,p),d++):d&&(i(o,p),d--)}if(!c)for(;d--;d)o.unshift("..");!c||""===o[0]||o[0]&&a(o[0])||o.unshift("");var g=o.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(i.key=n),a?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=o(i.pathname,a.pathname)):i.pathname=a.pathname:i.pathname||(i.pathname="/"),i}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,a):a(!0):a(!1!==i)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,t){t(window.confirm(e))}var b="popstate",v="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),m||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,c=o.forceRefresh,w=void 0!==c&&c,E=o.getUserConfirmation,k=void 0===E?h:E,S=o.keyLength,x=void 0===S?6:S,_=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,i=a.pathname+a.search+a.hash;return _&&(i=u(i,_)),f(i,r,n)}function T(){return Math.random().toString(36).substr(2,x)}var P=g();function A(e){(0,r.Z)(U,e),U.length=n.length,P.notifyListeners(U.location,U.action)}function L(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(C(e.state))}function O(){I(C(y()))}var N=!1;function I(e){if(N)N=!1,A();else{P.confirmTransitionTo(e,"POP",k,(function(t){t?A({action:"POP",location:e}):function(e){var t=U.location,n=M.indexOf(t.key);-1===n&&(n=0);var r=M.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(N=!0,F(a))}(e)}))}}var R=C(y()),M=[R.key];function D(e){return _+p(e)}function F(e){n.go(e)}var B=0;function z(e){1===(B+=e)&&1===e?(window.addEventListener(b,L),i&&window.addEventListener(v,O)):0===B&&(window.removeEventListener(b,L),i&&window.removeEventListener(v,O))}var $=!1;var U={length:n.length,action:"POP",location:R,createHref:D,push:function(e,t){var r="PUSH",i=f(e,t,T(),U.location);P.confirmTransitionTo(i,r,k,(function(e){if(e){var t=D(i),o=i.key,l=i.state;if(a)if(n.pushState({key:o,state:l},null,t),w)window.location.href=t;else{var s=M.indexOf(U.location.key),c=M.slice(0,s+1);c.push(i.key),M=c,A({action:r,location:i})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",i=f(e,t,T(),U.location);P.confirmTransitionTo(i,r,k,(function(e){if(e){var t=D(i),o=i.key,l=i.state;if(a)if(n.replaceState({key:o,state:l},null,t),w)window.location.replace(t);else{var s=M.indexOf(U.location.key);-1!==s&&(M[s]=i.key),A({action:r,location:i})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return $||(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=P.appendListener(e);return z(1),function(){z(-1),t()}}};return U}var E="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function _(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),m||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,i=void 0===a?h:a,o=n.hashType,c=void 0===o?"slash":o,b=e.basename?d(s(e.basename)):"",v=k[c],y=v.encodePath,w=v.decodePath;function C(){var e=w(x());return b&&(e=u(e,b)),f(e)}var T=g();function P(e){(0,r.Z)($,e),$.length=t.length,T.notifyListeners($.location,$.action)}var A=!1,L=null;function O(){var e,t,n=x(),r=y(n);if(n!==r)_(r);else{var a=C(),o=$.location;if(!A&&(t=a,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(L===p(a))return;L=null,function(e){if(A)A=!1,P();else{var t="POP";T.confirmTransitionTo(e,t,i,(function(n){n?P({action:t,location:e}):function(e){var t=$.location,n=M.lastIndexOf(p(t));-1===n&&(n=0);var r=M.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(A=!0,D(a))}(e)}))}}(a)}}var N=x(),I=y(N);N!==I&&_(I);var R=C(),M=[p(R)];function D(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(E,O):0===F&&window.removeEventListener(E,O)}var z=!1;var $={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+y(b+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,$.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=p(r),a=y(b+t);if(x()!==a){L=t,function(e){window.location.hash=e}(a);var i=M.lastIndexOf(p($.location)),o=M.slice(0,i+1);o.push(t),M=o,P({action:n,location:r})}else P()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,$.location);T.confirmTransitionTo(r,n,i,(function(e){if(e){var t=p(r),a=y(b+t);x()!==a&&(L=t,_(a));var i=M.indexOf(p($.location));-1!==i&&(M[i]=t),P({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return z||(B(1),z=!0),function(){return z&&(z=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return $}function T(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,i=void 0===a?["/"]:a,o=t.initialIndex,l=void 0===o?0:o,s=t.keyLength,c=void 0===s?6:s,u=g();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,c)}var h=T(l,0,i.length-1),b=i.map((function(e){return f(e,void 0,"string"==typeof e?m():e.key||m())})),v=p;function y(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[h],index:h,entries:b,createHref:v,push:function(e,t){var r="PUSH",a=f(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?o:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=f(n);a&&a!==g&&e(t,a,r)}var o=u(n);d&&(o=o.concat(d(n)));for(var l=s(t),m=s(n),h=0;h<o.length;++h){var b=o[h];if(!(i[b]||r&&r[b]||m&&m[b]||l&&l[b])){var v=p(n,b);try{c(t,b,v)}catch(y){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,i,o,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,o,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function o(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var i=n.render(!t),c=i.querySelector(r.barSelector),u=r.speed,d=r.easing;return i.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,o(e,u,d)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){s(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,o=t.querySelector(r.barSelector),l=e?"-100":i(n.status||0),c=document.querySelector(r.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+i)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,i){for(var o,l,s=a(e),c=1;c<arguments.length;c++){for(var u in o=Object(arguments[c]))n.call(o,u)&&(s[u]=o[u]);if(t){l=t(o);for(var d=0;d<l.length;d++)r.call(o,l[d])&&(s[l[d]]=o[l[d]])}}return s}},7410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var o in a={},n[i]=a,t)t.hasOwnProperty(o)&&(a[o]=e(t[o],n));return a;case"Array":return i=r.util.objId(t),n[i]?n[i]:(a=[],n[i]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var i=(a=a||r.languages)[e],o={};for(var l in i)if(i.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(l)||(o[l]=i[l])}var c=a[e];return a[e]=o,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,a,i){i=i||{};var o=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],c=r.util.type(s);"Object"!==c||i[o(s)]?"Array"!==c||i[o(s)]||(i[o(s)]=!0,e(s,n,l,i)):(i[o(s)]=!0,e(s,n,null,i))}}},plugins:{},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",i),i.tokens=r.tokenize(i.code,i.grammar),r.hooks.run("after-tokenize",i),a.stringify(r.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),o(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function o(e,t,n,l,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var g=0;g<f.length;++g){if(d&&d.cause==p+","+g)return;var m=f[g],h=m.inside,b=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var E=m.pattern||m,k=l.next,S=u;k!==t.tail&&!(d&&S>=d.reach);S+=k.value.length,k=k.next){var x=k.value;if(t.length>e.length)return;if(!(x instanceof a)){var _,C=1;if(v){if(!(_=i(E,S,e,b))||_.index>=e.length)break;var T=_.index,P=_.index+_[0].length,A=S;for(A+=k.value.length;T>=A;)A+=(k=k.next).value.length;if(S=A-=k.value.length,k.value instanceof a)continue;for(var L=k;L!==t.tail&&(A<P||"string"==typeof L.value);L=L.next)C++,A+=L.value.length;C--,x=e.slice(S,A),_.index-=S}else if(!(_=i(E,0,x,b)))continue;T=_.index;var O=_[0],N=x.slice(0,T),I=x.slice(T+O.length),R=S+x.length;d&&R>d.reach&&(d.reach=R);var M=k.prev;if(N&&(M=s(t,M,N),S+=N.length),c(t,M,C),k=s(t,M,new a(p,h?r.tokenize(O,h):O,y,O)),I&&s(t,k,I),C>1){var D={cause:p+","+g,reach:R};o(e,t,n,k.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var l="";for(var s in i.attributes)l+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+l+">"+i.content+"</"+i.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o<a.length;o++)i[a[o]]=e.languages.bash[a[o]];e.languages.shell=e.languages.bash}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var i=a.content[1],o=a.content[3];if(i&&o&&"code-language"===i.type&&"code-block"===o.type&&"string"==typeof i.content){var l=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());o.alias?"string"==typeof o.alias?o.alias=[o.alias,s]:o.alias.push(s):o.alias=[s]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var i=t.classes[r],c=/language-(.+)/.exec(i);if(c){n=c[1];break}}var u,d=e.languages[n];if(d)t.content=e.highlight((u=t.content,u.replace(o,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n);var r=l[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var p="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=p,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(p);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var o=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var i=p(/^\($/,/^\)$/);if(-1===i)continue;for(;n<i;n++){var o=u(0);"variable"===o.type&&(f(o,"variable-input"),a.push(o.content))}n=i+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),a.length>0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s<l;s++){var c=t[s];"variable"===c.type&&a.indexOf(c.content)>=0&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return!1}return!0}function p(e,r){for(var a=1,i=n;i<t.length;i++){var o=t[i],l=o.content;if("punctuation"===o.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0===--a)return i}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],i=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}function u(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),o=0,u={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(o++,r)););return u[n]=a,n})).join(""),n,r),p=Object.keys(u);return o=0,function e(t){for(var n=0;n<t.length;n++){if(o>=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[o],i="string"==typeof r?r:r.content,l=i.indexOf(a);if(-1!==l){++o;var s=i.substring(0,l),d=c(u[a]),f=i.substring(l+a.length),g=[];if(s&&g.push(s),g.push(d),f){var m=[f];e(m),g.push.apply(g,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(g)),n+=g.length-1):r.content=g}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var i=n[r];if("string"!=typeof i){var o=i.content;if(Array.isArray(o))if("template-string"===i.type){var l=o[1];if(3===o.length&&"string"!=typeof l&&"embedded-code"===l.type){var s=p(l),c=l.alias,d=Array.isArray(c)?c[0]:c,f=e.languages[d];if(!f)continue;o[1]=u(s,f,d)}}else t(o);else"string"!=typeof o&&t([o])}}}(t.tokens)}))}(a),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],i=e.languages.javascript[a];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[a]={pattern:i});var o=i.inside||{};i.inside=o,o["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],i=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=o(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=o(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=o(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof i&&!i(e))return e;for(var a,l=o.length;-1!==n.code.indexOf(a=t(r,l));)++l;return o[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(l){for(var s=0;s<l.length&&!(a>=i.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),g=p.indexOf(f);if(g>-1){++a;var m=p.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(g+f.length),v=[];m&&v.push.apply(v,o([m])),v.push(h),b&&v.push.apply(v,o([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(v)):c.content=v}}else c.content&&o(c.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const i=a},2503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},9640:(e,t,n)=>{var r={"./prism-java":2503};function a(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=i,e.exports=a,a.id=9640},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(7418),i=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));var l=new Set,s={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)l.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,g={},m={};function h(e,t,n,r,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=b.hasOwnProperty(t)?b[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(m,e)||!f.call(g,e)&&(p.test(e)?m[e]=!0:(g[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);b[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=60103,S=60106,x=60107,_=60108,C=60114,T=60109,P=60110,A=60112,L=60113,O=60120,N=60115,I=60116,R=60121,M=60128,D=60129,F=60130,B=60131;if("function"==typeof Symbol&&Symbol.for){var z=Symbol.for;k=z("react.element"),S=z("react.portal"),x=z("react.fragment"),_=z("react.strict_mode"),C=z("react.profiler"),T=z("react.provider"),P=z("react.context"),A=z("react.forward_ref"),L=z("react.suspense"),O=z("react.suspense_list"),N=z("react.memo"),I=z("react.lazy"),R=z("react.block"),z("react.scope"),M=z("react.opaque.id"),D=z("react.debug_trace_mode"),F=z("react.offscreen"),B=z("react.legacy_hidden")}var $,U="function"==typeof Symbol&&Symbol.iterator;function W(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}function j(e){if(void 0===$)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||""}return"\n"+$+e}var Z=!1;function H(e,t){if(!e||Z)return"";Z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"==typeof s.stack){for(var a=s.stack.split("\n"),i=r.stack.split("\n"),o=a.length-1,l=i.length-1;1<=o&&0<=l&&a[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(a[o]!==i[l]){if(1!==o||1!==l)do{if(o--,0>--l||a[o]!==i[l])return"\n"+a[o].replace(" at new "," at ")}while(1<=o&&0<=l);break}}}finally{Z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function V(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case C:return"Profiler";case _:return"StrictMode";case L:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case N:return G(e.type);case R:return G(e._render);case I:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ce(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",pe="http://www.w3.org/2000/svg";function fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ge(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,he,be=(he=function(e,t){if(e.namespaceURI!==pe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return he(e,t)}))}:he);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=Ee(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Se=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Pe=null,Ae=null;function Le(e){if(e=ra(e)){if("function"!=typeof Te)throw Error(o(280));var t=e.stateNode;t&&(t=ia(t),Te(e.stateNode,e.type,t))}}function Oe(e){Pe?Ae?Ae.push(e):Ae=[e]:Pe=e}function Ne(){if(Pe){var e=Pe,t=Ae;if(Ae=Pe=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function Ie(e,t){return e(t)}function Re(e,t,n,r,a){return e(t,n,r,a)}function Me(){}var De=Ie,Fe=!1,Be=!1;function ze(){null===Pe&&null===Ae||(Me(),Ne())}function $e(e,t){var n=e.stateNode;if(null===n)return null;var r=ia(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Ue=!1;if(d)try{var We={};Object.defineProperty(We,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(he){Ue=!1}function je(e,t,n,r,a,i,o,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ze=!1,He=null,Ve=!1,Ge=null,qe={onError:function(e){Ze=!0,He=e}};function Ye(e,t,n,r,a,i,o,l,s){Ze=!1,He=null,je.apply(qe,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Qe(e){if(Ke(e)!==e)throw Error(o(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Qe(a),e;if(i===r)return Qe(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,it=!1,ot=[],lt=null,st=null,ct=null,ut=new Map,dt=new Map,pt=[],ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function ht(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e=gt(t,n,r,a,i),null!==t&&(null!==(t=ra(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function bt(e){var t=na(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ra(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function wt(){for(it=!1;0<ot.length;){var e=ot[0];if(null!==e.blockedOn){null!==(e=ra(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&ot.shift()}null!==lt&&vt(lt)&&(lt=null),null!==st&&vt(st)&&(st=null),null!==ct&&vt(ct)&&(ct=null),ut.forEach(yt),dt.forEach(yt)}function Et(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,wt)))}function kt(e){function t(t){return Et(t,e)}if(0<ot.length){Et(ot[0],e);for(var n=1;n<ot.length;n++){var r=ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&Et(lt,e),null!==st&&Et(st,e),null!==ct&&Et(ct,e),ut.forEach(t),dt.forEach(t),n=0;n<pt.length;n++)(r=pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<pt.length&&null===(n=pt[0]).blockedOn;)bt(n),null===n.blockedOn&&pt.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},_t={},Ct={};function Tt(e){if(_t[e])return _t[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}d&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Pt=Tt("animationend"),At=Tt("animationiteration"),Lt=Tt("animationstart"),Ot=Tt("transitionend"),Nt=new Map,It=new Map,Rt=["abort","abort",Pt,"animationEnd",At,"animationIteration",Lt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ot,"transitionEnd","waiting","waiting"];function Mt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),It.set(r,t),Nt.set(r,a),c(a,[r])}}(0,i.unstable_now)();var Dt=8;function Ft(e){if(0!=(1&e))return Dt=15,1;if(0!=(2&e))return Dt=14,2;if(0!=(4&e))return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):0!=(32&e)?(Dt=11,32):0!==(t=192&e)?(Dt=10,t):0!=(256&e)?(Dt=9,256):0!==(t=3584&e)?(Dt=8,t):0!=(4096&e)?(Dt=7,4096):0!==(t=4186112&e)?(Dt=6,t):0!==(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):0!=(134217728&e)?(Dt=3,134217728):0!==(t=805306368&e)?(Dt=2,t):0!=(1073741824&e)?(Dt=1,1073741824):(Dt=8,e)}function Bt(e,t){var n=e.pendingLanes;if(0===n)return Dt=0;var r=0,a=0,i=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,a=Dt=15;else if(0!==(i=134217727&n)){var s=i&~o;0!==s?(r=Ft(s),a=Dt):0!==(l&=i)&&(r=Ft(l),a=Dt)}else 0!==(i=n&~o)?(r=Ft(i),a=Dt):0!==l&&(r=Ft(l),a=Dt);if(0===r)return 0;if(r=n&((0>(r=31-Zt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&o)){if(Ft(t),a<=Dt)return t;Dt=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Zt(t)),r|=e[n],t&=~a;return r}function zt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function $t(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?$t(10,t):e;case 10:return 0===(e=Ut(192&~t))?$t(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Ut(e){return e&-e}function Wt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function jt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Zt(t)]=n}var Zt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Vt|0)|0},Ht=Math.log,Vt=Math.LN2;var Gt=i.unstable_UserBlockingPriority,qt=i.unstable_runWithPriority,Yt=!0;function Kt(e,t,n,r){Fe||Me();var a=Qt,i=Fe;Fe=!0;try{Re(a,e,t,n,r)}finally{(Fe=i)||ze()}}function Xt(e,t,n,r){qt(Gt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var a;if(Yt)if((a=0==(4&t))&&0<ot.length&&-1<ft.indexOf(e))e=gt(null,e,t,n,r),ot.push(e);else{var i=Jt(e,t,n,r);if(null===i)a&&mt(e,r);else{if(a){if(-1<ft.indexOf(e))return e=gt(i,e,t,n,r),void ot.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return lt=ht(lt,e,t,n,r,a),!0;case"dragenter":return st=ht(st,e,t,n,r,a),!0;case"mouseover":return ct=ht(ct,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return ut.set(i,ht(ut.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,dt.set(i,ht(dt.get(i)||null,e,t,n,r,a)),!0}return!1}(i,e,t,n,r))return;mt(e,r)}Mr(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=Ce(r);if(null!==(a=na(a))){var i=Ke(a);if(null===i)a=null;else{var o=i.tag;if(13===o){if(null!==(a=Xe(i)))return a;a=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Mr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function ln(){return!1}function sn(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:ln,this.isPropagationStopped=ln,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var cn,un,dn,pn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=sn(pn),gn=a({},pn,{view:0,detail:0}),mn=sn(gn),hn=a({},gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,un=e.screenY-dn.screenY):un=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),bn=sn(hn),vn=sn(a({},hn,{dataTransfer:0})),yn=sn(a({},gn,{relatedTarget:0})),wn=sn(a({},pn,{animationName:0,elapsedTime:0,pseudoElement:0})),En=a({},pn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kn=sn(En),Sn=sn(a({},pn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function Pn(){return Tn}var An=a({},gn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ln=sn(An),On=sn(a({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=sn(a({},gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),In=sn(a({},pn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=a({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=sn(Rn),Dn=[9,13,27,32],Fn=d&&"CompositionEvent"in window,Bn=null;d&&"documentMode"in document&&(Bn=document.documentMode);var zn=d&&"TextEvent"in window&&!Bn,$n=d&&(!Fn||Bn&&8<Bn&&11>=Bn),Un=String.fromCharCode(32),Wn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function qn(e,t,n,r){Oe(r),0<(t=Fr(t,"onChange")).length&&(n=new fn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Kn=null;function Xn(e){Ar(e,0)}function Qn(e){if(X(aa(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(d){var tr;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ar(){Yn&&(Yn.detachEvent("onpropertychange",ir),Kn=Yn=null)}function ir(e){if("value"===e.propertyName&&Qn(Kn)){var t=[];if(qn(t,Kn,e,Ce(e)),e=Xn,Fe)e(t);else{Fe=!0;try{Ie(e,t)}finally{Fe=!1,ze()}}}}function or(e,t,n){"focusin"===e?(ar(),Kn=n,(Yn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&ar()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Kn)}function sr(e,t){if("click"===e)return Qn(t)}function cr(e,t){if("input"===e||"change"===e)return Qn(t)}var ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},dr=Object.prototype.hasOwnProperty;function pr(e,t){if(ur(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function fr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gr(e,t){var n,r=fr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=d&&"documentMode"in document&&11>=document.documentMode,yr=null,wr=null,Er=null,kr=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;kr||null==yr||yr!==Q(r)||("selectionStart"in(r=yr)&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Er&&pr(Er,r)||(Er=r,0<(r=Fr(wr,"onSelect")).length&&(t=new fn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(Rt,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_r=0;_r<xr.length;_r++)It.set(xr[_r],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Pr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,c){if(Ye.apply(this,arguments),Ze){if(!Ze)throw Error(o(198));var u=He;Ze=!1,He=null,Ve||(Ve=!0,Ge=u)}}(r,t,void 0,e),e.currentTarget=null}function Ar(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&a.isPropagationStopped())break e;Pr(a,l,c),i=s}else for(o=0;o<r.length;o++){if(s=(l=r[o]).instance,c=l.currentTarget,l=l.listener,s!==i&&a.isPropagationStopped())break e;Pr(a,l,c),i=s}}}if(Ve)throw e=Ge,Ve=!1,Ge=null,e}function Lr(e,t){var n=oa(t),r=e+"__bubble";n.has(r)||(Rr(t,e,2,!1),n.add(r))}var Or="_reactListening"+Math.random().toString(36).slice(2);function Nr(e){e[Or]||(e[Or]=!0,l.forEach((function(t){Tr.has(t)||Ir(t,!1,e,null),Ir(t,!0,e,null)})))}function Ir(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Tr.has(e)){if("scroll"!==e)return;a|=2,i=r}var o=oa(i),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(a|=4),Rr(i,e,a,t),o.add(l))}function Rr(e,t,n,r){var a=It.get(t);switch(void 0===a?2:a){case 0:a=Kt;break;case 1:a=Xt;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,a){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;o=o.return}for(;null!==l;){if(null===(o=na(l)))return;if(5===(s=o.tag)||6===s){r=i=o;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Be)return e(t,n);Be=!0;try{De(e,t,n)}finally{Be=!1,ze()}}((function(){var r=i,a=Ce(n),o=[];e:{var l=Nt.get(e);if(void 0!==l){var s=fn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":s=Ln;break;case"focusin":c="focus",s=yn;break;case"focusout":c="blur",s=yn;break;case"beforeblur":case"afterblur":s=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=bn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Nn;break;case Pt:case At:case Lt:s=wn;break;case Ot:s=In;break;case"scroll":s=mn;break;case"wheel":s=Mn;break;case"copy":case"cut":case"paste":s=kn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=On}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,g=r;null!==g;){var m=(f=g).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=$e(g,p))&&u.push(Dr(g,m,f)))),d)break;g=g.return}0<u.length&&(l=new s(l,c,null,n,a),o.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!na(c)&&!c[ea])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?na(c):null)&&(c!==(d=Ke(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=bn,m="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(u=On,m="onPointerLeave",p="onPointerEnter",g="pointer"),d=null==s?l:aa(s),f=null==c?l:aa(c),(l=new u(m,g+"leave",s,n,a)).target=d,l.relatedTarget=f,m=null,na(a)===r&&((u=new u(p,g+"enter",c,n,a)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,g=0,f=u=s;f;f=Br(f))g++;for(f=0,m=p;m;m=Br(m))f++;for(;0<g-f;)u=Br(u),g--;for(;0<f-g;)p=Br(p),f--;for(;g--;){if(u===p||null!==p&&u===p.alternate)break e;u=Br(u),p=Br(p)}u=null}else u=null;null!==s&&zr(o,l,s,u,!1),null!==c&&null!==d&&zr(o,d,c,u,!0)}if("select"===(s=(l=r?aa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var h=Jn;else if(Gn(l))if(er)h=cr;else{h=lr;var b=or}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=sr);switch(h&&(h=h(e,r))?qn(o,h,n,a):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ae(l,"number",l.value)),b=r?aa(r):window,e){case"focusin":(Gn(b)||"true"===b.contentEditable)&&(yr=b,wr=r,Er=null);break;case"focusout":Er=wr=yr=null;break;case"mousedown":kr=!0;break;case"contextmenu":case"mouseup":case"dragend":kr=!1,Sr(o,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Sr(o,n,a)}var v;if(Fn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?jn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&($n&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(v=rn()):(tn="value"in(en=a)?en.value:en.textContent,Hn=!0)),0<(b=Fr(r,y)).length&&(y=new Sn(y,e,null,n,a),o.push({event:y,listeners:b}),v?y.data=v:null!==(v=Zn(n))&&(y.data=v))),(v=zn?function(e,t){switch(e){case"compositionend":return Zn(t);case"keypress":return 32!==t.which?null:(Wn=!0,Un);case"textInput":return(e=t.data)===Un&&Wn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Fn&&jn(e,t)?(e=rn(),nn=tn=en=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return $n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=v))}Ar(o,t)}))}function Dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=$e(e,n))&&r.unshift(Dr(e,i,a)),null!=(i=$e(e,t))&&r.push(Dr(e,i,a))),e=e.return}return r}function Br(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zr(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,a?null!=(s=$e(n,i))&&o.unshift(Dr(n,s,l)):a||null!=(s=$e(n,i))&&o.push(Dr(n,s,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function $r(){}var Ur=null,Wr=null;function jr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Zr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hr="function"==typeof setTimeout?setTimeout:void 0,Vr="function"==typeof clearTimeout?clearTimeout:void 0;function Gr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Kr=0;var Xr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,ea="__reactContainer$"+Xr,ta="__reactEvents$"+Xr;function na(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ea]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Qr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ra(e){return!(e=e[Qr]||e[ea])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ia(e){return e[Jr]||null}function oa(e){var t=e[ta];return void 0===t&&(t=e[ta]=new Set),t}var la=[],sa=-1;function ca(e){return{current:e}}function ua(e){0>sa||(e.current=la[sa],la[sa]=null,sa--)}function da(e,t){sa++,la[sa]=e.current,e.current=t}var pa={},fa=ca(pa),ga=ca(!1),ma=pa;function ha(e,t){var n=e.type.contextTypes;if(!n)return pa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ba(e){return null!=(e=e.childContextTypes)}function va(){ua(ga),ua(fa)}function ya(e,t,n){if(fa.current!==pa)throw Error(o(168));da(fa,t),da(ga,n)}function wa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(o(108,G(t)||"Unknown",i));return a({},n,r)}function Ea(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pa,ma=fa.current,da(fa,e),da(ga,ga.current),!0}function ka(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=wa(e,t,ma),r.__reactInternalMemoizedMergedChildContext=e,ua(ga),ua(fa),da(fa,e)):ua(ga),da(ga,n)}var Sa=null,xa=null,_a=i.unstable_runWithPriority,Ca=i.unstable_scheduleCallback,Ta=i.unstable_cancelCallback,Pa=i.unstable_shouldYield,Aa=i.unstable_requestPaint,La=i.unstable_now,Oa=i.unstable_getCurrentPriorityLevel,Na=i.unstable_ImmediatePriority,Ia=i.unstable_UserBlockingPriority,Ra=i.unstable_NormalPriority,Ma=i.unstable_LowPriority,Da=i.unstable_IdlePriority,Fa={},Ba=void 0!==Aa?Aa:function(){},za=null,$a=null,Ua=!1,Wa=La(),ja=1e4>Wa?La:function(){return La()-Wa};function Za(){switch(Oa()){case Na:return 99;case Ia:return 98;case Ra:return 97;case Ma:return 96;case Da:return 95;default:throw Error(o(332))}}function Ha(e){switch(e){case 99:return Na;case 98:return Ia;case 97:return Ra;case 96:return Ma;case 95:return Da;default:throw Error(o(332))}}function Va(e,t){return e=Ha(e),_a(e,t)}function Ga(e,t,n){return e=Ha(e),Ca(e,t,n)}function qa(){if(null!==$a){var e=$a;$a=null,Ta(e)}Ya()}function Ya(){if(!Ua&&null!==za){Ua=!0;var e=0;try{var t=za;Va(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),za=null}catch(n){throw null!==za&&(za=za.slice(e+1)),Ca(Na,qa),n}finally{Ua=!1}}}var Ka=E.ReactCurrentBatchConfig;function Xa(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Qa=ca(null),Ja=null,ei=null,ti=null;function ni(){ti=ei=Ja=null}function ri(e){var t=Qa.current;ua(Qa),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Ja=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Fo=!0),e.firstContext=null)}function oi(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Ja)throw Error(o(308));ei=t,Ja.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var li=!1;function si(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ui(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n);null===i?a=i=t:i=i.next=t}else a=i=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fi(e,t,n,r){var i=e.updateQueue;li=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var c=s,u=c.next;c.next=null,null===l?o=u:l.next=u,l=c;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==l&&(null===p?d.firstBaseUpdate=u:p.next=u,d.lastBaseUpdate=c)}}if(null!==o){for(p=i.baseState,l=0,d=u=c=null;;){s=o.lane;var f=o.eventTime;if((r&s)===s){null!==d&&(d=d.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var g=e,m=o;switch(s=t,f=n,m.tag){case 1:if("function"==typeof(g=m.payload)){p=g.call(f,p,s);break e}p=g;break e;case 3:g.flags=-4097&g.flags|64;case 0:if(null==(s="function"==typeof(g=m.payload)?g.call(f,p,s):g))break e;p=a({},p,s);break e;case 2:li=!0}}null!==o.callback&&(e.flags|=32,null===(s=i.effects)?i.effects=[o]:s.push(o))}else f={eventTime:f,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===d?(u=d=f,c=p):d=d.next=f,l|=s;if(null===(o=o.next)){if(null===(s=i.shared.pending))break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}null===d&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Ul|=l,e.lanes=l,e.memoizedState=p}}function gi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var mi=(new r.Component).refs;function hi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var bi={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ps(),a=fs(e),i=ui(r,a);i.payload=t,null!=n&&(i.callback=n),di(e,i),gs(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ps(),a=fs(e),i=ui(r,a);i.tag=1,i.payload=t,null!=n&&(i.callback=n),di(e,i),gs(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ps(),r=fs(e),a=ui(n,r);a.tag=2,null!=t&&(a.callback=t),di(e,a),gs(e,r,n)}};function vi(e,t,n,r,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!pr(n,r)||!pr(a,i))}function yi(e,t,n){var r=!1,a=pa,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(a=ba(t)?ma:fa.current,i=(r=null!=(r=t.contextTypes))?ha(e,a):pa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=bi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bi.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=mi,si(e);var i=t.contextType;"object"==typeof i&&null!==i?a.context=oi(i):(i=ba(t)?ma:fa.current,a.context=ha(e,i)),fi(e,n,a,r),a.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(hi(e,t,i,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&bi.enqueueReplaceState(a,a.state,null),fi(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var ki=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function _i(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Vs(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ks(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=Gs(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=qs(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ks(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Gs(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case S:return(t=Xs(t,e.mode,n)).return=e,t}if(ki(t)||W(t))return(t=qs(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?n.type===x?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case S:return n.key===a?u(e,t,n,r):null}if(ki(n)||W(n))return null!==a?null:d(e,t,n,r,null);xi(e,n)}return null}function g(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return e=e.get(null===r.key?n:r.key)||null,r.type===x?d(t,e,r.props.children,a,r.key):c(t,e,r,a);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(ki(r)||W(r))return d(t,e=e.get(n)||null,r,a,null);xi(t,r)}return null}function m(a,o,l,s){for(var c=null,u=null,d=o,m=o=0,h=null;null!==d&&m<l.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var b=f(a,d,l[m],s);if(null===b){null===d&&(d=h);break}e&&d&&null===b.alternate&&t(a,d),o=i(b,o,m),null===u?c=b:u.sibling=b,u=b,d=h}if(m===l.length)return n(a,d),c;if(null===d){for(;m<l.length;m++)null!==(d=p(a,l[m],s))&&(o=i(d,o,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(a,d);m<l.length;m++)null!==(h=g(d,a,m,l[m],s))&&(e&&null!==h.alternate&&d.delete(null===h.key?m:h.key),o=i(h,o,m),null===u?c=h:u.sibling=h,u=h);return e&&d.forEach((function(e){return t(a,e)})),c}function h(a,l,s,c){var u=W(s);if("function"!=typeof u)throw Error(o(150));if(null==(s=u.call(s)))throw Error(o(151));for(var d=u=null,m=l,h=l=0,b=null,v=s.next();null!==m&&!v.done;h++,v=s.next()){m.index>h?(b=m,m=null):b=m.sibling;var y=f(a,m,v.value,c);if(null===y){null===m&&(m=b);break}e&&m&&null===y.alternate&&t(a,m),l=i(y,l,h),null===d?u=y:d.sibling=y,d=y,m=b}if(v.done)return n(a,m),u;if(null===m){for(;!v.done;h++,v=s.next())null!==(v=p(a,v.value,c))&&(l=i(v,l,h),null===d?u=v:d.sibling=v,d=v);return u}for(m=r(a,m);!v.done;h++,v=s.next())null!==(v=g(m,a,h,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?h:v.key),l=i(v,l,h),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(a,e)})),u}return function(e,r,i,s){var c="object"==typeof i&&null!==i&&i.type===x&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case k:e:{for(u=i.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===x){n(e,c.sibling),(r=a(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=a(c,i.props)).ref=Si(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===x?((r=qs(i.props.children,e.mode,s,i.key)).return=e,e=r):((s=Gs(i.type,i.key,i.props,null,e.mode,s)).ref=Si(e,r,i),s.return=e,e=s)}return l(e);case S:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=a(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xs(i,e.mode,s)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,i)).return=e,e=r):(n(e,r),(r=Ks(i,e.mode,s)).return=e,e=r),l(e);if(ki(i))return m(e,r,i,s);if(W(i))return h(e,r,i,s);if(u&&xi(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,G(e.type)||"Component"))}return n(e,r)}}var Ci=_i(!0),Ti=_i(!1),Pi={},Ai=ca(Pi),Li=ca(Pi),Oi=ca(Pi);function Ni(e){if(e===Pi)throw Error(o(174));return e}function Ii(e,t){switch(da(Oi,t),da(Li,e),da(Ai,Pi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ge(null,"");break;default:t=ge(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ua(Ai),da(Ai,t)}function Ri(){ua(Ai),ua(Li),ua(Oi)}function Mi(e){Ni(Oi.current);var t=Ni(Ai.current),n=ge(t,e.type);t!==n&&(da(Li,e),da(Ai,n))}function Di(e){Li.current===e&&(ua(Ai),ua(Li))}var Fi=ca(0);function Bi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zi=null,$i=null,Ui=!1;function Wi(e,t){var n=Zs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ji(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Zi(e){if(Ui){var t=$i;if(t){var n=t;if(!ji(e,t)){if(!(t=qr(n.nextSibling))||!ji(e,t))return e.flags=-1025&e.flags|2,Ui=!1,void(zi=e);Wi(zi,n)}zi=e,$i=qr(t.firstChild)}else e.flags=-1025&e.flags|2,Ui=!1,zi=e}}function Hi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zi=e}function Vi(e){if(e!==zi)return!1;if(!Ui)return Hi(e),Ui=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Zr(t,e.memoizedProps))for(t=$i;t;)Wi(e,t),t=qr(t.nextSibling);if(Hi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){$i=qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}$i=null}}else $i=zi?qr(e.stateNode.nextSibling):null;return!0}function Gi(){$i=zi=null,Ui=!1}var qi=[];function Yi(){for(var e=0;e<qi.length;e++)qi[e]._workInProgressVersionPrimary=null;qi.length=0}var Ki=E.ReactCurrentDispatcher,Xi=E.ReactCurrentBatchConfig,Qi=0,Ji=null,eo=null,to=null,no=!1,ro=!1;function ao(){throw Error(o(321))}function io(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function oo(e,t,n,r,a,i){if(Qi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Io:Ro,e=n(r,a),ro){i=0;do{if(ro=!1,!(25>i))throw Error(o(301));i+=1,to=eo=null,t.updateQueue=null,Ki.current=Mo,e=n(r,a)}while(ro)}if(Ki.current=No,t=null!==eo&&null!==eo.next,Qi=0,to=eo=Ji=null,no=!1,t)throw Error(o(300));return e}function lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===to?Ji.memoizedState=to=e:to=to.next=e,to}function so(){if(null===eo){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=eo.next;var t=null===to?Ji.memoizedState:to.next;if(null!==t)to=t,eo=e;else{if(null===e)throw Error(o(310));e={memoizedState:(eo=e).memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},null===to?Ji.memoizedState=to=e:to=to.next=e}return to}function co(e,t){return"function"==typeof t?t(e):t}function uo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=eo,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=i=null,c=a;do{var u=c.lane;if((Qi&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(l=s=d,i=r):s=s.next=d,Ji.lanes|=u,Ul|=u}c=c.next}while(null!==c&&c!==a);null===s?i=r:s.next=l,ur(r,t.memoizedState)||(Fo=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function po(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);ur(i,t.memoizedState)||(Fo=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function fo(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Qi&e)===e)&&(t._workInProgressVersionPrimary=r,qi.push(t))),e)return n(t._source);throw qi.push(t),Error(o(350))}function go(e,t,n,r){var a=Il;if(null===a)throw Error(o(349));var i=t._getVersion,l=i(t._source),s=Ki.current,c=s.useState((function(){return fo(a,t,n)})),u=c[1],d=c[0];c=to;var p=e.memoizedState,f=p.refs,g=f.getSnapshot,m=p.source;p=p.subscribe;var h=Ji;return e.memoizedState={refs:f,source:t,subscribe:r},s.useEffect((function(){f.getSnapshot=n,f.setSnapshot=u;var e=i(t._source);if(!ur(l,e)){e=n(t._source),ur(d,e)||(u(e),e=fs(h),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,o=e;0<o;){var s=31-Zt(o),c=1<<s;r[s]|=e,o&=~c}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=fs(h);a.mutableReadLanes|=r&a.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),ur(g,n)&&ur(m,t)&&ur(p,r)||((e={pending:null,dispatch:null,lastRenderedReducer:co,lastRenderedState:d}).dispatch=u=Oo.bind(null,Ji,e),c.queue=e,c.baseQueue=null,d=fo(a,t,n),c.memoizedState=c.baseState=d),d}function mo(e,t,n){return go(so(),e,t,n)}function ho(e){var t=lo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:co,lastRenderedState:e}).dispatch=Oo.bind(null,Ji,e),[t.memoizedState,e]}function bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vo(e){return e={current:e},lo().memoizedState=e}function yo(){return so().memoizedState}function wo(e,t,n,r){var a=lo();Ji.flags|=e,a.memoizedState=bo(1|t,n,void 0,void 0===r?null:r)}function Eo(e,t,n,r){var a=so();r=void 0===r?null:r;var i=void 0;if(null!==eo){var o=eo.memoizedState;if(i=o.destroy,null!==r&&io(r,o.deps))return void bo(t,n,i,r)}Ji.flags|=e,a.memoizedState=bo(1|t,n,i,r)}function ko(e,t){return wo(516,4,e,t)}function So(e,t){return Eo(516,4,e,t)}function xo(e,t){return Eo(4,2,e,t)}function _o(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Co(e,t,n){return n=null!=n?n.concat([e]):null,Eo(4,2,_o.bind(null,t,e),n)}function To(){}function Po(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&io(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ao(e,t){var n=so();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&io(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Lo(e,t){var n=Za();Va(98>n?98:n,(function(){e(!0)})),Va(97<n?97:n,(function(){var n=Xi.transition;Xi.transition=1;try{e(!1),t()}finally{Xi.transition=n}}))}function Oo(e,t,n){var r=ps(),a=fs(e),i={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Ji||null!==o&&o===Ji)ro=no=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=o(l,n);if(i.eagerReducer=o,i.eagerState=s,ur(s,l))return}catch(c){}gs(e,a,r)}}var No={readContext:oi,useCallback:ao,useContext:ao,useEffect:ao,useImperativeHandle:ao,useLayoutEffect:ao,useMemo:ao,useReducer:ao,useRef:ao,useState:ao,useDebugValue:ao,useDeferredValue:ao,useTransition:ao,useMutableSource:ao,useOpaqueIdentifier:ao,unstable_isNewReconciler:!1},Io={readContext:oi,useCallback:function(e,t){return lo().memoizedState=[e,void 0===t?null:t],e},useContext:oi,useEffect:ko,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wo(4,2,_o.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wo(4,2,e,t)},useMemo:function(e,t){var n=lo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=lo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Oo.bind(null,Ji,e),[r.memoizedState,e]},useRef:vo,useState:ho,useDebugValue:To,useDeferredValue:function(e){var t=ho(e),n=t[0],r=t[1];return ko((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=ho(!1),t=e[0];return vo(e=Lo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=lo();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},go(r,e,t,n)},useOpaqueIdentifier:function(){if(Ui){var e=!1,t=function(e){return{$$typeof:M,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Kr++).toString(36))),Error(o(355))})),n=ho(t)[1];return 0==(2&Ji.mode)&&(Ji.flags|=516,bo(5,(function(){n("r:"+(Kr++).toString(36))}),void 0,null)),t}return ho(t="r:"+(Kr++).toString(36)),t},unstable_isNewReconciler:!1},Ro={readContext:oi,useCallback:Po,useContext:oi,useEffect:So,useImperativeHandle:Co,useLayoutEffect:xo,useMemo:Ao,useReducer:uo,useRef:yo,useState:function(){return uo(co)},useDebugValue:To,useDeferredValue:function(e){var t=uo(co),n=t[0],r=t[1];return So((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=uo(co)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return uo(co)[0]},unstable_isNewReconciler:!1},Mo={readContext:oi,useCallback:Po,useContext:oi,useEffect:So,useImperativeHandle:Co,useLayoutEffect:xo,useMemo:Ao,useReducer:po,useRef:yo,useState:function(){return po(co)},useDebugValue:To,useDeferredValue:function(e){var t=po(co),n=t[0],r=t[1];return So((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=po(co)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return po(co)[0]},unstable_isNewReconciler:!1},Do=E.ReactCurrentOwner,Fo=!1;function Bo(e,t,n,r){t.child=null===e?Ti(t,null,n,r):Ci(t,e.child,n,r)}function zo(e,t,n,r,a){n=n.render;var i=t.ref;return ii(t,a),r=oo(e,t,n,r,i,a),null===e||Fo?(t.flags|=1,Bo(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function $o(e,t,n,r,a,i){if(null===e){var o=n.type;return"function"!=typeof o||Hs(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gs(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Uo(e,t,o,r,a,i))}return o=e.child,0==(a&i)&&(a=o.memoizedProps,(n=null!==(n=n.compare)?n:pr)(a,r)&&e.ref===t.ref)?il(e,t,i):(t.flags|=1,(e=Vs(o,r)).ref=t.ref,e.return=t,t.child=e)}function Uo(e,t,n,r,a,i){if(null!==e&&pr(e.memoizedProps,r)&&e.ref===t.ref){if(Fo=!1,0==(i&a))return t.lanes=e.lanes,il(e,t,i);0!=(16384&e.flags)&&(Fo=!0)}return Zo(e,t,n,r,i)}function Wo(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},ks(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ks(t,e),null;t.memoizedState={baseLanes:0},ks(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ks(t,r);return Bo(e,t,a,n),t.child}function jo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Zo(e,t,n,r,a){var i=ba(n)?ma:fa.current;return i=ha(t,i),ii(t,a),n=oo(e,t,n,r,i,a),null===e||Fo?(t.flags|=1,Bo(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function Ho(e,t,n,r,a){if(ba(n)){var i=!0;Ea(t)}else i=!1;if(ii(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,n,r),Ei(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=oi(c):c=ha(t,c=ba(n)?ma:fa.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==r||s!==c)&&wi(t,o,r,c),li=!1;var p=t.memoizedState;o.state=p,fi(t,r,o,a),s=t.memoizedState,l!==r||p!==s||ga.current||li?("function"==typeof u&&(hi(t,n,u,r),s=t.memoizedState),(l=li||vi(t,n,l,r,p,s,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4)):("function"==typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=c,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4),r=!1)}else{o=t.stateNode,ci(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Xa(t.type,l),o.props=c,d=t.pendingProps,p=o.context,"object"==typeof(s=n.contextType)&&null!==s?s=oi(s):s=ha(t,s=ba(n)?ma:fa.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==d||p!==s)&&wi(t,o,r,s),li=!1,p=t.memoizedState,o.state=p,fi(t,r,o,a);var g=t.memoizedState;l!==d||p!==g||ga.current||li?("function"==typeof f&&(hi(t,n,f,r),g=t.memoizedState),(c=li||vi(t,n,c,r,p,g,s))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,g,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,g,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Vo(e,t,n,r,i,a)}function Vo(e,t,n,r,a,i){jo(e,t);var o=0!=(64&t.flags);if(!r&&!o)return a&&ka(t,n,!1),il(e,t,i);r=t.stateNode,Do.current=t;var l=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ci(t,e.child,null,i),t.child=Ci(t,null,l,i)):Bo(e,t,l,i),t.memoizedState=r.state,a&&ka(t,n,!0),t.child}function Go(e){var t=e.stateNode;t.pendingContext?ya(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(0,t.context,!1),Ii(e,t.containerInfo)}var qo,Yo,Ko,Xo={dehydrated:null,retryLane:0};function Qo(e,t,n){var r,a=t.pendingProps,i=Fi.current,o=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),da(Fi,1&i),null===e?(void 0!==a.fallback&&Zi(t),e=a.children,i=a.fallback,o?(e=Jo(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xo,e):"number"==typeof a.unstable_expectedLoadTime?(e=Jo(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xo,t.lanes=33554432,e):((n=Ys({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(a=tl(e,t,a.children,a.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Xo,a):(n=el(e,t,a.children,n),t.memoizedState=null,n))}function Jo(e,t,n,r){var a=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Ys(t,a,0,null),n=qs(n,a,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function el(e,t,n,r){var a=e.child;return e=a.sibling,n=Vs(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,a){var i=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=l,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Vs(o,l),null!==e?r=Vs(e,r):(r=qs(r,i,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ai(e.return,t)}function rl(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a,o.lastEffect=i)}function al(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Bo(e,t,r.children,n),0!=(2&(r=Fi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(da(Fi,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Bi(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),rl(t,!1,a,n,i,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Bi(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}rl(t,!0,n,null,i,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ul|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Vs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ol(e,t){if(!Ui)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ba(t.type)&&va(),null;case 3:return Ri(),ua(ga),ua(fa),Yi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Vi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Di(t);var i=Ni(Oi.current);if(n=t.type,null!==e&&null!=t.stateNode)Yo(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=Ni(Ai.current),Vi(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Qr]=t,r[Jr]=l,n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Lr(Cr[e],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":ee(r,l),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Lr("invalid",r);break;case"textarea":se(r,l),Lr("invalid",r)}for(var c in xe(n,l),e=null,l)l.hasOwnProperty(c)&&(i=l[c],"children"===c?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):s.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Lr("scroll",r));switch(n){case"input":K(r),re(r,l,!0);break;case"textarea":K(r),ue(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=$r)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===de&&(e=fe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Qr]=t,e[Jr]=r,qo(e,t),t.stateNode=e,c=_e(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),i=r;break;case"iframe":case"object":case"embed":Lr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Lr(Cr[i],e);i=r;break;case"source":Lr("error",e),i=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),i=r;break;case"details":Lr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Lr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=a({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":se(e,r),i=le(e,r),Lr("invalid",e);break;default:i=r}xe(n,i);var u=i;for(l in u)if(u.hasOwnProperty(l)){var d=u[l];"style"===l?ke(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&be(e,d):"children"===l?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Lr("scroll",e):null!=d&&w(e,l,d,c))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?oe(e,!!r.multiple,l,!1):null!=r.defaultValue&&oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=$r)}jr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ko(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));n=Ni(Oi.current),Ni(Ai.current),Vi(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return ua(Fi),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Vi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fi.current)?0===Bl&&(Bl=3):(0!==Bl&&3!==Bl||(Bl=4),null===Il||0==(134217727&Ul)&&0==(134217727&Wl)||vs(Il,Ml))),(r||n)&&(t.flags|=4),null);case 4:return Ri(),null===e&&Nr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(ua(Fi),null===(r=t.memoizedState))return null;if(l=0!=(64&t.flags),null===(c=r.rendering))if(l)ol(r,!1);else{if(0!==Bl||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Bi(e))){for(t.flags|=64,ol(r,!1),null!==(l=c.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(c=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=c.childLanes,l.lanes=c.lanes,l.child=c.child,l.memoizedProps=c.memoizedProps,l.memoizedState=c.memoizedState,l.updateQueue=c.updateQueue,l.type=c.type,e=c.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return da(Fi,1&Fi.current|2),t.child}e=e.sibling}null!==r.tail&&ja()>Vl&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Bi(c))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ol(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Ui)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*ja()-r.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=64,l=!0,ol(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=ja(),n.sibling=null,t=Fi.current,da(Fi,l?1&t|2:1&t),n):null;case 23:case 24:return Ss(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function sl(e){switch(e.tag){case 1:ba(e.type)&&va();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ri(),ua(ga),ua(fa),Yi(),0!=(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Di(e),null;case 13:return ua(Fi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ua(Fi),null;case 4:return Ri(),null;case 10:return ri(e),null;case 23:case 24:return Ss(),null;default:return null}}function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(i){a="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:a}}function ul(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}qo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yo=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ni(Ai.current);var o,l=null;switch(n){case"input":i=J(e,i),r=J(e,r),l=[];break;case"option":i=ie(e,i),r=ie(e,r),l=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),l=[];break;case"textarea":i=le(e,i),r=le(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=$r)}for(d in xe(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(l||(l=[]),l.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(l=l||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Lr("scroll",e),l||c===u||(l=[])):"object"==typeof u&&null!==u&&u.$$typeof===M?u.toString():(l=l||[]).push(d,u))}n&&(l=l||[]).push("style",n);var d=l;(t.updateQueue=d)&&(t.flags|=4)}},Ko=function(e,t,n,r){n!==r&&(t.flags|=4)};var dl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=ui(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Kl||(Kl=!0,Xl=r),ul(0,t)},n}function fl(e,t,n){(n=ui(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ul(0,t),r(a)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ql?Ql=new Set([this]):Ql.add(this),ul(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var gl="function"==typeof WeakSet?WeakSet:Set;function ml(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){$s(e,n)}else t.current=null}function hl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Gr(t.stateNode.containerInfo))}throw Error(o(163))}function bl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(Fs(n,e),Ds(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&gi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}gi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&jr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))))}throw Error(o(163))}function vl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=Ee("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function yl(e,t){if(xa&&"function"==typeof xa.onCommitFiberUnmount)try{xa.onCommitFiberUnmount(Sa,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Fs(t,n);else{r=t;try{a()}catch(i){$s(r,i)}}n=n.next}while(n!==e)}break;case 1:if(ml(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){$s(t,i)}break;case 5:ml(t);break;case 4:_l(e,t)}}function wl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function El(e){return 5===e.tag||3===e.tag||4===e.tag}function kl(e){e:{for(var t=e.return;null!==t;){if(El(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||El(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Sl(e,n,t):xl(e,n,t)}function Sl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(Sl(e,t,n),e=e.sibling;null!==e;)Sl(e,t,n),e=e.sibling}function xl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function _l(e,t){for(var n,r,a=t,i=!1;;){if(!i){i=a.return;e:for(;;){if(null===i)throw Error(o(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===a.tag||6===a.tag){e:for(var l=e,s=a,c=s;;)if(yl(l,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===s)break e;for(;null===c.sibling;){if(null===c.return||c.return===s)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(l=n,s=a.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(yl(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(i=!1)}a.sibling.return=a.return,a=a.sibling}}function Cl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,a),t=_e(e,r),a=0;a<i.length;a+=2){var l=i[a],s=i[a+1];"style"===l?ke(n,s):"dangerouslySetInnerHTML"===l?be(n,s):"children"===l?ve(n,s):w(n,l,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?oe(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?oe(n,!!r.multiple,r.defaultValue,!0):oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,kt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Hl=ja(),vl(t.child,!0)),void Tl(t);case 19:return void Tl(t);case 23:case 24:return void vl(t,null!==t.memoizedState)}throw Error(o(163))}function Tl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new gl),t.forEach((function(t){var r=Ws.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Pl(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Al=Math.ceil,Ll=E.ReactCurrentDispatcher,Ol=E.ReactCurrentOwner,Nl=0,Il=null,Rl=null,Ml=0,Dl=0,Fl=ca(0),Bl=0,zl=null,$l=0,Ul=0,Wl=0,jl=0,Zl=null,Hl=0,Vl=1/0;function Gl(){Vl=ja()+500}var ql,Yl=null,Kl=!1,Xl=null,Ql=null,Jl=!1,es=null,ts=90,ns=[],rs=[],as=null,is=0,os=null,ls=-1,ss=0,cs=0,us=null,ds=!1;function ps(){return 0!=(48&Nl)?ja():-1!==ls?ls:ls=ja()}function fs(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Za()?1:2;if(0===ss&&(ss=$l),0!==Ka.transition){0!==cs&&(cs=null!==Zl?Zl.pendingLanes:0),e=ss;var t=4186112&~cs;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Za(),0!=(4&Nl)&&98===e?e=$t(12,ss):e=$t(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ss),e}function gs(e,t,n){if(50<is)throw is=0,os=null,Error(o(185));if(null===(e=ms(e,t)))return null;jt(e,t,n),e===Il&&(Wl|=t,4===Bl&&vs(e,Ml));var r=Za();1===t?0!=(8&Nl)&&0==(48&Nl)?ys(e):(hs(e,n),0===Nl&&(Gl(),qa())):(0==(4&Nl)||98!==r&&99!==r||(null===as?as=new Set([e]):as.add(e)),hs(e,n)),Zl=e}function ms(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hs(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-Zt(l),c=1<<s,u=i[s];if(-1===u){if(0==(c&r)||0!=(c&a)){u=t,Ft(c);var d=Dt;i[s]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);l&=~c}if(r=Bt(e,e===Il?Ml:0),t=Dt,0===r)null!==n&&(n!==Fa&&Ta(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fa&&Ta(n)}15===t?(n=ys.bind(null,e),null===za?(za=[n],$a=Ca(Na,Ya)):za.push(n),n=Fa):14===t?n=Ga(99,ys.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,e))}}(t),n=Ga(n,bs.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function bs(e){if(ls=-1,cs=ss=0,0!=(48&Nl))throw Error(o(327));var t=e.callbackNode;if(Ms()&&e.callbackNode!==t)return null;var n=Bt(e,e===Il?Ml:0);if(0===n)return null;var r=n,a=Nl;Nl|=16;var i=Cs();for(Il===e&&Ml===r||(Gl(),xs(e,r));;)try{As();break}catch(s){_s(e,s)}if(ni(),Ll.current=i,Nl=a,null!==Rl?r=0:(Il=null,Ml=0,r=Bl),0!=($l&Wl))xs(e,0);else if(0!==r){if(2===r&&(Nl|=64,e.hydrate&&(e.hydrate=!1,Gr(e.containerInfo)),0!==(n=zt(e))&&(r=Ts(e,n))),1===r)throw t=zl,xs(e,0),vs(e,n),hs(e,ja()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(o(345));case 2:case 5:Ns(e);break;case 3:if(vs(e,n),(62914560&n)===n&&10<(r=Hl+500-ja())){if(0!==Bt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){ps(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Hr(Ns.bind(null,e),r);break}Ns(e);break;case 4:if(vs(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var l=31-Zt(n);i=1<<l,(l=r[l])>a&&(a=l),n&=~i}if(n=a,10<(n=(120>(n=ja()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Al(n/1960))-n)){e.timeoutHandle=Hr(Ns.bind(null,e),n);break}Ns(e);break;default:throw Error(o(329))}}return hs(e,ja()),e.callbackNode===t?bs.bind(null,e):null}function vs(e,t){for(t&=~jl,t&=~Wl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Zt(t),r=1<<n;e[n]=-1,t&=~r}}function ys(e){if(0!=(48&Nl))throw Error(o(327));if(Ms(),e===Il&&0!=(e.expiredLanes&Ml)){var t=Ml,n=Ts(e,t);0!=($l&Wl)&&(n=Ts(e,t=Bt(e,t)))}else n=Ts(e,t=Bt(e,0));if(0!==e.tag&&2===n&&(Nl|=64,e.hydrate&&(e.hydrate=!1,Gr(e.containerInfo)),0!==(t=zt(e))&&(n=Ts(e,t))),1===n)throw n=zl,xs(e,0),vs(e,t),hs(e,ja()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ns(e),hs(e,ja()),null}function ws(e,t){var n=Nl;Nl|=1;try{return e(t)}finally{0===(Nl=n)&&(Gl(),qa())}}function Es(e,t){var n=Nl;Nl&=-2,Nl|=8;try{return e(t)}finally{0===(Nl=n)&&(Gl(),qa())}}function ks(e,t){da(Fl,Dl),Dl|=t,$l|=t}function Ss(){Dl=Fl.current,ua(Fl)}function xs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Vr(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&va();break;case 3:Ri(),ua(ga),ua(fa),Yi();break;case 5:Di(r);break;case 4:Ri();break;case 13:case 19:ua(Fi);break;case 10:ri(r);break;case 23:case 24:Ss()}n=n.return}Il=e,Rl=Vs(e.current,null),Ml=Dl=$l=t,Bl=0,zl=null,jl=Wl=Ul=0}function _s(e,t){for(;;){var n=Rl;try{if(ni(),Ki.current=No,no){for(var r=Ji.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}no=!1}if(Qi=0,to=eo=Ji=null,ro=!1,Ol.current=null,null===n||null===n.return){Bl=1,zl=t,Rl=null;break}e:{var i=e,o=n.return,l=n,s=t;if(t=Ml,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&l.mode)){var u=l.alternate;u?(l.updateQueue=u.updateQueue,l.memoizedState=u.memoizedState,l.lanes=u.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Fi.current),p=o;do{var f;if(f=13===p.tag){var g=p.memoizedState;if(null!==g)f=null!==g.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var h=p.updateQueue;if(null===h){var b=new Set;b.add(c),p.updateQueue=b}else h.add(c);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=ui(-1,1);v.tag=2,di(l,v)}l.lanes|=1;break e}s=void 0,l=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new dl,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(l)){s.add(l);var w=Us.bind(null,i,c,l);c.then(w,w)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((G(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Bl&&(Bl=2),s=cl(s,l),p=o;do{switch(p.tag){case 3:i=s,p.flags|=4096,t&=-t,p.lanes|=t,pi(p,pl(0,i,t));break e;case 1:i=s;var E=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof E.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===Ql||!Ql.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,pi(p,fl(p,i,t));break e}}p=p.return}while(null!==p)}Os(n)}catch(S){t=S,Rl===n&&null!==n&&(Rl=n=n.return);continue}break}}function Cs(){var e=Ll.current;return Ll.current=No,null===e?No:e}function Ts(e,t){var n=Nl;Nl|=16;var r=Cs();for(Il===e&&Ml===t||xs(e,t);;)try{Ps();break}catch(a){_s(e,a)}if(ni(),Nl=n,Ll.current=r,null!==Rl)throw Error(o(261));return Il=null,Ml=0,Bl}function Ps(){for(;null!==Rl;)Ls(Rl)}function As(){for(;null!==Rl&&!Pa();)Ls(Rl)}function Ls(e){var t=ql(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?Os(e):Rl=t,Ol.current=null}function Os(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ll(n,t,Dl)))return void(Rl=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Dl)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=sl(t)))return n.flags&=2047,void(Rl=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Rl=t);Rl=t=e}while(null!==t);0===Bl&&(Bl=5)}function Ns(e){var t=Za();return Va(99,Is.bind(null,e,t)),null}function Is(e,t){do{Ms()}while(null!==es);if(0!=(48&Nl))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,i=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var l=e.eventTimes,s=e.expirationTimes;0<i;){var c=31-Zt(i),u=1<<c;a[c]=0,l[c]=-1,s[c]=-1,i&=~u}if(null!==as&&0==(24&r)&&as.has(e)&&as.delete(e),e===Il&&(Rl=Il=null,Ml=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Nl,Nl|=32,Ol.current=null,Ur=Yt,br(l=hr())){if("selectionStart"in l)s={start:l.selectionStart,end:l.selectionEnd};else e:if(s=(s=l.ownerDocument)&&s.defaultView||window,(u=s.getSelection&&s.getSelection())&&0!==u.rangeCount){s=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{s.nodeType,c.nodeType}catch(C){s=null;break e}var d=0,p=-1,f=-1,g=0,m=0,h=l,b=null;t:for(;;){for(var v;h!==s||0!==i&&3!==h.nodeType||(p=d+i),h!==c||0!==u&&3!==h.nodeType||(f=d+u),3===h.nodeType&&(d+=h.nodeValue.length),null!==(v=h.firstChild);)b=h,h=v;for(;;){if(h===l)break t;if(b===s&&++g===i&&(p=d),b===c&&++m===u&&(f=d),null!==(v=h.nextSibling))break;b=(h=b).parentNode}h=v}s=-1===p||-1===f?null:{start:p,end:f}}else s=null;s=s||{start:0,end:0}}else s=null;Wr={focusedElem:l,selectionRange:s},Yt=!1,us=null,ds=!1,Yl=r;do{try{Rs()}catch(C){if(null===Yl)throw Error(o(330));$s(Yl,C),Yl=Yl.nextEffect}}while(null!==Yl);us=null,Yl=r;do{try{for(l=e;null!==Yl;){var y=Yl.flags;if(16&y&&ve(Yl.stateNode,""),128&y){var w=Yl.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&y){case 2:kl(Yl),Yl.flags&=-3;break;case 6:kl(Yl),Yl.flags&=-3,Cl(Yl.alternate,Yl);break;case 1024:Yl.flags&=-1025;break;case 1028:Yl.flags&=-1025,Cl(Yl.alternate,Yl);break;case 4:Cl(Yl.alternate,Yl);break;case 8:_l(l,s=Yl);var k=s.alternate;wl(s),null!==k&&wl(k)}Yl=Yl.nextEffect}}catch(C){if(null===Yl)throw Error(o(330));$s(Yl,C),Yl=Yl.nextEffect}}while(null!==Yl);if(E=Wr,w=hr(),y=E.focusedElem,l=E.selectionRange,w!==y&&y&&y.ownerDocument&&mr(y.ownerDocument.documentElement,y)){null!==l&&br(y)&&(w=l.start,void 0===(E=l.end)&&(E=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(E,y.value.length)):(E=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),s=y.textContent.length,k=Math.min(l.start,s),l=void 0===l.end?k:Math.min(l.end,s),!E.extend&&k>l&&(s=l,l=k,k=s),s=gr(y,k),i=gr(y,l),s&&i&&(1!==E.rangeCount||E.anchorNode!==s.node||E.anchorOffset!==s.offset||E.focusNode!==i.node||E.focusOffset!==i.offset)&&((w=w.createRange()).setStart(s.node,s.offset),E.removeAllRanges(),k>l?(E.addRange(w),E.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),E.addRange(w))))),w=[];for(E=y;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(E=w[y]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Yt=!!Ur,Wr=Ur=null,e.current=n,Yl=r;do{try{for(y=e;null!==Yl;){var S=Yl.flags;if(36&S&&bl(y,Yl.alternate,Yl),128&S){w=void 0;var x=Yl.ref;if(null!==x){var _=Yl.stateNode;Yl.tag,w=_,"function"==typeof x?x(w):x.current=w}}Yl=Yl.nextEffect}}catch(C){if(null===Yl)throw Error(o(330));$s(Yl,C),Yl=Yl.nextEffect}}while(null!==Yl);Yl=null,Ba(),Nl=a}else e.current=n;if(Jl)Jl=!1,es=e,ts=t;else for(Yl=r;null!==Yl;)t=Yl.nextEffect,Yl.nextEffect=null,8&Yl.flags&&((S=Yl).sibling=null,S.stateNode=null),Yl=t;if(0===(r=e.pendingLanes)&&(Ql=null),1===r?e===os?is++:(is=0,os=e):is=0,n=n.stateNode,xa&&"function"==typeof xa.onCommitFiberRoot)try{xa.onCommitFiberRoot(Sa,n,void 0,64==(64&n.current.flags))}catch(C){}if(hs(e,ja()),Kl)throw Kl=!1,e=Xl,Xl=null,e;return 0!=(8&Nl)||qa(),null}function Rs(){for(;null!==Yl;){var e=Yl.alternate;ds||null===us||(0!=(8&Yl.flags)?et(Yl,us)&&(ds=!0):13===Yl.tag&&Pl(e,Yl)&&et(Yl,us)&&(ds=!0));var t=Yl.flags;0!=(256&t)&&hl(e,Yl),0==(512&t)||Jl||(Jl=!0,Ga(97,(function(){return Ms(),null}))),Yl=Yl.nextEffect}}function Ms(){if(90!==ts){var e=97<ts?97:ts;return ts=90,Va(e,Bs)}return!1}function Ds(e,t){ns.push(t,e),Jl||(Jl=!0,Ga(97,(function(){return Ms(),null})))}function Fs(e,t){rs.push(t,e),Jl||(Jl=!0,Ga(97,(function(){return Ms(),null})))}function Bs(){if(null===es)return!1;var e=es;if(es=null,0!=(48&Nl))throw Error(o(331));var t=Nl;Nl|=32;var n=rs;rs=[];for(var r=0;r<n.length;r+=2){var a=n[r],i=n[r+1],l=a.destroy;if(a.destroy=void 0,"function"==typeof l)try{l()}catch(c){if(null===i)throw Error(o(330));$s(i,c)}}for(n=ns,ns=[],r=0;r<n.length;r+=2){a=n[r],i=n[r+1];try{var s=a.create;a.destroy=s()}catch(c){if(null===i)throw Error(o(330));$s(i,c)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Nl=t,qa(),!0}function zs(e,t,n){di(e,t=pl(0,t=cl(n,t),1)),t=ps(),null!==(e=ms(e,1))&&(jt(e,1,t),hs(e,t))}function $s(e,t){if(3===e.tag)zs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){zs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ql||!Ql.has(r))){var a=fl(n,e=cl(t,e),1);if(di(n,a),a=ps(),null!==(n=ms(n,1)))jt(n,1,a),hs(n,a);else if("function"==typeof r.componentDidCatch&&(null===Ql||!Ql.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function Us(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ps(),e.pingedLanes|=e.suspendedLanes&n,Il===e&&(Ml&n)===n&&(4===Bl||3===Bl&&(62914560&Ml)===Ml&&500>ja()-Hl?xs(e,0):jl|=n),hs(e,t)}function Ws(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Za()?1:2:(0===ss&&(ss=$l),0===(t=Ut(62914560&~ss))&&(t=4194304))),n=ps(),null!==(e=ms(e,t))&&(jt(e,t,n),hs(e,n))}function js(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Zs(e,t,n,r){return new js(e,t,n,r)}function Hs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vs(e,t){var n=e.alternate;return null===n?((n=Zs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Gs(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Hs(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case x:return qs(n.children,a,i,t);case D:l=8,a|=16;break;case _:l=8,a|=1;break;case C:return(e=Zs(12,n,t,8|a)).elementType=C,e.type=C,e.lanes=i,e;case L:return(e=Zs(13,n,t,a)).type=L,e.elementType=L,e.lanes=i,e;case O:return(e=Zs(19,n,t,a)).elementType=O,e.lanes=i,e;case F:return Ys(n,a,i,t);case B:return(e=Zs(24,n,t,a)).elementType=B,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:l=10;break e;case P:l=9;break e;case A:l=11;break e;case N:l=14;break e;case I:l=16,r=null;break e;case R:l=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Zs(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function qs(e,t,n,r){return(e=Zs(7,e,r,t)).lanes=n,e}function Ys(e,t,n,r){return(e=Zs(23,e,r,t)).elementType=F,e.lanes=n,e}function Ks(e,t,n){return(e=Zs(6,e,null,t)).lanes=n,e}function Xs(e,t,n){return(t=Zs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Wt(0),this.expirationTimes=Wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wt(0),this.mutableSourceEagerHydrationData=null}function Js(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var a=t.current,i=ps(),l=fs(a);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(o(171))}if(1===n.tag){var c=n.type;if(ba(c)){n=wa(n,c,s);break e}}n=s}else n=pa;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(a,t),gs(a,l,i),l}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ac(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Qs(e,t,null!=n&&!0===n.hydrate),t=Zs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,si(t),e[ea]=n.current,Nr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function oc(e,t,n,r,a){var i=n._reactRootContainer;if(i){var o=i._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=tc(o);l.call(e)}}ec(t,o,e,a)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ac(e,0,t?{hydrate:!0}:void 0)}(n,r),o=i._internalRoot,"function"==typeof a){var s=a;a=function(){var e=tc(o);s.call(e)}}Es((function(){ec(t,o,e,a)}))}return tc(o)}function lc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(t))throw Error(o(200));return Js(e,t,null,n)}ql=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ga.current)Fo=!0;else{if(0==(n&r)){switch(Fo=!1,t.tag){case 3:Go(t),Gi();break;case 5:Mi(t);break;case 1:ba(t.type)&&Ea(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;da(Qa,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Qo(e,t,n):(da(Fi,1&Fi.current),null!==(t=il(e,t,n))?t.sibling:null);da(Fi,1&Fi.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return al(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),da(Fi,Fi.current),r)break;return null;case 23:case 24:return t.lanes=0,Wo(e,t,n)}return il(e,t,n)}Fo=0!=(16384&e.flags)}else Fo=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=ha(t,fa.current),ii(t,n),a=oo(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var i=!0;Ea(t)}else i=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,si(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&hi(t,r,l,e),a.updater=bi,t.stateNode=a,a._reactInternals=t,Ei(t,r,e,n),t=Vo(null,t,r,!0,i,n)}else t.tag=0,Bo(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(i=a._init)(a._payload),t.type=a,i=t.tag=function(e){if("function"==typeof e)return Hs(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===N)return 14}return 2}(a),e=Xa(a,e),i){case 0:t=Zo(null,t,a,e,n);break e;case 1:t=Ho(null,t,a,e,n);break e;case 11:t=zo(null,t,a,e,n);break e;case 14:t=$o(null,t,a,Xa(a.type,e),r,n);break e}throw Error(o(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Zo(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ho(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 3:if(Go(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,ci(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===a)Gi(),t=il(e,t,n);else{if((i=(a=t.stateNode).hydrate)&&($i=qr(t.stateNode.containerInfo.firstChild),zi=t,i=Ui=!0),i){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(i=e[a])._workInProgressVersionPrimary=e[a+1],qi.push(i);for(n=Ti(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Bo(e,t,r,n),Gi();t=t.child}return t;case 5:return Mi(t),null===e&&Zi(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,Zr(r,a)?l=null:null!==i&&Zr(r,i)&&(t.flags|=16),jo(e,t),Bo(e,t,l,n),t.child;case 6:return null===e&&Zi(t),null;case 13:return Qo(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ci(t,null,r,n):Bo(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,zo(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 7:return Bo(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bo(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,i=a.value;var s=t.type._context;if(da(Qa,s._currentValue),s._currentValue=i,null!==l)if(s=l.value,0===(i=ur(s,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(l.children===a.children&&!ga.current){t=il(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){l=s.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===s.tag&&((u=ui(-1,n&-n)).tag=2,di(s,u)),s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),ai(s.return,n),c.lanes|=n;break}u=u.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Bo(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(a=oi(a,i.unstable_observedBits)),t.flags|=1,Bo(e,t,r,n),t.child;case 14:return i=Xa(a=t.type,t.pendingProps),$o(e,t,a,i=Xa(a.type,i),r,n);case 15:return Uo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Xa(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ba(r)?(e=!0,Ea(t)):e=!1,ii(t,n),yi(t,r,a),Ei(t,r,a,n),Vo(null,t,r,!0,e,n);case 19:return al(e,t,n);case 23:case 24:return Wo(e,t,n)}throw Error(o(156,t.tag))},ac.prototype.render=function(e){ec(e,this._internalRoot,null,null)},ac.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[ea]=null}))},tt=function(e){13===e.tag&&(gs(e,4,ps()),rc(e,4))},nt=function(e){13===e.tag&&(gs(e,67108864,ps()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=ps(),n=fs(e);gs(e,n,t),rc(e,n)}},at=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ia(r);if(!a)throw Error(o(90));X(r),ne(r,a)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},Ie=ws,Re=function(e,t,n,r,a){var i=Nl;Nl|=4;try{return Va(98,e.bind(null,t,n,r,a))}finally{0===(Nl=i)&&(Gl(),qa())}},Me=function(){0==(49&Nl)&&(function(){if(null!==as){var e=as;as=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hs(e,ja())}))}qa()}(),Ms())},De=function(e,t){var n=Nl;Nl|=2;try{return e(t)}finally{0===(Nl=n)&&(Gl(),qa())}};var sc={Events:[ra,aa,ia,Oe,Ne,Ms,{current:!1}]},cc={findFiberByHostInstance:na,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{Sa=dc.inject(uc),xa=dc}catch(he){}}t.hydrate=function(e,t,n){if(!ic(t))throw Error(o(200));return oc(null,e,t,!0,n)}},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=o.length)return!1;for(s=l;0!=s--;)if(!i(e[s],o[s]))return!1;return!0}if(n&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!o.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!i(s.value[1],o.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((l=e.length)!=o.length)return!1;for(s=l;0!=s--;)if(e[s]!==o[s])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===o.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(o,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!i(e[c[s]],o[c[s]]))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>H,ql:()=>J});var r=n(7294),a=n(5697),i=n.n(a),o=n(9590),l=n.n(o),s=n(1143),c=n.n(s),u=n(6774),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(a[n]=e[n]);return a}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(h).map((function(e){return h[e]})),E={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(E).reduce((function(e,t){return e[E[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},x=function(e){var t=S(e,h.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},_=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var i=r[a].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},P=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,i=Object.keys(e),o=0;o<i.length;o+=1){var l=i[o],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(a),o=0;o<i.length;o+=1){var l=i[o],s=p({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},A=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},L=function(e){return Array.isArray(e)?e.join(""):e},O=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},I=[h.NOSCRIPT,h.SCRIPT,h.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[E[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,i=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=E[e]||e;"innerHTML"===n||"cssText"===n?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[n]=t[e]})),r.createElement(e,i)}))},B=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,i=D(n,a),[r.createElement(h.TITLE,i,e)];var e,n,a,i},toString:function(){return function(e,t,n,r){var a=M(n),i=L(t);return a?"<"+e+' data-rh="true" '+a+">"+R(i,r)+"</"+e+">":"<"+e+' data-rh="true">'+R(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a}),""),i=r.innerHTML||r.cssText||"",o=-1===I.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(o?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,i=e.noscriptTags,o=e.styleTags,l=e.title,s=void 0===l?"":l,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=O(e.metaTags,y),i=O(t,b),o=O(n,v);return{priorityMethods:{toComponent:function(){return[].concat(F(h.META,a.priority),F(h.LINK,i.priority),F(h.SCRIPT,o.priority))},toString:function(){return B(h.META,a.priority,r)+" "+B(h.LINK,i.priority,r)+" "+B(h.SCRIPT,o.priority,r)}},metaTags:a.default,linkTags:i.default,scriptTags:o.default}}(e);f=g.priorityMethods,u=g.linkTags,d=g.metaTags,p=g.scriptTags}return{priority:f,base:B(h.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(h.LINK,u,r),meta:B(h.META,d,r),noscript:B(h.NOSCRIPT,i,r),script:B(h.SCRIPT,p,r),style:B(h.STYLE,o,r),title:B(h.TITLE,{title:s,titleAttributes:c},r)}},$=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?$:n.instances},add:function(e){(n.canUseDOM?$:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?$:n.instances).indexOf(e);(n.canUseDOM?$:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},W=r.createContext({}),j=i().shape({setHelmet:i().func,helmetInstances:i().shape({get:i().func,add:i().func,remove:i().func})}),Z="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(W.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=Z,H.propTypes={context:i().shape({helmet:i().shape()}),children:i().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(h.HEAD),a=r.querySelectorAll(e+"[data-rh]"),i=[].slice.call(a),o=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),i.some((function(e,t){return n=t,r.isEqualNode(e)}))?i.splice(n,1):o.push(r)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return r.appendChild(e)})),{oldTags:i,newTags:o}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],i=[].concat(a),o=Object.keys(t),l=0;l<o.length;l+=1){var s=o[l],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===a.indexOf(s)&&a.push(s);var u=i.indexOf(s);-1!==u&&i.splice(u,1)}for(var d=i.length-1;d>=0;d-=1)n.removeAttribute(i[d]);a.length===i.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,i=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;G(h.BODY,e.bodyAttributes),G(h.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=L(e)),G(h.TITLE,t)}(u,d);var p={baseTag:V(h.BASE,n),linkTags:V(h.LINK,a),metaTags:V(h.META,i),noscriptTags:V(h.NOSCRIPT,o),scriptTags:V(h.SCRIPT,s),styleTags:V(h.STYLE,c)},f={},g={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(g[e]=p[e].oldTags)})),t&&t(),l(e,f,g)},Y=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,i=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:P(h.LINK,["rel","href"],e),metaTags:P(h.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:P(h.NOSCRIPT,["innerHTML"],e),onChangeClientState:_(e),scriptTags:P(h.SCRIPT,["src","innerHTML"],e),styleTags:P(h.STYLE,["cssText"],e),title:x(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:A(e,"prioritizeSeoTags")});H.canUseDOM?(t=i,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){q(t,(function(){Y=null}))})):(q(t),Y=null)):z&&(a=z(i)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:j.isRequired},K.displayName="HelmetDispatcher";var X=["children"],Q=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:t};case h.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,i=e.newChildProps,o=e.nestedChildren;switch(r.type){case h.TITLE:return p({},a,((t={})[r.type]=o,t.titleAttributes=p({},i),t));case h.BODY:return p({},a,{bodyAttributes:p({},i)});case h.HTML:return p({},a,{htmlAttributes:p({},i)});default:return p({},a,((n={})[r.type]=p({},i),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,i=r.children,o=m(r,X),l=Object.keys(o).reduce((function(e,t){return e[k[t]||t]=o[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,i),s){case h.FRAGMENT:t=n.mapChildrenToProps(i,t);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,Q),a=p({},n),i=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!i||i instanceof U||(i=new U(i.context,i.instances)),i?r.createElement(K,p({},a,{context:i.value,helmetData:void 0})):r.createElement(W.Consumer,null,(function(e){return r.createElement(K,p({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:i().object,bodyAttributes:i().object,children:i().oneOfType([i().arrayOf(i().node),i().node]),defaultTitle:i().string,defer:i().bool,encodeSpecialCharacters:i().bool,htmlAttributes:i().object,link:i().arrayOf(i().object),meta:i().arrayOf(i().object),noscript:i().arrayOf(i().object),onChangeClientState:i().func,script:i().arrayOf(i().object),style:i().arrayOf(i().object),title:i().string,titleAttributes:i().object,titleTemplate:i().string,prioritizeSeoTags:i().bool,helmetData:i().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case l:case o:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case m:case s:return e;default:return t}}case a:return t}}}function k(e){return E(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=h,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=o,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||E(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===o||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=E},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var l=n(7294),s=n(5697),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function g(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var g=o({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),m=null;function h(){return m||(m=e(g.loader)),m.promise}return c.push(h),"function"==typeof g.webpack&&u.push((function(){if((0,g.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return h()})),p=d=function(t){function n(n){var r;return i(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),m=e(g.loader),r._loadModule()})),h(),r.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},r}r(n,t),n.preload=function(){return h()};var o=n.prototype;return o.UNSAFE_componentWillMount=function(){this._loadModule()},o.componentDidMount=function(){this._mounted=!0},o._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(g.modules)&&g.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof g.delay&&(0===g.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),g.delay)),"number"==typeof g.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),g.timeout));var n=function(){t({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts()};m.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},o.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},o._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},o.render=function(){return this.state.loading||this.state.error?l.createElement(g.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?g.render(this.state.loaded,this.props):null},n}(l.Component),i(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),p}function m(e){return g(d,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(p,e)};var h=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}i(h,"propTypes",{report:s.func.isRequired}),i(h,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),m.Capture=h,m.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=m},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>o});var r=n(6550),a=n(7462),i=n(7294);function o(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&o(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.createElement(r.rs,n,e.map((function(e,n){return i.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):i.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>y,VK:()=>u,rU:()=>h});var r=n(6550),a=n(5068),i=n(7294),o=n(9318),l=n(7462),s=n(3366),c=n(8776),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,o.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return i.createElement(r.F0,{history:this.history,children:this.props.children})},t}(i.Component);i.Component;var d=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,o.ob)(e,null,null,t):e},f=function(e){return e},g=i.forwardRef;void 0===g&&(g=f);var m=g((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,o=(0,s.Z)(e,["innerRef","navigate","onClick"]),c=o.target,u=(0,l.Z)({},o,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=f!==g&&t||n,i.createElement("a",u)}));var h=g((function(e,t){var n=e.component,a=void 0===n?m:n,u=e.replace,h=e.to,b=e.innerRef,v=(0,s.Z)(e,["component","replace","to","innerRef"]);return i.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=p(d(h,e.location),e.location),s=r?n.createHref(r):"",m=(0,l.Z)({},v,{href:s,navigate:function(){var t=d(h,e.location),r=(0,o.Ep)(e.location)===(0,o.Ep)(p(t));(u||r?n.replace:n.push)(t)}});return f!==g?m.ref=t||b:m.innerRef=b,i.createElement(a,m)}))})),b=function(e){return e},v=i.forwardRef;void 0===v&&(v=b);var y=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,o=e.activeClassName,u=void 0===o?"active":o,f=e.activeStyle,g=e.className,m=e.exact,y=e.isActive,w=e.location,E=e.sensitive,k=e.strict,S=e.style,x=e.to,_=e.innerRef,C=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=w||e.location,o=p(d(x,n),n),s=o.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=T?(0,r.LX)(n.pathname,{path:T,exact:m,sensitive:E,strict:k}):null,A=!!(y?y(P,n):P),L="function"==typeof g?g(A):g,O="function"==typeof S?S(A):S;A&&(L=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(L,u),O=(0,l.Z)({},O,f));var N=(0,l.Z)({"aria-current":A&&a||null,className:L,style:O,to:o},C);return b!==v?N.ref=t||_:N.innerRef=_,i.createElement(h,N)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>x,F0:()=>w,LX:()=>S,TH:()=>I,k6:()=>N,rs:()=>L,s6:()=>y});var r=n(5068),a=n(7294),i=n(5697),o=n.n(i),l=n(9318),s=n(8776),c=n(7462),u=n(9658),d=n.n(u),p=(n(9864),n(3366)),f=(n(8679),1073741823),g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function m(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var h=a.createContext||function(e,t){var n,i,l="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).emitter=m(t.props.value),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((i=r)===(o=a)?0!==i||1/i==1/o:i!=i&&o!=o)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,o},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=o().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return c.contextTypes=((i={})[l]=o().object,i),{Provider:s,Consumer:c}},b=function(e){var t=h();return t.displayName=e,t},v=b("Router-History"),y=b("Router"),w=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var E={},k=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,i=void 0!==a&&a,o=n.strict,l=void 0!==o&&o,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=E[n]||(E[n]={});if(r[e])return r[e];var a=[],i={regexp:d()(e,a,t),keys:a};return k<1e4&&(r[e]=i,k++),i}(n,{end:i,strict:l,sensitive:c}),a=r.regexp,o=r.keys,s=a.exec(e);if(!s)return null;var u=s[0],p=s.slice(1),f=e===u;return i&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:o.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,i=(0,c.Z)({},t,{location:n,match:r}),o=e.props,l=o.children,u=o.component,d=o.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(y.Provider,{value:i},i.match?l?"function"==typeof l?l(i):l:u?a.createElement(u,i):d?d(i):null:"function"==typeof l?l(i):null)}))},t}(a.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function P(e){return function(){(0,s.Z)(!1)}}function A(){}a.Component;var L=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,i=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?S(i.pathname,(0,c.Z)({},e.props,{path:o})):t.match}})),r?a.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(a.Component);var O=a.useContext;function N(){return O(v)}function I(){return O(y).location}},9658:(e,t,n)=>{var r=n(5826);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,o=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(o,f),o=f+d.length,p)l+=p[1];else{var g=e[o],m=n[2],h=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var E=null!=m&&null!=g&&g!==m,k="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||u,_=b||v;r.push({name:h||i++,prefix:m||"",delimiter:x,optional:S,repeat:k,partial:E,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+s(x)+"]+?"})}}return o<e.length&&(l+=e.substr(o)),l&&r.push(l),r}function o(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var i="",l=t||{},s=(a||{}).pretty?o:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,p=l[u.name];if(null==p){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,i=!1!==n.end,o="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)o+=s(c);else{var p=s(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+p+f+")*"),o+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var g=s(n.delimiter||"/"),m=o.slice(-g.length)===g;return a||(o=(m?o.slice(0,-g.length):o)+"(?:"+g+"(?=$))?"),o+=i?"$":a&&m?"":"(?="+g+"|$)",u(new RegExp("^"+o,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(f(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},2408:(e,t,n)=>{"use strict";var r=n(7418),a=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,l=60110,s=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),o=d("react.provider"),l=d("react.context"),s=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function h(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||g}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=h.prototype;var y=v.prototype=new b;y.constructor=v,r(y,h.prototype),y.isPureReactComponent=!0;var w={current:null},E=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},o=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)E.call(t,r)&&!k.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:a,type:e,key:o,ref:l,props:i,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var _=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,n,r,o){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return o=o(s=e),e=""===r?"."+C(s,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(_,"$&/")+"/"),T(o,t,n,"",(function(e){return e}))):null!=o&&(x(o)&&(o=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(_,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+C(l=e[c],c);s+=T(l,t,n,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=T(l=l.value,t,n,u=r+C(l,c++),o);else if("object"===l)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function P(e,t,n){if(null==e)return e;var r=[],a=0;return T(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function A(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var L={current:null};function O(){var e=L.current;if(null===e)throw Error(f(321));return e}var N={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(f(143));return e}},t.Component=h,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,n){if(null==e)throw Error(f(267,e));var i=r({},e.props),o=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=w.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)E.call(t,u)&&!k.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:a,type:e.type,key:o,ref:l,props:i,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return O().useCallback(e,t)},t.useContext=function(e,t){return O().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return O().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return O().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return O().useLayoutEffect(e,t)},t.useMemo=function(e,t){return O().useMemo(e,t)},t.useReducer=function(e,t,n){return O().useReducer(e,t,n)},t.useRef=function(e){return O().useRef(e)},t.useState=function(e){return O().useState(e)},t.version="17.0.2"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},53:(e,t)=>{"use strict";var n,r,a,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},a=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,h=null,b=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==h){var e=t.unstable_now();y=e+v;try{h(!0,e)?E.postMessage(null):(m=!1,h=null)}catch(n){throw E.postMessage(null),n}}else m=!1},n=function(e){h=e,m||(m=!0,E.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},a=function(){f(b),b=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],l=i+1,s=e[l];if(void 0!==o&&0>_(o,n))void 0!==s&&0>_(s,o)?(e[r]=s,e[l]=n,r=l):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==s&&0>_(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],T=[],P=1,A=null,L=3,O=!1,N=!1,I=!1;function R(e){for(var t=S(T);null!==t;){if(null===t.callback)x(T);else{if(!(t.startTime<=e))break;x(T),t.sortIndex=t.expirationTime,k(C,t)}t=S(T)}}function M(e){if(I=!1,R(e),!N)if(null!==S(C))N=!0,n(D);else{var t=S(T);null!==t&&r(M,t.startTime-e)}}function D(e,n){N=!1,I&&(I=!1,a()),O=!0;var i=L;try{for(R(n),A=S(C);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=A.callback;if("function"==typeof o){A.callback=null,L=A.priorityLevel;var l=o(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?A.callback=l:A===S(C)&&x(C),R(n)}else x(C);A=S(C)}if(null!==A)var s=!0;else{var c=S(T);null!==c&&r(M,c.startTime-n),s=!1}return s}finally{A=null,L=i,O=!1}}var F=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||O||(N=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return S(C)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,i,o){var l=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?l+o:l:o=l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:P++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>l?(e.sortIndex=o,k(T,e),null===S(C)&&e===S(T)&&(I?a():I=!0,r(M,o-l))):(e.sortIndex=s,k(C,e),N||O||(N=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!l(c))return!1;var u=e[c],d=t[c];if(!1===(a=n?n.call(r,u,d,c):void 0)||void 0===a&&u!==d)return!1}return!0}},3250:(e,t,n)=>{"use strict";var r=n(7294);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,o=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(r){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return l((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),o((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},1688:(e,t,n)=>{"use strict";e.exports=n(3250)},6809:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"React Native Android Widget",tagline:"Build Android Widgets with React Native",url:"https://sAleksovski.github.io",baseUrl:"/react-native-android-widget/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.png",trailingSlash:!1,organizationName:"sAleksovski",projectName:"react-native-android-widget",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["docusaurus-plugin-typedoc",{entryPoints:["../src/index.tsx"],tsconfig:"../tsconfig.json",out:"public-api",disableSources:!0,readme:"none",sort:"required-first",visibilityFilters:{private:!1}}],["@docusaurus/plugin-client-redirects",{}]],presets:[["classic",{docs:{sidebarPath:"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/sidebars.js",editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/"},blog:!1,theme:{customCss:"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/src/css/custom.css"},gtag:{trackingID:"G-S7YD6GC3T0"}}]],themeConfig:{image:"img/og-image.png",metadata:[{name:"keywords",content:"react native widget,react native widgets,react native android widget,expo widget,expo widgets,react native expo widget,react-native-android-widget"}],navbar:{title:"React Native Android Widget",logo:{alt:"React Native Android Widget Logo",src:"img/logo.png"},items:[{type:"doc",docId:"index",position:"left",label:"Docs"},{type:"doc",docId:"public-api/index",position:"left",label:"Public API"},{position:"right",href:"https://www.buymeacoffee.com/sAleksovski",className:"header-buymeacoffee-link"},{href:"https://github.com/sAleksovski/react-native-android-widget",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[],copyright:"Copyright \xa9 2024 Stefan Aleksovski. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["java"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},announcementBar:{id:"star-on-github",content:'\u2b50\ufe0f If you like React Native Android Widget, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/sAleksovski/react-native-android-widget">GitHub</a>',isCloseable:!0},colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{mermaid:!1}}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r="Invariant failed";function a(e,t){if(!e)throw new Error(r)}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/react-native-android-widget/docs-3a2":{"__comp":"1be78505","__context":{"plugin":"407354e8"},"versionMetadata":"935f2afb"},"/react-native-android-widget/docs-04b":{"__comp":"17896441","content":"c377a04b"},"/react-native-android-widget/docs/api/register-widget-configuration-screen-49a":{"__comp":"17896441","content":"181303e3"},"/react-native-android-widget/docs/api/register-widget-task-handler-a05":{"__comp":"17896441","content":"ef61de09"},"/react-native-android-widget/docs/api/request-widget-update-861":{"__comp":"17896441","content":"7d14206d"},"/react-native-android-widget/docs/api/widget-preview-c3c":{"__comp":"17896441","content":"3666eb9e"},"/react-native-android-widget/docs/demo-9e2":{"__comp":"17896441","content":"74b23640"},"/react-native-android-widget/docs/handling-clicks-2ff":{"__comp":"17896441","content":"3a45f1c7"},"/react-native-android-widget/docs/limitations-6ec":{"__comp":"17896441","content":"1476a8a4"},"/react-native-android-widget/docs/primitives/flex-widget-dec":{"__comp":"17896441","content":"aa86ff20"},"/react-native-android-widget/docs/primitives/icon-widget-3e0":{"__comp":"17896441","content":"cc1aedd7"},"/react-native-android-widget/docs/primitives/image-widget-deb":{"__comp":"17896441","content":"82b1394b"},"/react-native-android-widget/docs/primitives/index-8e6":{"__comp":"14eb3368","categoryGeneratedIndex":"9958a938"},"/react-native-android-widget/docs/primitives/list-widget-b05":{"__comp":"17896441","content":"1bb5842c"},"/react-native-android-widget/docs/primitives/overlap-widget-bbd":{"__comp":"17896441","content":"3fa31a86"},"/react-native-android-widget/docs/primitives/svg-widget-430":{"__comp":"17896441","content":"17c5701b"},"/react-native-android-widget/docs/primitives/text-widget-15b":{"__comp":"17896441","content":"5b19e069"},"/react-native-android-widget/docs/public-api-b59":{"__comp":"17896441","content":"1cfe139a"},"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps-90e":{"__comp":"17896441","content":"0124b8bf"},"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps-020":{"__comp":"17896441","content":"bcda6bdc"},"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps-2f7":{"__comp":"17896441","content":"4787fd9f"},"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps-cd6":{"__comp":"17896441","content":"7f5eb84b"},"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps-e30":{"__comp":"17896441","content":"8d25c1fb"},"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle-869":{"__comp":"17896441","content":"7135efbc"},"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps-324":{"__comp":"17896441","content":"0314676f"},"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle-a1c":{"__comp":"17896441","content":"e73c34ba"},"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps-79e":{"__comp":"17896441","content":"2eb66e86"},"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps-293":{"__comp":"17896441","content":"f600eb30"},"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle-eb4":{"__comp":"17896441","content":"d5b87c6b"},"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps-1b6":{"__comp":"17896441","content":"a3102611"},"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps-8ab":{"__comp":"17896441","content":"49b00a7f"},"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps-376":{"__comp":"17896441","content":"281947f5"},"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle-b9a":{"__comp":"17896441","content":"0cb0f7cb"},"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps-287":{"__comp":"17896441","content":"730f732a"},"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps-cf2":{"__comp":"17896441","content":"7ad22d07"},"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo-e2e":{"__comp":"17896441","content":"b0736eaa"},"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps-f5a":{"__comp":"17896441","content":"bcaac1db"},"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps-248":{"__comp":"17896441","content":"95f41f41"},"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps-cab":{"__comp":"17896441","content":"a66dadf2"},"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle-e87":{"__comp":"17896441","content":"94be2f97"},"/react-native-android-widget/docs/public-api/interfaces/Widget-859":{"__comp":"17896441","content":"ff470113"},"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps-27e":{"__comp":"17896441","content":"334fbae1"},"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo-387":{"__comp":"17896441","content":"ff301dc0"},"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps-cc8":{"__comp":"17896441","content":"5d454204"},"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps-68e":{"__comp":"17896441","content":"24767a4f"},"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams-cf1":{"__comp":"17896441","content":"c56934f7"},"/react-native-android-widget/docs/public-api/namespaces/FlexWidget-49e":{"__comp":"17896441","content":"5d5554be"},"/react-native-android-widget/docs/public-api/namespaces/IconWidget-91a":{"__comp":"17896441","content":"935b7169"},"/react-native-android-widget/docs/public-api/namespaces/ImageWidget-223":{"__comp":"17896441","content":"76085ae1"},"/react-native-android-widget/docs/public-api/namespaces/ListWidget-d5f":{"__comp":"17896441","content":"17aa6098"},"/react-native-android-widget/docs/public-api/namespaces/OverlapWidget-7c8":{"__comp":"17896441","content":"436fd1e4"},"/react-native-android-widget/docs/public-api/namespaces/SvgWidget-d34":{"__comp":"17896441","content":"11884ede"},"/react-native-android-widget/docs/public-api/namespaces/TextWidget-a6d":{"__comp":"17896441","content":"080db9a4"},"/react-native-android-widget/docs/tutorial/congratulations-b64":{"__comp":"17896441","content":"ead7330c"},"/react-native-android-widget/docs/tutorial/make-widget-configurable-93a":{"__comp":"17896441","content":"399d2a39"},"/react-native-android-widget/docs/tutorial/register-task-handler-10d":{"__comp":"17896441","content":"4b7010bf"},"/react-native-android-widget/docs/tutorial/register-widget-f46":{"__comp":"17896441","content":"f477c445"},"/react-native-android-widget/docs/tutorial/register-widget-expo-a54":{"__comp":"17896441","content":"31e029c9"},"/react-native-android-widget/docs/tutorial/try-it-our-b65":{"__comp":"17896441","content":"70097127"},"/react-native-android-widget/docs/tutorial/widget-design-689":{"__comp":"17896441","content":"01e0afe4"},"/react-native-android-widget/docs/tutorial/widget-preview-786":{"__comp":"17896441","content":"c10b2ba3"},"/react-native-android-widget/docs/update-widget-b60":{"__comp":"17896441","content":"7402041a"},"/react-native-android-widget/-824":{"__comp":"c4f5d8e4","__context":{"plugin":"adcb0710"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return t=9383,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/runtime~main.7d3a51d2.js b/assets/js/runtime~main.7d3a51d2.js deleted file mode 100644 index 9526dc9..0000000 --- a/assets/js/runtime~main.7d3a51d2.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,f,b,d,t={},c={};function r(e){var a=c[e];if(void 0!==a)return a.exports;var f=c[e]={exports:{}};return t[e].call(f.exports,f,f.exports,r),f.exports}r.m=t,e=[],r.O=(a,f,b,d)=>{if(!f){var t=1/0;for(i=0;i<e.length;i++){f=e[i][0],b=e[i][1],d=e[i][2];for(var c=!0,o=0;o<f.length;o++)(!1&d||t>=d)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(c=!1,d<t&&(t=d));if(c){e.splice(i--,1);var n=b();void 0!==n&&(a=n)}}return a}d=d||0;for(var i=e.length;i>0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[f,b,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var t={};a=a||[null,f({}),f([]),f(f)];for(var c=2&b&&e;"object"==typeof c&&!~a.indexOf(c);c=f(c))Object.getOwnPropertyNames(c).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,r.d(d,t),d},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",265:"94be2f97",322:"1bb5842c",924:"e73c34ba",1069:"cc1aedd7",1161:"4787fd9f",1188:"aa86ff20",1328:"8d25c1fb",1400:"24767a4f",1408:"5b19e069",1493:"407354e8",1744:"70097127",1785:"17aa6098",1946:"31e029c9",2097:"b0736eaa",2321:"c56934f7",2342:"76085ae1",2386:"d5b87c6b",2814:"74b23640",2934:"0124b8bf",3153:"ff470113",3159:"bcda6bdc",3667:"5d5554be",3814:"5d454204",3895:"17c5701b",4195:"c4f5d8e4",4483:"3666eb9e",5020:"0314676f",5073:"7ad22d07",5087:"1476a8a4",5187:"49b00a7f",5266:"11884ede",5672:"a66dadf2",5710:"4b7010bf",5937:"ff301dc0",6090:"2eb66e86",6117:"82b1394b",6342:"080db9a4",6516:"bcaac1db",6573:"399d2a39",6831:"281947f5",6971:"c377a04b",6998:"334fbae1",7071:"7135efbc",7291:"01e0afe4",7374:"0cb0f7cb",7386:"ef61de09",7473:"181303e3",7655:"ead7330c",7679:"a3102611",7918:"17896441",7938:"3fa31a86",8558:"f600eb30",8645:"436fd1e4",8646:"9958a938",8888:"c10b2ba3",8998:"730f732a",9069:"7f5eb84b",9209:"95f41f41",9239:"3a45f1c7",9484:"1cfe139a",9514:"1be78505",9557:"7402041a",9817:"14eb3368",9829:"935b7169",9896:"7d14206d",9945:"adcb0710",9990:"f477c445"}[e]||e)+"."+{53:"1f770a08",265:"443bdd8f",322:"ef6f17d3",924:"63cab1af",1069:"a3c4fcf5",1161:"73d50786",1188:"85d93bff",1328:"024c7f76",1400:"b7c28857",1408:"0e7de974",1493:"79755485",1744:"889666fc",1785:"0a4f8252",1946:"2d016fba",2097:"2cff9d8f",2321:"faf1a9f9",2342:"476a4b79",2386:"3de748be",2814:"e6072dec",2934:"1d413b6c",3153:"04d4516f",3159:"562db46d",3667:"5dcec4c9",3814:"02dc3d4e",3895:"9aeb7ab4",4195:"12baaed4",4483:"0a1700d1",4972:"38a3e4ab",5020:"f6f8ac51",5073:"7b28f0e5",5087:"a0ba16bc",5187:"69ae74ca",5266:"2c50a5db",5672:"2d5adcca",5710:"5e24f586",5937:"13da1767",6090:"41fe1108",6117:"aea30ef9",6342:"14015309",6516:"a91a3d33",6573:"b5ef2174",6831:"7c144a7d",6971:"ed669e47",6998:"2749aa58",7071:"2352fcb2",7291:"195da2d6",7374:"666764a6",7386:"15b27fe9",7473:"4a701bf9",7655:"a4cb7251",7679:"4e3beeae",7918:"fb29058d",7938:"0941861b",8558:"16cebdc2",8645:"abb0f073",8646:"8cb4cff7",8888:"a7397f99",8998:"79713d87",9069:"4a94c0f4",9209:"0266f9d7",9239:"3551f181",9484:"718f1438",9514:"b9a16d8b",9557:"7638dbdf",9817:"6ba8c834",9829:"f00ef857",9896:"730b3071",9945:"1aa3f7c6",9990:"204df771"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},d="react-native-android-widget-docs:",r.l=(e,a,f,t)=>{if(b[e])b[e].push(a);else{var c,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+f){c=u;break}}c||(o=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",d+f),c.src=e),b[e]=[a];var l=(a,f)=>{c.onerror=c.onload=null,clearTimeout(s);var d=b[e];if(delete b[e],c.parentNode&&c.parentNode.removeChild(c),d&&d.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),o&&document.head.appendChild(c)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/react-native-android-widget/",r.gca=function(e){return e={17896441:"7918",70097127:"1744","935f2afb":"53","94be2f97":"265","1bb5842c":"322",e73c34ba:"924",cc1aedd7:"1069","4787fd9f":"1161",aa86ff20:"1188","8d25c1fb":"1328","24767a4f":"1400","5b19e069":"1408","407354e8":"1493","17aa6098":"1785","31e029c9":"1946",b0736eaa:"2097",c56934f7:"2321","76085ae1":"2342",d5b87c6b:"2386","74b23640":"2814","0124b8bf":"2934",ff470113:"3153",bcda6bdc:"3159","5d5554be":"3667","5d454204":"3814","17c5701b":"3895",c4f5d8e4:"4195","3666eb9e":"4483","0314676f":"5020","7ad22d07":"5073","1476a8a4":"5087","49b00a7f":"5187","11884ede":"5266",a66dadf2:"5672","4b7010bf":"5710",ff301dc0:"5937","2eb66e86":"6090","82b1394b":"6117","080db9a4":"6342",bcaac1db:"6516","399d2a39":"6573","281947f5":"6831",c377a04b:"6971","334fbae1":"6998","7135efbc":"7071","01e0afe4":"7291","0cb0f7cb":"7374",ef61de09:"7386","181303e3":"7473",ead7330c:"7655",a3102611:"7679","3fa31a86":"7938",f600eb30:"8558","436fd1e4":"8645","9958a938":"8646",c10b2ba3:"8888","730f732a":"8998","7f5eb84b":"9069","95f41f41":"9209","3a45f1c7":"9239","1cfe139a":"9484","1be78505":"9514","7402041a":"9557","14eb3368":"9817","935b7169":"9829","7d14206d":"9896",adcb0710:"9945",f477c445:"9990"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,f)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var d=new Promise(((f,d)=>b=e[a]=[f,d]));f.push(b[2]=d);var t=r.p+r.u(a),c=new Error;r.l(t,(f=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var d=f&&("load"===f.type?"missing":f.type),t=f&&f.target&&f.target.src;c.message="Loading chunk "+a+" failed.\n("+d+": "+t+")",c.name="ChunkLoadError",c.type=d,c.request=t,b[1](c)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var b,d,t=f[0],c=f[1],o=f[2],n=0;if(t.some((a=>0!==e[a]))){for(b in c)r.o(c,b)&&(r.m[b]=c[b]);if(o)var i=o(r)}for(a&&a(f);n<t.length;n++)d=t[n],r.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return r.O(i)},f=self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[];f.forEach(a.bind(null,0)),f.push=a.bind(null,f.push.bind(f))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.f7675120.js b/assets/js/runtime~main.f7675120.js new file mode 100644 index 0000000..8c08dee --- /dev/null +++ b/assets/js/runtime~main.f7675120.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,f,b,t,c={},r={};function d(e){var a=r[e];if(void 0!==a)return a.exports;var f=r[e]={exports:{}};return c[e].call(f.exports,f,f.exports,d),f.exports}d.m=c,e=[],d.O=(a,f,b,t)=>{if(!f){var c=1/0;for(i=0;i<e.length;i++){f=e[i][0],b=e[i][1],t=e[i][2];for(var r=!0,o=0;o<f.length;o++)(!1&t||c>=t)&&Object.keys(d.O).every((e=>d.O[e](f[o])))?f.splice(o--,1):(r=!1,t<c&&(c=t));if(r){e.splice(i--,1);var n=b();void 0!==n&&(a=n)}}return a}t=t||0;for(var i=e.length;i>0&&e[i-1][2]>t;i--)e[i]=e[i-1];e[i]=[f,b,t]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var t=Object.create(null);d.r(t);var c={};a=a||[null,f({}),f([]),f(f)];for(var r=2&b&&e;"object"==typeof r&&!~a.indexOf(r);r=f(r))Object.getOwnPropertyNames(r).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,d.d(t,c),t},d.d=(e,a)=>{for(var f in a)d.o(a,f)&&!d.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,f)=>(d.f[f](e,a),a)),[])),d.u=e=>"assets/js/"+({53:"935f2afb",265:"94be2f97",322:"1bb5842c",924:"e73c34ba",1069:"cc1aedd7",1161:"4787fd9f",1188:"aa86ff20",1328:"8d25c1fb",1400:"24767a4f",1408:"5b19e069",1493:"407354e8",1744:"70097127",1946:"31e029c9",2097:"b0736eaa",2321:"c56934f7",2386:"d5b87c6b",2814:"74b23640",2934:"0124b8bf",3153:"ff470113",3159:"bcda6bdc",3237:"1df93b7f",3814:"5d454204",3895:"17c5701b",4368:"a94703ab",4483:"3666eb9e",5020:"0314676f",5073:"7ad22d07",5087:"1476a8a4",5187:"49b00a7f",5672:"a66dadf2",5710:"4b7010bf",5937:"ff301dc0",6090:"2eb66e86",6117:"82b1394b",6516:"bcaac1db",6573:"399d2a39",6831:"281947f5",6971:"c377a04b",6998:"334fbae1",7071:"7135efbc",7291:"01e0afe4",7374:"0cb0f7cb",7386:"ef61de09",7473:"181303e3",7655:"ead7330c",7679:"a3102611",7918:"17896441",7938:"3fa31a86",8518:"a7bd4aaa",8558:"f600eb30",8646:"9958a938",8888:"c10b2ba3",8998:"730f732a",9069:"7f5eb84b",9209:"95f41f41",9239:"3a45f1c7",9484:"1cfe139a",9557:"7402041a",9661:"5e95c892",9817:"14eb3368",9896:"7d14206d",9945:"adcb0710",9990:"f477c445"}[e]||e)+"."+{53:"8e153e26",265:"03162f3c",322:"0dda42b8",924:"0d8be8ea",1069:"79c64f57",1161:"15fa7793",1188:"19cba91b",1328:"2b16981b",1400:"74b80371",1408:"15947364",1493:"79755485",1744:"e0004669",1772:"44679dd4",1946:"9d3c63b6",2097:"aad426e9",2321:"8e3103e5",2386:"06308e0d",2814:"b7ba9192",2934:"e95477ab",3153:"b73e04fe",3159:"82e92352",3237:"46e4da64",3814:"2c28231e",3895:"0c574820",4368:"936e2c37",4483:"78798a89",5020:"e709c05d",5073:"c62f7fde",5087:"956acaa2",5187:"fcdcb0c2",5672:"804eb26b",5710:"cdfc4910",5937:"08dc00c3",6090:"13cacfbe",6117:"c3d1f722",6516:"e2c36ed3",6573:"616fc433",6831:"046e7e9b",6971:"d499c0f1",6998:"8f27ce28",7071:"014508c3",7291:"34057d77",7374:"196c8d6b",7386:"8ca3a6aa",7473:"7ad76c60",7655:"bea349ed",7679:"babbc858",7918:"4208fb36",7938:"ea7fa94f",8518:"9935b610",8558:"1218363a",8646:"8cb4cff7",8888:"3231a4da",8998:"53c7e01b",9069:"5347e75f",9209:"d0412338",9239:"31188328",9484:"99e989ee",9557:"c9221ca9",9661:"f07c34e3",9817:"dbedd089",9896:"9265b283",9945:"1aa3f7c6",9990:"65475447"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},t="react-native-android-widget-docs:",d.l=(e,a,f,c)=>{if(b[e])b[e].push(a);else{var r,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==t+f){r=u;break}}r||(o=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,d.nc&&r.setAttribute("nonce",d.nc),r.setAttribute("data-webpack",t+f),r.src=e),b[e]=[a];var l=(a,f)=>{r.onerror=r.onload=null,clearTimeout(s);var t=b[e];if(delete b[e],r.parentNode&&r.parentNode.removeChild(r),t&&t.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/react-native-android-widget/",d.gca=function(e){return e={17896441:"7918",70097127:"1744","935f2afb":"53","94be2f97":"265","1bb5842c":"322",e73c34ba:"924",cc1aedd7:"1069","4787fd9f":"1161",aa86ff20:"1188","8d25c1fb":"1328","24767a4f":"1400","5b19e069":"1408","407354e8":"1493","31e029c9":"1946",b0736eaa:"2097",c56934f7:"2321",d5b87c6b:"2386","74b23640":"2814","0124b8bf":"2934",ff470113:"3153",bcda6bdc:"3159","1df93b7f":"3237","5d454204":"3814","17c5701b":"3895",a94703ab:"4368","3666eb9e":"4483","0314676f":"5020","7ad22d07":"5073","1476a8a4":"5087","49b00a7f":"5187",a66dadf2:"5672","4b7010bf":"5710",ff301dc0:"5937","2eb66e86":"6090","82b1394b":"6117",bcaac1db:"6516","399d2a39":"6573","281947f5":"6831",c377a04b:"6971","334fbae1":"6998","7135efbc":"7071","01e0afe4":"7291","0cb0f7cb":"7374",ef61de09:"7386","181303e3":"7473",ead7330c:"7655",a3102611:"7679","3fa31a86":"7938",a7bd4aaa:"8518",f600eb30:"8558","9958a938":"8646",c10b2ba3:"8888","730f732a":"8998","7f5eb84b":"9069","95f41f41":"9209","3a45f1c7":"9239","1cfe139a":"9484","7402041a":"9557","5e95c892":"9661","14eb3368":"9817","7d14206d":"9896",adcb0710:"9945",f477c445:"9990"}[e]||e,d.p+d.u(e)},(()=>{var e={1303:0,532:0};d.f.j=(a,f)=>{var b=d.o(e,a)?e[a]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var t=new Promise(((f,t)=>b=e[a]=[f,t]));f.push(b[2]=t);var c=d.p+d.u(a),r=new Error;d.l(c,(f=>{if(d.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var t=f&&("load"===f.type?"missing":f.type),c=f&&f.target&&f.target.src;r.message="Loading chunk "+a+" failed.\n("+t+": "+c+")",r.name="ChunkLoadError",r.type=t,r.request=c,b[1](r)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,f)=>{var b,t,c=f[0],r=f[1],o=f[2],n=0;if(c.some((a=>0!==e[a]))){for(b in r)d.o(r,b)&&(d.m[b]=r[b]);if(o)var i=o(d)}for(a&&a(f);n<c.length;n++)t=c[n],d.o(e,t)&&e[t]&&e[t][0](),e[t]=0;return d.O(i)},f=self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[];f.forEach(a.bind(null,0)),f.push=a.bind(null,f.push.bind(f))})()})(); \ No newline at end of file diff --git a/docs.html b/docs.html index e6421ed..20cef8b 100644 --- a/docs.html +++ b/docs.html @@ -1,19 +1,23 @@ <!doctype html> -<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-index"> +<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-index" data-has-hydrated="false"> <head> <meta charset="UTF-8"> -<meta name="generator" content="Docusaurus v2.4.0"> -<title data-rh="true">Getting Started | React Native Android Widget + +Getting Started | React Native Android Widget - - - + + + -
-

React Native Android Widget

React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.

Get started building by installing React Native Android Widget or by following the Tutorial to learn the main concepts.

Getting Started

Get started by installing the library.

npm install --save react-native-android-widget
- - +

React Native Android Widget

+

React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.

+

Get started building by installing React Native Android Widget or by following the Tutorial to learn the main concepts.

+

Getting Started

+

Get started by installing the library.

+ + +
npm install --save react-native-android-widget
\ No newline at end of file diff --git a/docs/api/register-widget-configuration-screen.html b/docs/api/register-widget-configuration-screen.html index 77db26c..3635ecf 100644 --- a/docs/api/register-widget-configuration-screen.html +++ b/docs/api/register-widget-configuration-screen.html @@ -1,22 +1,43 @@ - + - -registerWidgetConfigurationScreen | React Native Android Widget + +registerWidgetConfigurationScreen | React Native Android Widget - - - + + + -
-

registerWidgetConfigurationScreen

react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.

The user can cancel the configuration (by calling setResult('cancel')). -If the widget was just added it will be removed from the home screen, otherwise just the conifuguration will be canceled and the widget will remain as is.

If the user changes some configuration and wants to add the widget, we will need to:

  • Call renderWidget to update the widget with the new configuration
  • Call setResult('ok') to indicate that the configuration is done and the screen can be closed

Multiple configurable widgets

If we have multiple configurable widgets, they will share the same configuration screen, -but we can check which widget is configured by the widgetInfo prop and show different UI depending on the widget.

Usage

First, create a widget configuration component, containing:

WidgetConfigurationScreen.tsx
import React from 'react';
import type { WidgetConfigurationScreenProps } from 'react-native-android-widget';
import { ConfigurableWidget } from './ConfigurableWidget';

export function WidgetConfigurationScreen({
widgetInfo,
setResult,
renderWidget,
}: WidgetConfigurationScreenProps) {
// Here we can define the UI for configuring the widget
}

Register the widget configuration screen

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget configuration screen.

index.ts
import { AppRegistry } from 'react-native';
import {
registerWidgetConfigurationScreen,
registerWidgetTaskHandler,
} from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';
import { WidgetConfigurationScreen } from './WidgetConfigurationScreen';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);
registerWidgetConfigurationScreen(WidgetConfigurationScreen);

Register widget task handler (Expo)

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}

Create the file, using node_modules/expo/AppEntry.js as a template. -Then import widgetTaskHandler and register it.

index.ts
import { registerRootComponent } from 'expo';
import {
registerWidgetConfigurationScreen,
registerWidgetTaskHandler,
} from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';
import { WidgetConfigurationScreen } from './WidgetConfigurationScreen';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);
registerWidgetConfigurationScreen(WidgetConfigurationScreen);

Types

Check the types in the Public API documentation

The widget configuration screen has some properties, described with WidgetConfigurationScreenProps

- - +

registerWidgetConfigurationScreen

+

react-native-android-widget exports a registerWidgetConfigurationScreen function that can be used to register a widget configuration screen. When a configurable widget is added on the home screen, or reconfigured once on the home screen, the registered configuration screen will be opened.

+

The user can cancel the configuration (by calling setResult('cancel')). +If the widget was just added it will be removed from the home screen, otherwise just the conifuguration will be canceled and the widget will remain as is.

+

If the user changes some configuration and wants to add the widget, we will need to:

+
    +
  • Call renderWidget to update the widget with the new configuration
  • +
  • Call setResult('ok') to indicate that the configuration is done and the screen can be closed
  • +
+

Multiple configurable widgets

+

If we have multiple configurable widgets, they will share the same configuration screen, +but we can check which widget is configured by the widgetInfo prop and show different UI depending on the widget.

+

Usage

+

First, create a widget configuration component, containing:

+
WidgetConfigurationScreen.tsx
import React from 'react';
import type { WidgetConfigurationScreenProps } from 'react-native-android-widget';
import { ConfigurableWidget } from './ConfigurableWidget';

export function WidgetConfigurationScreen({
widgetInfo,
setResult,
renderWidget,
}: WidgetConfigurationScreenProps) {
// Here we can define the UI for configuring the widget
}
+

Register the widget configuration screen

+

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget configuration screen.

+
index.ts
import { AppRegistry } from 'react-native';
import {
registerWidgetConfigurationScreen,
registerWidgetTaskHandler,
} from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';
import { WidgetConfigurationScreen } from './WidgetConfigurationScreen';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);
registerWidgetConfigurationScreen(WidgetConfigurationScreen);
+

Register widget task handler (Expo)

+

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

+

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

+
package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}
+

Create the file, using node_modules/expo/AppEntry.js as a template. +Then import widgetTaskHandler and register it.

+
index.ts
import { registerRootComponent } from 'expo';
import {
registerWidgetConfigurationScreen,
registerWidgetTaskHandler,
} from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';
import { WidgetConfigurationScreen } from './WidgetConfigurationScreen';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);
registerWidgetConfigurationScreen(WidgetConfigurationScreen);
+

Types

+

Check the types in the Public API documentation

+

The widget configuration screen has some properties, described with WidgetConfigurationScreenProps

\ No newline at end of file diff --git a/docs/api/register-widget-task-handler.html b/docs/api/register-widget-task-handler.html index 19df1ef..ec314ce 100644 --- a/docs/api/register-widget-task-handler.html +++ b/docs/api/register-widget-task-handler.html @@ -1,20 +1,36 @@ - + - -registerWidgetTaskHandler | React Native Android Widget + +registerWidgetTaskHandler | React Native Android Widget - - - + + + -
-

registerWidgetTaskHandler

react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...

Usage

First, create a task handler function, containing:

widget-task-handler.tsx
import React from 'react';
import type { WidgetTaskHandlerProps } from 'react-native-android-widget';
import { HelloWidget } from './HelloWidget';

const nameToWidget = {
// Hello will be the **name** with which we will reference our widget.
Hello: HelloWidget,
};

export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
const widgetInfo = props.widgetInfo;
const Widget =
nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];

switch (props.widgetAction) {
case 'WIDGET_ADDED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_UPDATE':
props.renderWidget(<Widget />);
break;

case 'WIDGET_RESIZED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_DELETED':
// Handle widget deleted (remove widget data if you stored it somewhere)
break;

case 'WIDGET_CLICK':
if (props.clickAction === 'play') {
props.renderWidget(<Widget status="playing" />);
} else {
props.renderWidget(<Widget status="stopped" />);
}
break;

default:
break;
}
}

We use nameToWidget to map from the name to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this.

This file is also where you can execute regular JS code, include asynchronous operations, such as fetching data from API:

widget-task-handler.tsx
// ...
case 'WIDGET_CLICK':
if (props.clickAction === 'refresh') {
const data = await fetch('https://example.com/api').then((response) => response.json());
props.renderWidget(<Widget title={data.title} />);
}
break;

Register widget task handler

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget task handler.

index.ts
import { AppRegistry } from 'react-native';
import { registerWidgetTaskHandler } from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);

Register widget task handler (Expo)

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}

Create the file, using node_modules/expo/AppEntry.js as a template. -Then import widgetTaskHandler and register it.

index.ts
import { registerRootComponent } from 'expo';
import { registerWidgetTaskHandler } from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);

Types

Check the types in the Public API documentation

The widget task handler will be called with some properties, described with WidgetTaskHandlerProps

- - +

registerWidgetTaskHandler

+

react-native-android-widget exports a registerWidgetTaskHandler function that can be used to register a task handler that can handle widget click events, widget resize events, widget added events...

+

Usage

+

First, create a task handler function, containing:

+
widget-task-handler.tsx
import React from 'react';
import type { WidgetTaskHandlerProps } from 'react-native-android-widget';
import { HelloWidget } from './HelloWidget';

const nameToWidget = {
// Hello will be the **name** with which we will reference our widget.
Hello: HelloWidget,
};

export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
const widgetInfo = props.widgetInfo;
const Widget =
nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];

switch (props.widgetAction) {
case 'WIDGET_ADDED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_UPDATE':
props.renderWidget(<Widget />);
break;

case 'WIDGET_RESIZED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_DELETED':
// Handle widget deleted (remove widget data if you stored it somewhere)
break;

case 'WIDGET_CLICK':
if (props.clickAction === 'play') {
props.renderWidget(<Widget status="playing" />);
} else {
props.renderWidget(<Widget status="stopped" />);
}
break;

default:
break;
}
}
+

We use nameToWidget to map from the name to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this.

+

This file is also where you can execute regular JS code, include asynchronous operations, such as fetching data from API:

+
widget-task-handler.tsx
// ...
case 'WIDGET_CLICK':
if (props.clickAction === 'refresh') {
const data = await fetch('https://example.com/api').then((response) => response.json());
props.renderWidget(<Widget title={data.title} />);
}
break;
+

Register widget task handler

+

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget task handler.

+
index.ts
import { AppRegistry } from 'react-native';
import { registerWidgetTaskHandler } from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);
+

Register widget task handler (Expo)

+

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

+

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

+
package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}
+

Create the file, using node_modules/expo/AppEntry.js as a template. +Then import widgetTaskHandler and register it.

+
index.ts
import { registerRootComponent } from 'expo';
import { registerWidgetTaskHandler } from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);
+

Types

+

Check the types in the Public API documentation

+

The widget task handler will be called with some properties, described with WidgetTaskHandlerProps

\ No newline at end of file diff --git a/docs/api/request-widget-update.html b/docs/api/request-widget-update.html index 34bcd1a..db3e16a 100644 --- a/docs/api/request-widget-update.html +++ b/docs/api/request-widget-update.html @@ -1,19 +1,30 @@ - + - -requestWidgetUpdate | React Native Android Widget + +requestWidgetUpdate | React Native Android Widget - - - + + + -
-

requestWidgetUpdate

react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).

Since the user can add the same widget multiple times, with different sizes, requestWidgetUpdate will cycle all widgets and allow us to redraw them.

Usage

Lets assume we have a CounterWidget widget that shows a single number, which it gets as a prop.

If the user has added a CounterWidget to the home screen, then when the CounterWidgetScreen is opened we can update the number shown on the widget on the home screen using requestWidgetUpdate.

If the user has added the CounterWidget multiple times, renderWidget will be called multiple times, once for each widget.

If the user has not added the CounterWidget on the Android home screen, the optional callback widgetNotFound will be called.

Example

CounterScreen.tsx
import * as React from 'react';
import { Button, StyleSheet, View, Text } from 'react-native';
import { requestWidgetUpdate } from 'react-native-android-widget';

import { CounterWidget } from './CounterWidget';

export function CounterScreen() {
const [count, setCount] = React.useState(0);

React.useEffect(() => {
requestWidgetUpdate({
widgetName: 'Counter',
renderWidget: () => <CounterWidget count={count} />,
widgetNotFound: () => {
// Called if no widget is present on the home screen
}
});
}, [count]);

return (
<View style={styles.container}>
<Text>{count}</Text>
<Button title="Increment" onPress={() => setCount(count + 1)} />
<Button title="Decrement" onPress={() => setCount(count - 1)} />
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});

Demo

Check the full code in the Counter Screen

Types

Check the types in the Public API documentation

The requestWidgetUpdate function should be called with the properties described with RequestWidgetUpdateProps

- - +

requestWidgetUpdate

+

react-native-android-widget exports a requestWidgetUpdate function that can be used to request a widget update while the application is open (or with some background task).

+

Since the user can add the same widget multiple times, with different sizes, requestWidgetUpdate will cycle all widgets and allow us to redraw them.

+

Usage

+

Lets assume we have a CounterWidget widget that shows a single number, which it gets as a prop.

+

If the user has added a CounterWidget to the home screen, then when the CounterWidgetScreen is opened we can update the number shown on the widget on the home screen using requestWidgetUpdate.

+

If the user has added the CounterWidget multiple times, renderWidget will be called multiple times, once for each widget.

+

If the user has not added the CounterWidget on the Android home screen, the optional callback widgetNotFound will be called.

+

Example

+
CounterScreen.tsx
import * as React from 'react';
import { Button, StyleSheet, View, Text } from 'react-native';
import { requestWidgetUpdate } from 'react-native-android-widget';

import { CounterWidget } from './CounterWidget';

export function CounterScreen() {
const [count, setCount] = React.useState(0);

React.useEffect(() => {
requestWidgetUpdate({
widgetName: 'Counter',
renderWidget: () => <CounterWidget count={count} />,
widgetNotFound: () => {
// Called if no widget is present on the home screen
}
});
}, [count]);

return (
<View style={styles.container}>
<Text>{count}</Text>
<Button title="Increment" onPress={() => setCount(count + 1)} />
<Button title="Decrement" onPress={() => setCount(count - 1)} />
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});
+

Demo

+

Check the full code in the Counter Screen

+

Types

+

Check the types in the Public API documentation

+

The requestWidgetUpdate function should be called with the properties described with RequestWidgetUpdateProps

\ No newline at end of file diff --git a/docs/api/widget-preview.html b/docs/api/widget-preview.html index 44eb9fd..e2ae9ec 100644 --- a/docs/api/widget-preview.html +++ b/docs/api/widget-preview.html @@ -1,19 +1,21 @@ - + - -WidgetPreview | React Native Android Widget + +WidgetPreview | React Native Android Widget - - - + + + -
-

WidgetPreview

react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.

Usage

HelloWidgetPreviewScreen.tsx
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { WidgetPreview } from 'react-native-android-widget';

import { HelloWidget } from './HelloWidget';

export function HelloWidgetPreviewScreen() {
return (
<View style={styles.container}>
<WidgetPreview
renderWidget={() => <HelloWidget />}
width={320}
height={200}
/>
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});

Types

Check the types in the Public API documentation

- - +

WidgetPreview

+

react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.

+

Usage

+
HelloWidgetPreviewScreen.tsx
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { WidgetPreview } from 'react-native-android-widget';

import { HelloWidget } from './HelloWidget';

export function HelloWidgetPreviewScreen() {
return (
<View style={styles.container}>
<WidgetPreview
renderWidget={() => <HelloWidget />}
width={320}
height={200}
/>
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});
+

Types

+

Check the types in the Public API documentation

\ No newline at end of file diff --git a/docs/demo.html b/docs/demo.html index 2aefe3d..f4a611f 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -1,19 +1,35 @@ - + - -Demo | React Native Android Widget + +Demo | React Native Android Widget - - - + + + -
-

Demo

You can download the demo app with the example widgets from the Releases Page

Fitness Widget Preview

Fitness Widget Preview

List Widget Preview

List Widget Preview

Resizable Music Widget Preview

Resizable Music Widget Preview

Rotated Widget Preview

Rotated Widget Preview

Shopify Widget Preview

Shopify Widget Preview

Click Demo Widget Preview

Click Demo Widget Preview

Counter Widget Preview

Counter Widget Preview

Configurable Widget Preview

Configurable Widget Preview

Debug Events Widget Preview

Debug Events Widget Preview

- - +

Demo

+

You can download the demo app with the example widgets from the Releases Page

+

Fitness Widget Preview

+

Fitness Widget Preview

+

List Widget Preview

+

List Widget Preview

+

Resizable Music Widget Preview

+

Resizable Music Widget Preview

+

Rotated Widget Preview

+

Rotated Widget Preview

+

Shopify Widget Preview

+

Shopify Widget Preview

+

Click Demo Widget Preview

+

Click Demo Widget Preview

+

Counter Widget Preview

+

Counter Widget Preview

+

Configurable Widget Preview

+

Configurable Widget Preview

+

Debug Events Widget Preview

+

Debug Events Widget Preview

\ No newline at end of file diff --git a/docs/handling-clicks.html b/docs/handling-clicks.html index fa511b0..a4ad036 100644 --- a/docs/handling-clicks.html +++ b/docs/handling-clicks.html @@ -1,22 +1,45 @@ - + - -Handling Clicks | React Native Android Widget + +Handling Clicks | React Native Android Widget - - - + + + -
-

Handling Clicks

All widget primitives can be clicked, and execute some code.

To add a click action to FlexWidget, we need to pass a clickAction prop, and an optional clickActionData prop. clickActionData can be used to add additional data that we need.

import { FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget clickAction="MY_ACTION" clickActionData={{ id: 0 }}>
...
</FlexWidget>
);
}

Inside our registerWidgetTaskHandler handler we can check for the widgetAction, and if the widgetAction is WIDGET_CLICK, props.clickAction will be the clickAction we set to the View.

export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
switch (props.widgetAction) {
case 'WIDGET_ADDED':
// ...;
break;

case 'WIDGET_UPDATE':
// ...;
break;

case 'WIDGET_RESIZED':
// ...;
break;

case 'WIDGET_DELETED':
// ...;
break;

case 'WIDGET_CLICK':
if (props.clickAction === 'MY_ACTION') {
// Do stuff when primitive with `clickAction="MY_ACTION"` is clicked
// props.clickActionData === { id: 0 }
}
break;

default:
break;
}
}

Special cases

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

  • "OPEN_APP"

    This clickAction does not required clickActionData, and if set on a section of -the widget it will open the application when clicked

  • "OPEN_URI"

    This clickAction requires a clickActionData that contains { uri: 'some-uri' }. -The uri can be a web uri (https://google.com), or an app deep link (androidwidgetexample://deep-link)

    For the deep link to open a screen in the app deep linking must be set up using:

Demo

All click action types are presend in the Click Demo widget in the demo app.

- - +

Handling Clicks

+

All widget primitives can be clicked, and execute some code.

+

To add a click action to FlexWidget, we need to pass a clickAction prop, and an optional clickActionData prop. clickActionData can be used to add additional data that we need.

+
import { FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget clickAction="MY_ACTION" clickActionData={{ id: 0 }}>
...
</FlexWidget>
);
}
+

Inside our registerWidgetTaskHandler handler we can check for the widgetAction, and if the widgetAction is WIDGET_CLICK, props.clickAction will be the clickAction we set to the View.

+
export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
switch (props.widgetAction) {
case 'WIDGET_ADDED':
// ...;
break;

case 'WIDGET_UPDATE':
// ...;
break;

case 'WIDGET_RESIZED':
// ...;
break;

case 'WIDGET_DELETED':
// ...;
break;

case 'WIDGET_CLICK':
if (props.clickAction === 'MY_ACTION') {
// Do stuff when primitive with `clickAction="MY_ACTION"` is clicked
// props.clickActionData === { id: 0 }
}
break;

default:
break;
}
}
+

Special cases

+

There are a few special values for clickAction that will not emit the action, +but will execute the action in the background.

+

Those are:

+
    +
  • +

    "OPEN_APP"

    +

    This clickAction does not required clickActionData, and if set on a section of +the widget it will open the application when clicked

    +
  • +
  • +

    "OPEN_URI"

    +

    This clickAction requires a clickActionData that contains { uri: 'some-uri' }. +The uri can be a web uri (https://google.com), or an app deep link (androidwidgetexample://deep-link)

    +

    For the deep link to open a screen in the app deep linking must be set up using:

    + +
  • +
+

Demo

+

All click action types are presend in the Click Demo widget in the demo app.

\ No newline at end of file diff --git a/docs/limitations.html b/docs/limitations.html index 701c6ad..6e2a5e1 100644 --- a/docs/limitations.html +++ b/docs/limitations.html @@ -1,21 +1,24 @@ - + - -Limitations | React Native Android Widget + +Limitations | React Native Android Widget - - - + + + -
-

Limitations

There are some limitations to this library.

We cannot render React Native views directly to the widget. +

Limitations

+

There are some limitations to this library.

+

We cannot render React Native views directly to the widget. What this library does is render the React Native views to an image, and then show that image in the widget. -For it to look good, we need to know the exact size of the widget, so we can create an image that will fit the widget correctly.

On some Android launchers, the reported and actual size of the widget are not always the same.

Actual size

Actual size (365dp x 318dp)

Reported size

Reported size (365dp x 354dp)

I haven't found a reliable way to get the exact size, the current behavior is to crop the widget if the reported size is smaller.

- - +For it to look good, we need to know the exact size of the widget, so we can create an image that will fit the widget correctly.

+

On some Android launchers, the reported and actual size of the widget are not always the same.

+

Actual size

Actual size (365dp x 318dp)
+

Reported size

Reported size (365dp x 354dp)
+

I haven't found a reliable way to get the exact size, the current behavior is to crop the widget if the reported size is smaller.

\ No newline at end of file diff --git a/docs/primitives/flex-widget.html b/docs/primitives/flex-widget.html index b577728..432d0d3 100644 --- a/docs/primitives/flex-widget.html +++ b/docs/primitives/flex-widget.html @@ -1,19 +1,21 @@ - + - -FlexWidget | React Native Android Widget + +FlexWidget | React Native Android Widget - - - + + + -
-

FlexWidget

Widget container that lays out child widgets using flexbox.

Usage

import { FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget
style={{
alignItems: 'center',
justifyContent: 'center',
}}
>
...
</FlexWidget>
);
}

Props

Check the props in the Public API documentation

- - +

FlexWidget

+

Widget container that lays out child widgets using flexbox.

+

Usage

+
import { FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget
style={{
alignItems: 'center',
justifyContent: 'center',
}}
>
...
</FlexWidget>
);
}
+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/primitives/icon-widget.html b/docs/primitives/icon-widget.html index d8eab4f..1c2fba7 100644 --- a/docs/primitives/icon-widget.html +++ b/docs/primitives/icon-widget.html @@ -1,19 +1,31 @@ - + - -IconWidget | React Native Android Widget + +IconWidget | React Native Android Widget - - - + + + -
-

IconWidget

Widget for displaying icons.

Usage

import { FlexWidget, IconWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<IconWidget font="material" size={36} icon="play_arrow" />
</FlexWidget>
);
}

Fonts

Icon widget supports custom fonts, but we must provide the font file.

Bare React Native

To use a custom icon font in bare React Native app we must copy the font file(s) to android/app/src/main/assets/fonts. The font prop will match the file by name.

For example, android/app/src/main/assets/fonts/material.ttf

Expo

To use a custom font in an Expo app, we can add them in the assets directory.

For example, assets/fonts/material.ttf

Then, when using the config plugin we must provide a list of all the custom fonts we need.

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [
['react-native-android-widget', {
fonts: ['./assets/fonts/material.ttf'],
widgets: [...],
}]
],
});

Props

Check the props in the Public API documentation

- - +

IconWidget

+

Widget for displaying icons.

+

Usage

+
import { FlexWidget, IconWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<IconWidget font="material" size={36} icon="play_arrow" />
</FlexWidget>
);
}
+

Fonts

+

Icon widget supports custom fonts, but we must provide the font file.

+

Bare React Native

+

To use a custom icon font in bare React Native app we must copy the font file(s) to android/app/src/main/assets/fonts. The font prop will match the file by name.

+

For example, android/app/src/main/assets/fonts/material.ttf

+

Expo

+

To use a custom font in an Expo app, we can add them in the assets directory.

+

For example, assets/fonts/material.ttf

+

Then, when using the config plugin we must provide a list of all the custom fonts we need.

+
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [
['react-native-android-widget', {
fonts: ['./assets/fonts/material.ttf'],
widgets: [...],
}]
],
});
+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/primitives/image-widget.html b/docs/primitives/image-widget.html index f4a26e4..f2a0f3c 100644 --- a/docs/primitives/image-widget.html +++ b/docs/primitives/image-widget.html @@ -1,19 +1,21 @@ - + - -ImageWidget | React Native Android Widget + +ImageWidget | React Native Android Widget - - - + + + -
-

ImageWidget

Widget for displaying different types of images, including network images, data:/image images, and static resources.

Usage

import { FlexWidget, ImageWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<ImageWidget
image={require('../assets/image-file.jpg')}
imageWidth={88}
imageHeight={88}
/>
</FlexWidget>
);
}

Props

Check the props in the Public API documentation

- - +

ImageWidget

+

Widget for displaying different types of images, including network images, data:/image images, and static resources.

+

Usage

+
import { FlexWidget, ImageWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<ImageWidget
image={require('../assets/image-file.jpg')}
imageWidth={88}
imageHeight={88}
/>
</FlexWidget>
);
}
+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/primitives/index.html b/docs/primitives/index.html index 29a939c..439820f 100644 --- a/docs/primitives/index.html +++ b/docs/primitives/index.html @@ -1,19 +1,16 @@ - + - -Widget Primitives | React Native Android Widget + +Widget Primitives | React Native Android Widget - - - + + + - - - + \ No newline at end of file diff --git a/docs/primitives/list-widget.html b/docs/primitives/list-widget.html index 73e9dc8..2add762 100644 --- a/docs/primitives/list-widget.html +++ b/docs/primitives/list-widget.html @@ -1,19 +1,26 @@ - + - -ListWidget | React Native Android Widget + +ListWidget | React Native Android Widget - - - + + + -
-

ListWidget

Widget container that shows a scrollable list that can contain multiple items.

List item height

Each list item must have a height of equal or less than the height of the ListWidget.

Usage

import {
ListWidget,
FlexWidget,
TextWidget,
} from 'react-native-android-widget';

export function MyWidget() {
return (
<ListWidget
style={{
height: 'match_parent',
width: 'match_parent',
backgroundColor: '#1F3529',
}}
>
{Array.from({ length: 15 }).map((_, i) => (
<FlexWidget
key={i}
style={{
width: 'match_parent',
alignItems: 'center',
flexDirection: 'row',
justifyContent: 'center',
padding: 8,
}}
clickAction="OPEN_URI"
clickActionData={{
uri: `androidwidgetexample://list/list-demo/${i + 1}`,
}}
>
<TextWidget text={`React Native Android Widget Release 0.${i + 1}`} />
</FlexWidget>
))}
</ListWidget>
);
}

Props

Check the props in the Public API documentation

Example

You can see an example widget using ListWidget in the examples folder in the repo.

ListDemoWidget

List Widget Preview

- - +

ListWidget

+

Widget container that shows a scrollable list that can contain multiple items.

+
List item height

Each list item must have a height of equal or less than the height of the ListWidget.

+

Usage

+
import {
ListWidget,
FlexWidget,
TextWidget,
} from 'react-native-android-widget';

export function MyWidget() {
return (
<ListWidget
style={{
height: 'match_parent',
width: 'match_parent',
backgroundColor: '#1F3529',
}}
>
{Array.from({ length: 15 }).map((_, i) => (
<FlexWidget
key={i}
style={{
width: 'match_parent',
alignItems: 'center',
flexDirection: 'row',
justifyContent: 'center',
padding: 8,
}}
clickAction="OPEN_URI"
clickActionData={{
uri: `androidwidgetexample://list/list-demo/${i + 1}`,
}}
>
<TextWidget text={`React Native Android Widget Release 0.${i + 1}`} />
</FlexWidget>
))}
</ListWidget>
);
}
+

Props

+

Check the props in the Public API documentation

+

Example

+

You can see an example widget using ListWidget in the examples folder in the repo.

+

ListDemoWidget

+

List Widget Preview

\ No newline at end of file diff --git a/docs/primitives/overlap-widget.html b/docs/primitives/overlap-widget.html index 3b74045..2c8df77 100644 --- a/docs/primitives/overlap-widget.html +++ b/docs/primitives/overlap-widget.html @@ -1,19 +1,22 @@ - + - -OverlapWidget | React Native Android Widget + +OverlapWidget | React Native Android Widget - - - + + + -
-

OverlapWidget

Widget container that lays out child widgets on on top of the other.

The child widgets can be positioned using margins.

Usage

import { OverlapWidget, FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<OverlapWidget>
<FlexWidget style={{ marginTop: 10, marginLeft: 10 }}>...</FlexWidget>
<FlexWidget style={{ marginTop: 20, marginLeft: 10 }}>...</FlexWidget>
</OverlapWidget>
);
}

Props

Check the props in the Public API documentation

- - +

OverlapWidget

+

Widget container that lays out child widgets on on top of the other.

+

The child widgets can be positioned using margins.

+

Usage

+
import { OverlapWidget, FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<OverlapWidget>
<FlexWidget style={{ marginTop: 10, marginLeft: 10 }}>...</FlexWidget>
<FlexWidget style={{ marginTop: 20, marginLeft: 10 }}>...</FlexWidget>
</OverlapWidget>
);
}
+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/primitives/svg-widget.html b/docs/primitives/svg-widget.html index a780c47..f6e7ac9 100644 --- a/docs/primitives/svg-widget.html +++ b/docs/primitives/svg-widget.html @@ -1,20 +1,22 @@ - + - -SvgWidget | React Native Android Widget + +SvgWidget | React Native Android Widget - - - + + + -
-

SvgWidget

Widget for displaying SVG. -It supports importing an SVG file, or using an SVG string;

Usage

import { FlexWidget, SvgWidget } from 'react-native-android-widget';

const svgString = `
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 300 300">
...
</svg>
`;

export function MyWidget() {
return (
<FlexWidget>
<SvgWidget
svg={require('../assets/SVG_Logo.svg')}
style={{ height: 72, width: 72 }}
/>

<SvgWidget
svg={svgString}
style={{ height: 72, width: 72 }}
/>
</FlexWidget>
);
}

Props

Check the props in the Public API documentation

- - +

SvgWidget

+

Widget for displaying SVG. +It supports importing an SVG file, or using an SVG string;

+

Usage

+
import { FlexWidget, SvgWidget } from 'react-native-android-widget';

const svgString = `
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 300 300">
...
</svg>
`;

export function MyWidget() {
return (
<FlexWidget>
<SvgWidget
svg={require('../assets/SVG_Logo.svg')}
style={{ height: 72, width: 72 }}
/>

<SvgWidget
svg={svgString}
style={{ height: 72, width: 72 }}
/>
</FlexWidget>
);
}
+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/primitives/text-widget.html b/docs/primitives/text-widget.html index 151629e..3368aee 100644 --- a/docs/primitives/text-widget.html +++ b/docs/primitives/text-widget.html @@ -1,19 +1,33 @@ - + - -TextWidget | React Native Android Widget + +TextWidget | React Native Android Widget - - - + + + -
-

TextWidget

Widget for displaying text.

Usage

import { FlexWidget, TextWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<TextWidget
text="Hello"
style={{
fontSize: 32,
fontFamily: 'Inter',
color: '#000000',
}}
/>
</FlexWidget>
);
}

Fonts

Text widget supports custom fonts, but we must provide the font file.

Bare React Native

To use a custom font in bare React Native app we must copy the font file(s) to android/app/src/main/assets/fonts. The fontFamily style prop will match the file by name.

For example, android/app/src/main/assets/fonts/Inter.ttf

Expo

To use a custom font in an Expo app, we can add them in the assets directory.

For example, assets/fonts/Inter.ttf

Then, when using the config plugin we must provide a list of all the custom fonts we need.

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [
['react-native-android-widget', {
fonts: ['./assets/fonts/Inter.ttf'],
widgets: [...],
}]
],
});

Example

Check the example widget

Props

Check the props in the Public API documentation

- - +

TextWidget

+

Widget for displaying text.

+

Usage

+
import { FlexWidget, TextWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget>
<TextWidget
text="Hello"
style={{
fontSize: 32,
fontFamily: 'Inter',
color: '#000000',
}}
/>
</FlexWidget>
);
}
+

Fonts

+

Text widget supports custom fonts, but we must provide the font file.

+

Bare React Native

+

To use a custom font in bare React Native app we must copy the font file(s) to android/app/src/main/assets/fonts. The fontFamily style prop will match the file by name.

+

For example, android/app/src/main/assets/fonts/Inter.ttf

+

Expo

+

To use a custom font in an Expo app, we can add them in the assets directory.

+

For example, assets/fonts/Inter.ttf

+

Then, when using the config plugin we must provide a list of all the custom fonts we need.

+
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [
['react-native-android-widget', {
fonts: ['./assets/fonts/Inter.ttf'],
widgets: [...],
}]
],
});
+

Example

+

Check the example widget

+

Props

+

Check the props in the Public API documentation

\ No newline at end of file diff --git a/docs/public-api.html b/docs/public-api.html index a7c9c8e..79a2bbf 100644 --- a/docs/public-api.html +++ b/docs/public-api.html @@ -1,20 +1,171 @@ - + - -react-native-android-widget | React Native Android Widget + +react-native-android-widget | React Native Android Widget - - - + + + -
-

react-native-android-widget

Interfaces

Namespaces

Functions

WidgetPreview

WidgetPreview(«destructured»): Element

Parameters

NameType
«destructured»WidgetPreviewProps

Returns

Element


getWidgetInfo

getWidgetInfo(widgetName): Promise<WidgetInfo[]>

Returns a list of widgetName widgets added on the home screen

Parameters

NameType
widgetNamestring

Returns

Promise<WidgetInfo[]>


registerWidgetConfigurationScreen

registerWidgetConfigurationScreen(WidgetConfigurationScreenComponent): void

Register a task handler that will handle widget actions

Parameters

NameType
WidgetConfigurationScreenComponentWidgetConfigurationScreen

Returns

void


registerWidgetTaskHandler

registerWidgetTaskHandler(handler): void

Register a task handler that will handle widget actions

Parameters

NameTypeDescription
handlerWidgetTaskHandlerWidgetTaskHandler

Returns

void


requestWidgetUpdate

requestWidgetUpdate(param0): Promise<void>

Request widget update for a given widget name -A callback will be called for each widget with that name that is added to the home screen

Parameters

NameTypeDescription
param0RequestWidgetUpdatePropsRequestWidgetUpdateProps

Returns

Promise<void>


FlexWidget

FlexWidget(«destructured»): any

Parameters

NameType
«destructured»FlexWidgetProps

Returns

any


IconWidget

IconWidget(_): null

Parameters

NameType
_IconWidgetProps

Returns

null


ImageWidget

ImageWidget(_): null

Parameters

NameType
_ImageWidgetProps

Returns

null


ListWidget

ListWidget(«destructured»): any

Parameters

NameType
«destructured»ListWidgetProps

Returns

any


OverlapWidget

OverlapWidget(«destructured»): any

Parameters

NameType
«destructured»OverlapWidgetProps

Returns

any


SvgWidget

SvgWidget(_): null

Parameters

NameType
_SvgWidgetProps

Returns

null


TextWidget

TextWidget(_): null

Parameters

NameType
_TextWidgetProps

Returns

null

Type Aliases

WidgetConfigurationScreen

Ƭ WidgetConfigurationScreen: (props: WidgetConfigurationScreenProps) => JSX.Element

Type declaration

▸ (props): JSX.Element

Parameters
NameType
propsWidgetConfigurationScreenProps
Returns

JSX.Element


WidgetTaskHandler

Ƭ WidgetTaskHandler: (props: WidgetTaskHandlerProps) => Promise<void>

Type declaration

▸ (props): Promise<void>

Parameters
NameType
propsWidgetTaskHandlerProps
Returns

Promise<void>


ResourcePath

Ƭ ResourcePath: `./${string}` | `../${string}`


ImageWidgetSource

Ƭ ImageWidgetSource: ImageRequireSource | `http:${string}` | `https:${string}` | `data:image${string}`


SvgWidgetStyle

Ƭ SvgWidgetStyle: CommonStyleProps


HexColor

Ƭ HexColor: `#${string}`


RgbaColor

Ƭ RgbaColor: `rgba(${number}, ${number}, ${number}, ${number})`


ColorProp

Ƭ ColorProp: HexColor | RgbaColor

- - +

react-native-android-widget

Interfaces

+ +

Type Aliases

+

WidgetConfigurationScreen

+

Ƭ WidgetConfigurationScreen: (props: WidgetConfigurationScreenProps) => JSX.Element

+

Type declaration

+

▸ (props): JSX.Element

+
Parameters
+
NameType
propsWidgetConfigurationScreenProps
+
Returns
+

JSX.Element

+
+

WidgetTaskHandler

+

Ƭ WidgetTaskHandler: (props: WidgetTaskHandlerProps) => Promise<void>

+

Type declaration

+

▸ (props): Promise<void>

+
Parameters
+
NameType
propsWidgetTaskHandlerProps
+
Returns
+

Promise<void>

+
+

ResourcePath

+

Ƭ ResourcePath: `./${string}` | `../${string}`

+
+

ImageWidgetSource

+

Ƭ ImageWidgetSource: ImageRequireSource | `http:${string}` | `https:${string}` | `data:image${string}`

+
+

SvgWidgetStyle

+

Ƭ SvgWidgetStyle: CommonStyleProps

+
+

HexColor

+

Ƭ HexColor: `#${string}`

+
+

RgbaColor

+

Ƭ RgbaColor: `rgba(${number}, ${number}, ${number}, ${number})`

+
+

ColorProp

+

Ƭ ColorProp: HexColor | RgbaColor

+

Functions

+

WidgetPreview

+

WidgetPreview(«destructured»): Element

+

Parameters

+
NameType
«destructured»WidgetPreviewProps
+

Returns

+

Element

+
+

getWidgetInfo

+

getWidgetInfo(widgetName): Promise<WidgetInfo[]>

+

Returns a list of widgetName widgets added on the home screen

+

Parameters

+
NameType
widgetNamestring
+

Returns

+

Promise<WidgetInfo[]>

+
+

registerWidgetConfigurationScreen

+

registerWidgetConfigurationScreen(WidgetConfigurationScreenComponent): void

+

Register a screen that will handle widget configuration

+

Parameters

+
NameTypeDescription
WidgetConfigurationScreenComponentWidgetConfigurationScreenWidgetConfigurationScreen
+

Returns

+

void

+
+

registerWidgetTaskHandler

+

registerWidgetTaskHandler(handler): void

+

Register a task handler that will handle widget actions

+

Parameters

+
NameTypeDescription
handlerWidgetTaskHandlerWidgetTaskHandler
+

Returns

+

void

+
+

requestWidgetUpdate

+

requestWidgetUpdate(param0): Promise<void>

+

Request widget update for a given widget name +A callback will be called for each widget with that name that is added to the home screen

+

Parameters

+
NameTypeDescription
param0RequestWidgetUpdatePropsRequestWidgetUpdateProps
+

Returns

+

Promise<void>

+
+

FlexWidget

+

FlexWidget(«destructured»): any

+

Parameters

+
NameType
«destructured»FlexWidgetProps
+

Returns

+

any

+
+

IconWidget

+

IconWidget(_): null

+

Parameters

+
NameType
_IconWidgetProps
+

Returns

+

null

+
+

ImageWidget

+

ImageWidget(_): null

+

Parameters

+
NameType
_ImageWidgetProps
+

Returns

+

null

+
+

ListWidget

+

ListWidget(«destructured»): any

+

Parameters

+
NameType
«destructured»ListWidgetProps
+

Returns

+

any

+
+

OverlapWidget

+

OverlapWidget(«destructured»): any

+

Parameters

+
NameType
«destructured»OverlapWidgetProps
+

Returns

+

any

+
+

SvgWidget

+

SvgWidget(_): null

+

Parameters

+
NameType
_SvgWidgetProps
+

Returns

+

null

+
+

TextWidget

+

TextWidget(_): null

+

Parameters

+
NameType
_TextWidgetProps
+

Returns

+

null

\ No newline at end of file diff --git a/docs/public-api/interfaces/BackgroundStyleProps.html b/docs/public-api/interfaces/BackgroundStyleProps.html index 5964307..9d4842d 100644 --- a/docs/public-api/interfaces/BackgroundStyleProps.html +++ b/docs/public-api/interfaces/BackgroundStyleProps.html @@ -1,19 +1,31 @@ - + - -Interface: BackgroundStyleProps | React Native Android Widget + +Interface: BackgroundStyleProps | React Native Android Widget - - - + + + -
-
- - +

Interface: BackgroundStyleProps

Hierarchy

+ +

Properties

+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
\ No newline at end of file diff --git a/docs/public-api/interfaces/BorderStyleProps.html b/docs/public-api/interfaces/BorderStyleProps.html index a16959d..42c8d79 100644 --- a/docs/public-api/interfaces/BorderStyleProps.html +++ b/docs/public-api/interfaces/BorderStyleProps.html @@ -1,19 +1,70 @@ - + - -Interface: BorderStyleProps | React Native Android Widget + +Interface: BorderStyleProps | React Native Android Widget - - - + + + -
-

Interface: BorderStyleProps

Hierarchy

Properties

borderWidth

Optional borderWidth: number


borderTopWidth

Optional borderTopWidth: number


borderBottomWidth

Optional borderBottomWidth: number


borderLeftWidth

Optional borderLeftWidth: number


borderRightWidth

Optional borderRightWidth: number


borderColor

Optional borderColor: ColorProp


borderTopColor

Optional borderTopColor: ColorProp


borderBottomColor

Optional borderBottomColor: ColorProp


borderLeftColor

Optional borderLeftColor: ColorProp


borderRightColor

Optional borderRightColor: ColorProp


borderRadius

Optional borderRadius: number


borderTopLeftRadius

Optional borderTopLeftRadius: number


borderTopRightRadius

Optional borderTopRightRadius: number


borderBottomLeftRadius

Optional borderBottomLeftRadius: number


borderBottomRightRadius

Optional borderBottomRightRadius: number


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

- - +

Interface: BorderStyleProps

Hierarchy

+ +

Properties

+

borderWidth

+

Optional borderWidth: number

+
+

borderTopWidth

+

Optional borderTopWidth: number

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+
+

borderRightWidth

+

Optional borderRightWidth: number

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

borderRadius

+

Optional borderRadius: number

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

\ No newline at end of file diff --git a/docs/public-api/interfaces/ClickActionProps.html b/docs/public-api/interfaces/ClickActionProps.html index 1b86751..d77067e 100644 --- a/docs/public-api/interfaces/ClickActionProps.html +++ b/docs/public-api/interfaces/ClickActionProps.html @@ -1,23 +1,46 @@ - + - -Interface: ClickActionProps | React Native Android Widget + +Interface: ClickActionProps | React Native Android Widget - - - + + + -
-

Interface: ClickActionProps

Hierarchy

Properties

clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

\ No newline at end of file diff --git a/docs/public-api/interfaces/CommonStyleProps.html b/docs/public-api/interfaces/CommonStyleProps.html index fb19e95..bf89825 100644 --- a/docs/public-api/interfaces/CommonStyleProps.html +++ b/docs/public-api/interfaces/CommonStyleProps.html @@ -1,19 +1,218 @@ - + - -Interface: CommonStyleProps | React Native Android Widget + +Interface: CommonStyleProps | React Native Android Widget - - - + + + -
-

Interface: CommonStyleProps

Hierarchy

Properties

margin

Optional margin: number

Inherited from

MarginStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

MarginStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

MarginStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

MarginStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

MarginStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

MarginStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

MarginStyleProps.marginRight


padding

Optional padding: number

Inherited from

PaddingStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

PaddingStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

PaddingStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

PaddingStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

PaddingStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

PaddingStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

PaddingStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

BackgroundStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

BackgroundStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

BorderStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

BorderStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

BorderStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

BorderStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

BorderStyleProps.borderRightWidth


borderColor

Optional borderColor: ColorProp

Inherited from

BorderStyleProps.borderColor


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

BorderStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

BorderStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

BorderStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

BorderStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

BorderStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

BorderStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

BorderStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

BorderStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

BorderStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

BorderStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

OtherStyleProps.rotation

- - +

Interface: CommonStyleProps

Hierarchy

+ +

Properties

+

margin

+

Optional margin: number

+

Inherited from

+

MarginStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

MarginStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

MarginStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

MarginStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

MarginStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

MarginStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

MarginStyleProps.marginRight

+
+

padding

+

Optional padding: number

+

Inherited from

+

PaddingStyleProps.padding

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+

Inherited from

+

PaddingStyleProps.paddingHorizontal

+
+

paddingVertical

+

Optional paddingVertical: number

+

Inherited from

+

PaddingStyleProps.paddingVertical

+
+

paddingTop

+

Optional paddingTop: number

+

Inherited from

+

PaddingStyleProps.paddingTop

+
+

paddingBottom

+

Optional paddingBottom: number

+

Inherited from

+

PaddingStyleProps.paddingBottom

+
+

paddingLeft

+

Optional paddingLeft: number

+

Inherited from

+

PaddingStyleProps.paddingLeft

+
+

paddingRight

+

Optional paddingRight: number

+

Inherited from

+

PaddingStyleProps.paddingRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

SizeStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

SizeStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BackgroundStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

BackgroundStyleProps.backgroundGradient

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

BorderStyleProps.borderWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

BorderStyleProps.borderTopWidth

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

BorderStyleProps.borderBottomWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

BorderStyleProps.borderLeftWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

BorderStyleProps.borderRightWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BorderStyleProps.borderColor

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BorderStyleProps.borderTopColor

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BorderStyleProps.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BorderStyleProps.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BorderStyleProps.borderRightColor

+
+

borderRadius

+

Optional borderRadius: number

+

Inherited from

+

BorderStyleProps.borderRadius

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+

Inherited from

+

BorderStyleProps.borderTopLeftRadius

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+

Inherited from

+

BorderStyleProps.borderTopRightRadius

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+

Inherited from

+

BorderStyleProps.borderBottomLeftRadius

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+

Inherited from

+

BorderStyleProps.borderBottomRightRadius

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

BorderStyleProps.borderStyle

+
+

rotation

+

Optional rotation: number

+

Inherited from

+

OtherStyleProps.rotation

\ No newline at end of file diff --git a/docs/public-api/interfaces/FlexWidgetProps.html b/docs/public-api/interfaces/FlexWidgetProps.html index 89f69c0..5fab233 100644 --- a/docs/public-api/interfaces/FlexWidgetProps.html +++ b/docs/public-api/interfaces/FlexWidgetProps.html @@ -1,23 +1,51 @@ - + - -Interface: FlexWidgetProps | React Native Android Widget + +Interface: FlexWidgetProps | React Native Android Widget - - - + + + -
-

Interface: FlexWidgetProps

Hierarchy

Properties

children

Optional children: any


style

Optional style: FlexWidgetStyle


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/FlexWidgetStyle.html b/docs/public-api/interfaces/FlexWidgetStyle.html index 3519e4e..3e51db9 100644 --- a/docs/public-api/interfaces/FlexWidgetStyle.html +++ b/docs/public-api/interfaces/FlexWidgetStyle.html @@ -1,19 +1,237 @@ - + - -Interface: FlexWidgetStyle | React Native Android Widget + +Interface: FlexWidgetStyle | React Native Android Widget - - - + + + -
-

Interface: FlexWidgetStyle

Hierarchy

Properties

flex

Optional flex: number

Inherited from

FlexStyleProps.flex


flexDirection

Optional flexDirection: "row" | "column"

Inherited from

FlexStyleProps.flexDirection


alignItems

Optional alignItems: "flex-start" | "flex-end" | "center"

Inherited from

FlexStyleProps.alignItems


justifyContent

Optional justifyContent: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"

Inherited from

FlexStyleProps.justifyContent


flexGap

Optional flexGap: number

Inherited from

FlexStyleProps.flexGap


flexGapColor

Optional flexGapColor: ColorProp

Inherited from

FlexStyleProps.flexGapColor


overflow

Optional overflow: "hidden"

Inherited from

FlexStyleProps.overflow


margin

Optional margin: number

Inherited from

CommonStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

CommonStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

CommonStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

CommonStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

CommonStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

CommonStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

CommonStyleProps.marginRight


padding

Optional padding: number

Inherited from

CommonStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

CommonStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

CommonStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

CommonStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

CommonStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

CommonStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

CommonStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

CommonStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

CommonStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

CommonStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

CommonStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

CommonStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

CommonStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

CommonStyleProps.borderRightWidth


borderColor

Optional borderColor: ColorProp

Inherited from

CommonStyleProps.borderColor


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

CommonStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

CommonStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

CommonStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

CommonStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

CommonStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

CommonStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

CommonStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

CommonStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

CommonStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

CommonStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

CommonStyleProps.rotation

- - +

Interface: FlexWidgetStyle

Hierarchy

+ +

Properties

+

flex

+

Optional flex: number

+

Inherited from

+

FlexStyleProps.flex

+
+

flexDirection

+

Optional flexDirection: "row" | "column"

+

Inherited from

+

FlexStyleProps.flexDirection

+
+

alignItems

+

Optional alignItems: "flex-start" | "flex-end" | "center"

+

Inherited from

+

FlexStyleProps.alignItems

+
+

justifyContent

+

Optional justifyContent: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"

+

Inherited from

+

FlexStyleProps.justifyContent

+
+

flexGap

+

Optional flexGap: number

+

Inherited from

+

FlexStyleProps.flexGap

+
+

flexGapColor

+

Optional flexGapColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

FlexStyleProps.flexGapColor

+
+

overflow

+

Optional overflow: "hidden"

+

Inherited from

+

FlexStyleProps.overflow

+
+

margin

+

Optional margin: number

+

Inherited from

+

CommonStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

CommonStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

CommonStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

CommonStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

CommonStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

CommonStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

CommonStyleProps.marginRight

+
+

padding

+

Optional padding: number

+

Inherited from

+

CommonStyleProps.padding

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+

Inherited from

+

CommonStyleProps.paddingHorizontal

+
+

paddingVertical

+

Optional paddingVertical: number

+

Inherited from

+

CommonStyleProps.paddingVertical

+
+

paddingTop

+

Optional paddingTop: number

+

Inherited from

+

CommonStyleProps.paddingTop

+
+

paddingBottom

+

Optional paddingBottom: number

+

Inherited from

+

CommonStyleProps.paddingBottom

+
+

paddingLeft

+

Optional paddingLeft: number

+

Inherited from

+

CommonStyleProps.paddingLeft

+
+

paddingRight

+

Optional paddingRight: number

+

Inherited from

+

CommonStyleProps.paddingRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

CommonStyleProps.backgroundGradient

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

CommonStyleProps.borderWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

CommonStyleProps.borderTopWidth

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

CommonStyleProps.borderBottomWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

CommonStyleProps.borderLeftWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

CommonStyleProps.borderRightWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderColor

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderTopColor

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderRightColor

+
+

borderRadius

+

Optional borderRadius: number

+

Inherited from

+

CommonStyleProps.borderRadius

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderTopLeftRadius

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+

Inherited from

+

CommonStyleProps.borderTopRightRadius

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomLeftRadius

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomRightRadius

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

CommonStyleProps.borderStyle

+
+

rotation

+

Optional rotation: number

+

Inherited from

+

CommonStyleProps.rotation

\ No newline at end of file diff --git a/docs/public-api/interfaces/IconWidgetProps.html b/docs/public-api/interfaces/IconWidgetProps.html index a648099..a214494 100644 --- a/docs/public-api/interfaces/IconWidgetProps.html +++ b/docs/public-api/interfaces/IconWidgetProps.html @@ -1,23 +1,60 @@ - + - -Interface: IconWidgetProps | React Native Android Widget + +Interface: IconWidgetProps | React Native Android Widget - - - + + + -
-

Interface: IconWidgetProps

Hierarchy

Properties

icon

icon: string

Icon from the specified font


size

size: number

Size of the icon


font

font: string

Font of the icon. It must be added to the application


style

Optional style: IconWidgetStyle


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/IconWidgetStyle.html b/docs/public-api/interfaces/IconWidgetStyle.html index 4edf4bc..b313469 100644 --- a/docs/public-api/interfaces/IconWidgetStyle.html +++ b/docs/public-api/interfaces/IconWidgetStyle.html @@ -1,19 +1,205 @@ - + - -Interface: IconWidgetStyle | React Native Android Widget + +Interface: IconWidgetStyle | React Native Android Widget - - - + + + -
-

Interface: IconWidgetStyle

Hierarchy

Properties

color

Optional color: ColorProp


adjustsFontSizeToFit

Optional adjustsFontSizeToFit: boolean


margin

Optional margin: number

Inherited from

CommonStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

CommonStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

CommonStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

CommonStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

CommonStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

CommonStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

CommonStyleProps.marginRight


padding

Optional padding: number

Inherited from

CommonStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

CommonStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

CommonStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

CommonStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

CommonStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

CommonStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

CommonStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

CommonStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

CommonStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

CommonStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

CommonStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

CommonStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

CommonStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

CommonStyleProps.borderRightWidth


borderColor

Optional borderColor: ColorProp

Inherited from

CommonStyleProps.borderColor


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

CommonStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

CommonStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

CommonStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

CommonStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

CommonStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

CommonStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

CommonStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

CommonStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

CommonStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

CommonStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

CommonStyleProps.rotation

- - +

Interface: IconWidgetStyle

Hierarchy

+ +

Properties

+

color

+

Optional color: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

adjustsFontSizeToFit

+

Optional adjustsFontSizeToFit: boolean

+
+

margin

+

Optional margin: number

+

Inherited from

+

CommonStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

CommonStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

CommonStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

CommonStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

CommonStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

CommonStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

CommonStyleProps.marginRight

+
+

padding

+

Optional padding: number

+

Inherited from

+

CommonStyleProps.padding

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+

Inherited from

+

CommonStyleProps.paddingHorizontal

+
+

paddingVertical

+

Optional paddingVertical: number

+

Inherited from

+

CommonStyleProps.paddingVertical

+
+

paddingTop

+

Optional paddingTop: number

+

Inherited from

+

CommonStyleProps.paddingTop

+
+

paddingBottom

+

Optional paddingBottom: number

+

Inherited from

+

CommonStyleProps.paddingBottom

+
+

paddingLeft

+

Optional paddingLeft: number

+

Inherited from

+

CommonStyleProps.paddingLeft

+
+

paddingRight

+

Optional paddingRight: number

+

Inherited from

+

CommonStyleProps.paddingRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

CommonStyleProps.backgroundGradient

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

CommonStyleProps.borderWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

CommonStyleProps.borderTopWidth

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

CommonStyleProps.borderBottomWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

CommonStyleProps.borderLeftWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

CommonStyleProps.borderRightWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderColor

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderTopColor

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderRightColor

+
+

borderRadius

+

Optional borderRadius: number

+

Inherited from

+

CommonStyleProps.borderRadius

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderTopLeftRadius

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+

Inherited from

+

CommonStyleProps.borderTopRightRadius

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomLeftRadius

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomRightRadius

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

CommonStyleProps.borderStyle

+
+

rotation

+

Optional rotation: number

+

Inherited from

+

CommonStyleProps.rotation

\ No newline at end of file diff --git a/docs/public-api/interfaces/ImageWidgetProps.html b/docs/public-api/interfaces/ImageWidgetProps.html index 08f1568..f10271d 100644 --- a/docs/public-api/interfaces/ImageWidgetProps.html +++ b/docs/public-api/interfaces/ImageWidgetProps.html @@ -1,24 +1,65 @@ - + - -Interface: ImageWidgetProps | React Native Android Widget + +Interface: ImageWidgetProps | React Native Android Widget - - - + + + -
-

Interface: ImageWidgetProps

Hierarchy

Properties

imageWidth

imageWidth: number

Width of the image


imageHeight

imageHeight: number

Height of the image


image

image: ImageWidgetSource

Image loaded using require('./path/to/image'), -or a path to image starting with "http:", "https:", or "data:/image"


style

Optional style: CommonStyleProps


radius

Optional radius: number

Image radius


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/ListWidgetProps.html b/docs/public-api/interfaces/ListWidgetProps.html index 15b3b66..334ad21 100644 --- a/docs/public-api/interfaces/ListWidgetProps.html +++ b/docs/public-api/interfaces/ListWidgetProps.html @@ -1,19 +1,21 @@ - + - -Interface: ListWidgetProps | React Native Android Widget + +Interface: ListWidgetProps | React Native Android Widget - - - + + + - - - + \ No newline at end of file diff --git a/docs/public-api/interfaces/ListWidgetStyle.html b/docs/public-api/interfaces/ListWidgetStyle.html index 71a9c13..967fa7f 100644 --- a/docs/public-api/interfaces/ListWidgetStyle.html +++ b/docs/public-api/interfaces/ListWidgetStyle.html @@ -1,19 +1,143 @@ - + - -Interface: ListWidgetStyle | React Native Android Widget + +Interface: ListWidgetStyle | React Native Android Widget - - - + + + -
-

Interface: ListWidgetStyle

Hierarchy

Properties

margin

Optional margin: number

Inherited from

MarginStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

MarginStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

MarginStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

MarginStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

MarginStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

MarginStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

MarginStyleProps.marginRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

BackgroundStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

BackgroundStyleProps.backgroundGradient


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

Omit.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

Omit.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

Omit.borderRightColor


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

Omit.borderStyle


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

Omit.borderTopColor


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

Omit.borderBottomWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

Omit.borderRightWidth


borderWidth

Optional borderWidth: number

Inherited from

Omit.borderWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

Omit.borderLeftWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

Omit.borderTopWidth


borderColor

Optional borderColor: ColorProp

Inherited from

Omit.borderColor

- - +

Interface: ListWidgetStyle

Hierarchy

+ +

Properties

+

margin

+

Optional margin: number

+

Inherited from

+

MarginStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

MarginStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

MarginStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

MarginStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

MarginStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

MarginStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

MarginStyleProps.marginRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

SizeStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

SizeStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

BackgroundStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

BackgroundStyleProps.backgroundGradient

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

Omit.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

Omit.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

Omit.borderRightColor

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

Omit.borderStyle

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

Omit.borderTopColor

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

Omit.borderBottomWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

Omit.borderRightWidth

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

Omit.borderWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

Omit.borderLeftWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

Omit.borderTopWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

Omit.borderColor

\ No newline at end of file diff --git a/docs/public-api/interfaces/MarginStyleProps.html b/docs/public-api/interfaces/MarginStyleProps.html index 41db08f..a817d1c 100644 --- a/docs/public-api/interfaces/MarginStyleProps.html +++ b/docs/public-api/interfaces/MarginStyleProps.html @@ -1,19 +1,44 @@ - + - -Interface: MarginStyleProps | React Native Android Widget + +Interface: MarginStyleProps | React Native Android Widget - - - + + + -
-
- - +

Interface: MarginStyleProps

Hierarchy

+ +

Properties

+

margin

+

Optional margin: number

+
+

marginHorizontal

+

Optional marginHorizontal: number

+
+

marginVertical

+

Optional marginVertical: number

+
+

marginTop

+

Optional marginTop: number

+
+

marginBottom

+

Optional marginBottom: number

+
+

marginLeft

+

Optional marginLeft: number

+
+

marginRight

+

Optional marginRight: number

\ No newline at end of file diff --git a/docs/public-api/interfaces/OtherStyleProps.html b/docs/public-api/interfaces/OtherStyleProps.html index 23e2df5..a756461 100644 --- a/docs/public-api/interfaces/OtherStyleProps.html +++ b/docs/public-api/interfaces/OtherStyleProps.html @@ -1,19 +1,25 @@ - + - -Interface: OtherStyleProps | React Native Android Widget + +Interface: OtherStyleProps | React Native Android Widget - - - + + + - - - + \ No newline at end of file diff --git a/docs/public-api/interfaces/OverlapWidgetProps.html b/docs/public-api/interfaces/OverlapWidgetProps.html index 1fe1a1e..25622e9 100644 --- a/docs/public-api/interfaces/OverlapWidgetProps.html +++ b/docs/public-api/interfaces/OverlapWidgetProps.html @@ -1,23 +1,51 @@ - + - -Interface: OverlapWidgetProps | React Native Android Widget + +Interface: OverlapWidgetProps | React Native Android Widget - - - + + + -
-

Interface: OverlapWidgetProps

Hierarchy

Properties

children

Optional children: any


style

Optional style: OverlapWidgetStyle


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/OverlapWidgetStyle.html b/docs/public-api/interfaces/OverlapWidgetStyle.html index 043a4f3..bb9c0de 100644 --- a/docs/public-api/interfaces/OverlapWidgetStyle.html +++ b/docs/public-api/interfaces/OverlapWidgetStyle.html @@ -1,19 +1,202 @@ - + - -Interface: OverlapWidgetStyle | React Native Android Widget + +Interface: OverlapWidgetStyle | React Native Android Widget - - - + + + -
-

Interface: OverlapWidgetStyle

Hierarchy

Properties

overflow

Optional overflow: "hidden"


margin

Optional margin: number

Inherited from

CommonStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

CommonStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

CommonStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

CommonStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

CommonStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

CommonStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

CommonStyleProps.marginRight


padding

Optional padding: number

Inherited from

CommonStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

CommonStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

CommonStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

CommonStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

CommonStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

CommonStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

CommonStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

CommonStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

CommonStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

CommonStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

CommonStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

CommonStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

CommonStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

CommonStyleProps.borderRightWidth


borderColor

Optional borderColor: ColorProp

Inherited from

CommonStyleProps.borderColor


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

CommonStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

CommonStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

CommonStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

CommonStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

CommonStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

CommonStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

CommonStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

CommonStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

CommonStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

CommonStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

CommonStyleProps.rotation

- - +

Interface: OverlapWidgetStyle

Hierarchy

+ +

Properties

+

overflow

+

Optional overflow: "hidden"

+
+

margin

+

Optional margin: number

+

Inherited from

+

CommonStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

CommonStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

CommonStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

CommonStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

CommonStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

CommonStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

CommonStyleProps.marginRight

+
+

padding

+

Optional padding: number

+

Inherited from

+

CommonStyleProps.padding

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+

Inherited from

+

CommonStyleProps.paddingHorizontal

+
+

paddingVertical

+

Optional paddingVertical: number

+

Inherited from

+

CommonStyleProps.paddingVertical

+
+

paddingTop

+

Optional paddingTop: number

+

Inherited from

+

CommonStyleProps.paddingTop

+
+

paddingBottom

+

Optional paddingBottom: number

+

Inherited from

+

CommonStyleProps.paddingBottom

+
+

paddingLeft

+

Optional paddingLeft: number

+

Inherited from

+

CommonStyleProps.paddingLeft

+
+

paddingRight

+

Optional paddingRight: number

+

Inherited from

+

CommonStyleProps.paddingRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

CommonStyleProps.backgroundGradient

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

CommonStyleProps.borderWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

CommonStyleProps.borderTopWidth

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

CommonStyleProps.borderBottomWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

CommonStyleProps.borderLeftWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

CommonStyleProps.borderRightWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderColor

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderTopColor

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderRightColor

+
+

borderRadius

+

Optional borderRadius: number

+

Inherited from

+

CommonStyleProps.borderRadius

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderTopLeftRadius

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+

Inherited from

+

CommonStyleProps.borderTopRightRadius

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomLeftRadius

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomRightRadius

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

CommonStyleProps.borderStyle

+
+

rotation

+

Optional rotation: number

+

Inherited from

+

CommonStyleProps.rotation

\ No newline at end of file diff --git a/docs/public-api/interfaces/PaddingStyleProps.html b/docs/public-api/interfaces/PaddingStyleProps.html index f00c631..74a9d68 100644 --- a/docs/public-api/interfaces/PaddingStyleProps.html +++ b/docs/public-api/interfaces/PaddingStyleProps.html @@ -1,19 +1,43 @@ - + - -Interface: PaddingStyleProps | React Native Android Widget + +Interface: PaddingStyleProps | React Native Android Widget - - - + + + -
-
- - +

Interface: PaddingStyleProps

Hierarchy

+ +

Properties

+

padding

+

Optional padding: number

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+
+

paddingVertical

+

Optional paddingVertical: number

+
+

paddingTop

+

Optional paddingTop: number

+
+

paddingBottom

+

Optional paddingBottom: number

+
+

paddingLeft

+

Optional paddingLeft: number

+
+

paddingRight

+

Optional paddingRight: number

\ No newline at end of file diff --git a/docs/public-api/interfaces/RequestWidgetUpdateProps.html b/docs/public-api/interfaces/RequestWidgetUpdateProps.html index 0ef7707..f5e1c6c 100644 --- a/docs/public-api/interfaces/RequestWidgetUpdateProps.html +++ b/docs/public-api/interfaces/RequestWidgetUpdateProps.html @@ -1,21 +1,43 @@ - + - -Interface: RequestWidgetUpdateProps | React Native Android Widget + +Interface: RequestWidgetUpdateProps | React Native Android Widget - - - + + + -
-

Interface: RequestWidgetUpdateProps

Properties

widgetName

widgetName: string

The name of the widget to update


renderWidget

renderWidget: (props: WidgetInfo) => Element | Promise<Element>

Type declaration

▸ (props): Element | Promise<Element>

Callback function that will be called with WidgetInfo -It should return the JSX of the updated widget

Parameters
NameType
propsWidgetInfo
Returns

Element | Promise<Element>


widgetNotFound

Optional widgetNotFound: () => void

Type declaration

▸ (): void

Callback function that will be called if no widgets are added on the home screen -It can be used to clean up background tasks that update the widget periodically

Returns

void

- - +

Interface: RequestWidgetUpdateProps

Properties

+

widgetName

+

widgetName: string

+

The name of the widget to update

+
+

renderWidget

+

renderWidget: (props: WidgetInfo) => Element | Promise<Element>

+

Callback function that will be called with WidgetInfo +It should return the JSX of the updated widget

+

Type declaration

+

▸ (props): Element | Promise<Element>

+

Callback function that will be called with WidgetInfo +It should return the JSX of the updated widget

+
Parameters
+
NameType
propsWidgetInfo
+
Returns
+

Element | Promise<Element>

+
+

widgetNotFound

+

Optional widgetNotFound: () => void

+

Callback function that will be called if no widgets are added on the home screen +It can be used to clean up background tasks that update the widget periodically

+

Type declaration

+

▸ (): void

+

Callback function that will be called if no widgets are added on the home screen +It can be used to clean up background tasks that update the widget periodically

+
Returns
+

void

\ No newline at end of file diff --git a/docs/public-api/interfaces/ScreenInfo.html b/docs/public-api/interfaces/ScreenInfo.html index 3e1cfdb..1a9e9fe 100644 --- a/docs/public-api/interfaces/ScreenInfo.html +++ b/docs/public-api/interfaces/ScreenInfo.html @@ -1,19 +1,31 @@ - + - -Interface: ScreenInfo | React Native Android Widget + +Interface: ScreenInfo | React Native Android Widget - - - + + + - - - +
\ No newline at end of file diff --git a/docs/public-api/interfaces/SizeStyleProps.html b/docs/public-api/interfaces/SizeStyleProps.html index 057ec92..af0245e 100644 --- a/docs/public-api/interfaces/SizeStyleProps.html +++ b/docs/public-api/interfaces/SizeStyleProps.html @@ -1,19 +1,29 @@ - + - -Interface: SizeStyleProps | React Native Android Widget + +Interface: SizeStyleProps | React Native Android Widget - - - + + + - - - + \ No newline at end of file diff --git a/docs/public-api/interfaces/SvgWidgetProps.html b/docs/public-api/interfaces/SvgWidgetProps.html index 285b1f1..ca3353e 100644 --- a/docs/public-api/interfaces/SvgWidgetProps.html +++ b/docs/public-api/interfaces/SvgWidgetProps.html @@ -1,23 +1,52 @@ - + - -Interface: SvgWidgetProps | React Native Android Widget + +Interface: SvgWidgetProps | React Native Android Widget - - - + + + -
-

Interface: SvgWidgetProps

Hierarchy

Properties

svg

svg: string | number

SVG file loaded with require('./path/to/svg/file') or a SVG string


style

Optional style: CommonStyleProps


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/TextWidgetProps.html b/docs/public-api/interfaces/TextWidgetProps.html index 636b0f7..e878176 100644 --- a/docs/public-api/interfaces/TextWidgetProps.html +++ b/docs/public-api/interfaces/TextWidgetProps.html @@ -1,23 +1,66 @@ - + - -Interface: TextWidgetProps | React Native Android Widget + +Interface: TextWidgetProps | React Native Android Widget - - - + + + -
-

Interface: TextWidgetProps

Hierarchy

Properties

text

text: string

Text to show


style

Optional style: TextWidgetStyle


truncate

Optional truncate: "START" | "MIDDLE" | "END"

How to truncate the text if it cannot fit


maxLines

Optional maxLines: number

Maximum number of lines to if text overflows in next line


allowFontScaling

Optional allowFontScaling: boolean

Specifies whether fonts should scale to respect Text Size accessibility settings.

Default

true


clickAction

Optional clickAction: string

A string that will define an action that will be emited when clicking the widget.

There are a few special values for clickAction that will not emit the action, -but will execute the action in the background.

Those are:

+

Inherited from

+

ClickActionProps.clickAction

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional data that will be passed when the widget is clicked.

+

If clickAction is OPEN_URI it must contain { uri: 'some-uri' }

+

Inherited from

+

ClickActionProps.clickActionData

\ No newline at end of file diff --git a/docs/public-api/interfaces/TextWidgetStyle.html b/docs/public-api/interfaces/TextWidgetStyle.html index 81f9228..7cd7488 100644 --- a/docs/public-api/interfaces/TextWidgetStyle.html +++ b/docs/public-api/interfaces/TextWidgetStyle.html @@ -1,21 +1,237 @@ - + - -Interface: TextWidgetStyle | React Native Android Widget + +Interface: TextWidgetStyle | React Native Android Widget - - - + + + -
-

Interface: TextWidgetStyle

Hierarchy

Properties

color

Optional color: ColorProp


fontSize

Optional fontSize: number


fontFamily

Optional fontFamily: string


fontStyle

Optional fontStyle: "normal" | "italic"


fontWeight

Optional fontWeight: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"

Specifies font weight. The values 'normal' and 'bold' are supported +

Interface: TextWidgetStyle

Hierarchy

+ +

Properties

+

color

+

Optional color: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

fontSize

+

Optional fontSize: number

+
+

fontFamily

+

Optional fontFamily: string

+
+

fontStyle

+

Optional fontStyle: "normal" | "italic"

+
+

fontWeight

+

Optional fontWeight: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"

+

Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric -values, in that case the closest one is chosen.


adjustsFontSizeToFit

Optional adjustsFontSizeToFit: boolean


textAlign

Optional textAlign: "center" | "right" | "left"


letterSpacing

Optional letterSpacing: number


textShadowColor

Optional textShadowColor: ColorProp


textShadowRadius

Optional textShadowRadius: number


textShadowOffset

Optional textShadowOffset: Object

Type declaration

NameType
heightnumber
widthnumber

margin

Optional margin: number

Inherited from

CommonStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

CommonStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

CommonStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

CommonStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

CommonStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

CommonStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

CommonStyleProps.marginRight


padding

Optional padding: number

Inherited from

CommonStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

CommonStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

CommonStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

CommonStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

CommonStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

CommonStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

CommonStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

CommonStyleProps.width


backgroundColor

Optional backgroundColor: ColorProp

Inherited from

CommonStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

CommonStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

CommonStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

CommonStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

CommonStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

CommonStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

CommonStyleProps.borderRightWidth


borderColor

Optional borderColor: ColorProp

Inherited from

CommonStyleProps.borderColor


borderTopColor

Optional borderTopColor: ColorProp

Inherited from

CommonStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: ColorProp

Inherited from

CommonStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: ColorProp

Inherited from

CommonStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: ColorProp

Inherited from

CommonStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

CommonStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

CommonStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

CommonStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

CommonStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

CommonStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

CommonStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

CommonStyleProps.rotation

- - +values, in that case the closest one is chosen.

+
+

adjustsFontSizeToFit

+

Optional adjustsFontSizeToFit: boolean

+
+

textAlign

+

Optional textAlign: "center" | "right" | "left"

+
+

letterSpacing

+

Optional letterSpacing: number

+
+

textShadowColor

+

Optional textShadowColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+
+

textShadowRadius

+

Optional textShadowRadius: number

+
+

textShadowOffset

+

Optional textShadowOffset: Object

+

Type declaration

+
NameType
heightnumber
widthnumber
+
+

margin

+

Optional margin: number

+

Inherited from

+

CommonStyleProps.margin

+
+

marginHorizontal

+

Optional marginHorizontal: number

+

Inherited from

+

CommonStyleProps.marginHorizontal

+
+

marginVertical

+

Optional marginVertical: number

+

Inherited from

+

CommonStyleProps.marginVertical

+
+

marginTop

+

Optional marginTop: number

+

Inherited from

+

CommonStyleProps.marginTop

+
+

marginBottom

+

Optional marginBottom: number

+

Inherited from

+

CommonStyleProps.marginBottom

+
+

marginLeft

+

Optional marginLeft: number

+

Inherited from

+

CommonStyleProps.marginLeft

+
+

marginRight

+

Optional marginRight: number

+

Inherited from

+

CommonStyleProps.marginRight

+
+

padding

+

Optional padding: number

+

Inherited from

+

CommonStyleProps.padding

+
+

paddingHorizontal

+

Optional paddingHorizontal: number

+

Inherited from

+

CommonStyleProps.paddingHorizontal

+
+

paddingVertical

+

Optional paddingVertical: number

+

Inherited from

+

CommonStyleProps.paddingVertical

+
+

paddingTop

+

Optional paddingTop: number

+

Inherited from

+

CommonStyleProps.paddingTop

+
+

paddingBottom

+

Optional paddingBottom: number

+

Inherited from

+

CommonStyleProps.paddingBottom

+
+

paddingLeft

+

Optional paddingLeft: number

+

Inherited from

+

CommonStyleProps.paddingLeft

+
+

paddingRight

+

Optional paddingRight: number

+

Inherited from

+

CommonStyleProps.paddingRight

+
+

height

+

Optional height: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.height

+
+

width

+

Optional width: number | "wrap_content" | "match_parent"

+

Inherited from

+

CommonStyleProps.width

+
+

backgroundColor

+

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.backgroundColor

+
+

backgroundGradient

+

Optional backgroundGradient: Object

+

Type declaration

+
NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"
+

Inherited from

+

CommonStyleProps.backgroundGradient

+
+

borderWidth

+

Optional borderWidth: number

+

Inherited from

+

CommonStyleProps.borderWidth

+
+

borderTopWidth

+

Optional borderTopWidth: number

+

Inherited from

+

CommonStyleProps.borderTopWidth

+
+

borderBottomWidth

+

Optional borderBottomWidth: number

+

Inherited from

+

CommonStyleProps.borderBottomWidth

+
+

borderLeftWidth

+

Optional borderLeftWidth: number

+

Inherited from

+

CommonStyleProps.borderLeftWidth

+
+

borderRightWidth

+

Optional borderRightWidth: number

+

Inherited from

+

CommonStyleProps.borderRightWidth

+
+

borderColor

+

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderColor

+
+

borderTopColor

+

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderTopColor

+
+

borderBottomColor

+

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderBottomColor

+
+

borderLeftColor

+

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderLeftColor

+
+

borderRightColor

+

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

+

Inherited from

+

CommonStyleProps.borderRightColor

+
+

borderRadius

+

Optional borderRadius: number

+

Inherited from

+

CommonStyleProps.borderRadius

+
+

borderTopLeftRadius

+

Optional borderTopLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderTopLeftRadius

+
+

borderTopRightRadius

+

Optional borderTopRightRadius: number

+

Inherited from

+

CommonStyleProps.borderTopRightRadius

+
+

borderBottomLeftRadius

+

Optional borderBottomLeftRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomLeftRadius

+
+

borderBottomRightRadius

+

Optional borderBottomRightRadius: number

+

Inherited from

+

CommonStyleProps.borderBottomRightRadius

+
+

borderStyle

+

Optional borderStyle: "solid" | "dotted" | "dashed"

+

Inherited from

+

CommonStyleProps.borderStyle

+
+

rotation

+

Optional rotation: number

+

Inherited from

+

CommonStyleProps.rotation

\ No newline at end of file diff --git a/docs/public-api/interfaces/Widget.html b/docs/public-api/interfaces/Widget.html index ec170fd..f00a2b6 100644 --- a/docs/public-api/interfaces/Widget.html +++ b/docs/public-api/interfaces/Widget.html @@ -1,25 +1,61 @@ - + - -Interface: Widget | React Native Android Widget + +Interface: Widget | React Native Android Widget - - - + + + -
-

Interface: Widget

Properties

name

name: string

Name of the widget which will be used to reference it in code


minWidth

minWidth: `${number}dp`


minHeight

minHeight: `${number}dp`


label

Optional label: string

Label that will be shown in widget picker


description

Optional description: string

Description that will be shown in widget picker


maxResizeWidth

Optional maxResizeWidth: `${number}dp`


maxResizeHeight

Optional maxResizeHeight: `${number}dp`


previewImage

Optional previewImage: ResourcePath


resizeMode

Optional resizeMode: "none" | "horizontal" | "vertical" | "horizontal|vertical"


widgetFeatures

Optional widgetFeatures: "reconfigurable" | "reconfigurable|configuration_optional"

Whether the widget can be configured. +

Interface: Widget

Properties

+

name

+

name: string

+

Name of the widget which will be used to reference it in code

+
+

minWidth

+

minWidth: `${number}dp`

+
+

minHeight

+

minHeight: `${number}dp`

+
+

label

+

Optional label: string

+

Label that will be shown in widget picker

+
+

description

+

Optional description: string

+

Description that will be shown in widget picker

+
+

maxResizeWidth

+

Optional maxResizeWidth: `${number}dp`

+
+

maxResizeHeight

+

Optional maxResizeHeight: `${number}dp`

+
+

previewImage

+

Optional previewImage: `./${string}` | `../${string}`

+
+

resizeMode

+

Optional resizeMode: "none" | "horizontal" | "vertical" | "horizontal|vertical"

+
+

widgetFeatures

+

Optional widgetFeatures: "reconfigurable" | "reconfigurable|configuration_optional"

+

Whether the widget can be configured. 'configurable' means that the widget is configurable, and a configuration activity will be open when the widget is added on home screen. 'reconfigurable|configuration_optional' will make the widget configurable, but will not open the configuration activity when added on home screen, and the configuration can be changed by holding the widget and selecting configure. -The widget will not be configurable if widgetFeatures is not provided


updatePeriodMillis

Optional updatePeriodMillis: number

How often the widget should be updated, in milliseconds.

Default is 0 (no automatic updates)

Minimum is 1.800.000 (30 minutes == 30 60 1000).

- - +The widget will not be configurable if widgetFeatures is not provided

+
+

updatePeriodMillis

+

Optional updatePeriodMillis: number

+

How often the widget should be updated, in milliseconds.

+

Default is 0 (no automatic updates)

+

Minimum is 1.800.000 (30 minutes == 30 * 60 * 1000).

\ No newline at end of file diff --git a/docs/public-api/interfaces/WidgetConfigurationScreenProps.html b/docs/public-api/interfaces/WidgetConfigurationScreenProps.html index d241d08..1af9791 100644 --- a/docs/public-api/interfaces/WidgetConfigurationScreenProps.html +++ b/docs/public-api/interfaces/WidgetConfigurationScreenProps.html @@ -1,21 +1,45 @@ - + - -Interface: WidgetConfigurationScreenProps | React Native Android Widget + +Interface: WidgetConfigurationScreenProps | React Native Android Widget - - - + + + -
-

Interface: WidgetConfigurationScreenProps

Properties

widgetInfo

widgetInfo: WidgetInfo

Information about the widget being configured.


renderWidget

renderWidget: (widgetComponent: Element) => void

Type declaration

▸ (widgetComponent): void

Function that can be called with the Widget JSX to render

Parameters
NameType
widgetComponentElement
Returns

void


setResult

setResult: (result: "ok" | "cancel") => void

Type declaration

▸ (result): void

This must be called after finishing with configuration. +

Interface: WidgetConfigurationScreenProps

Properties

+

widgetInfo

+

widgetInfo: WidgetInfo

+

Information about the widget being configured.

+
+

renderWidget

+

renderWidget: (widgetComponent: Element) => void

+

Function that can be called with the Widget JSX to render

+

Type declaration

+

▸ (widgetComponent): void

+

Function that can be called with the Widget JSX to render

+
Parameters
+
NameType
widgetComponentElement
+
Returns
+

void

+
+

setResult

+

setResult: (result: "ok" | "cancel") => void

+

This must be called after finishing with configuration. 'ok' means the widget is configured and can be added, -'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it

Parameters
NameType
result"ok" | "cancel"
Returns

void

- - +'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it

+

Type declaration

+

▸ (result): void

+

This must be called after finishing with configuration. +'ok' means the widget is configured and can be added, +'cancel' means the configuration process is canceled and the widget will be removed if this is the first time configuring it

+
Parameters
+
NameType
result"ok" | "cancel"
+
Returns
+

void

\ No newline at end of file diff --git a/docs/public-api/interfaces/WidgetInfo.html b/docs/public-api/interfaces/WidgetInfo.html index 748a393..d3453aa 100644 --- a/docs/public-api/interfaces/WidgetInfo.html +++ b/docs/public-api/interfaces/WidgetInfo.html @@ -1,19 +1,35 @@ - + - -Interface: WidgetInfo | React Native Android Widget + +Interface: WidgetInfo | React Native Android Widget - - - + + + - - - +
\ No newline at end of file diff --git a/docs/public-api/interfaces/WidgetPreviewProps.html b/docs/public-api/interfaces/WidgetPreviewProps.html index d538855..e1a4661 100644 --- a/docs/public-api/interfaces/WidgetPreviewProps.html +++ b/docs/public-api/interfaces/WidgetPreviewProps.html @@ -1,19 +1,53 @@ - + - -Interface: WidgetPreviewProps | React Native Android Widget + +Interface: WidgetPreviewProps | React Native Android Widget - - - + + + -
-

Interface: WidgetPreviewProps

Properties

renderWidget

renderWidget: (props: { width: number ; height: number }) => Element

Type declaration

▸ (props): Element

Callback function that will be called by WidgetPreview to generate the widget UI.

Parameters
NameType
propsObject
props.widthnumber
props.heightnumber
Returns

Element


height

height: number

The height of the widget


width

width: number

The width of the widget


onClick

Optional onClick: (props: OnClick) => void

Type declaration

▸ (props): void

Callback function that will be called when clicked on a clickable area of the widget.

Parameters
NameType
propsOnClick
Returns

void


showBorder

Optional showBorder: boolean

Whether to show a border around the widget. Usefull for widgets that do not use the whole space.


highlightClickableAreas

Optional highlightClickableAreas: boolean

Whether to add a highlight to the clickable areas

- - +

Interface: WidgetPreviewProps

Properties

+

renderWidget

+

renderWidget: (props: { width: number ; height: number }) => Element

+

Callback function that will be called by WidgetPreview to generate the widget UI.

+

Type declaration

+

▸ (props): Element

+

Callback function that will be called by WidgetPreview to generate the widget UI.

+
Parameters
+
NameType
propsObject
props.widthnumber
props.heightnumber
+
Returns
+

Element

+
+

height

+

height: number

+

The height of the widget

+
+

width

+

width: number

+

The width of the widget

+
+

onClick

+

Optional onClick: (props: OnClick) => void

+

Callback function that will be called when clicked on a clickable area of the widget.

+

Type declaration

+

▸ (props): void

+

Callback function that will be called when clicked on a clickable area of the widget.

+
Parameters
+
NameType
propsOnClick
+
Returns
+

void

+
+

showBorder

+

Optional showBorder: boolean

+

Whether to show a border around the widget. Usefull for widgets that do not use the whole space.

+
+

highlightClickableAreas

+

Optional highlightClickableAreas: boolean

+

Whether to add a highlight to the clickable areas

\ No newline at end of file diff --git a/docs/public-api/interfaces/WidgetTaskHandlerProps.html b/docs/public-api/interfaces/WidgetTaskHandlerProps.html index 233cf7e..6fd7f7f 100644 --- a/docs/public-api/interfaces/WidgetTaskHandlerProps.html +++ b/docs/public-api/interfaces/WidgetTaskHandlerProps.html @@ -1,19 +1,42 @@ - + - -Interface: WidgetTaskHandlerProps | React Native Android Widget + +Interface: WidgetTaskHandlerProps | React Native Android Widget - - - + + + -
-

Interface: WidgetTaskHandlerProps

Properties

widgetInfo

widgetInfo: WidgetInfo

Information about the widget being handled.


widgetAction

widgetAction: "WIDGET_ADDED" | "WIDGET_UPDATE" | "WIDGET_RESIZED" | "WIDGET_DELETED" | "WIDGET_CLICK"

What kind of action is being handled


renderWidget

renderWidget: (widgetComponent: Element) => void

Type declaration

▸ (widgetComponent): void

Function that needs to be called with the Widget JSX to render

Parameters
NameType
widgetComponentElement
Returns

void


clickAction

Optional clickAction: string

Click action if widgetAction was WIDGET_CLICK


clickActionData

Optional clickActionData: Record<string, unknown>

Additional click action data if widgetAction was WIDGET_CLICK

- - +

Interface: WidgetTaskHandlerProps

Properties

+

widgetInfo

+

widgetInfo: WidgetInfo

+

Information about the widget being handled.

+
+

widgetAction

+

widgetAction: "WIDGET_ADDED" | "WIDGET_UPDATE" | "WIDGET_RESIZED" | "WIDGET_DELETED" | "WIDGET_CLICK"

+

What kind of action is being handled

+
+

renderWidget

+

renderWidget: (widgetComponent: Element) => void

+

Function that needs to be called with the Widget JSX to render

+

Type declaration

+

▸ (widgetComponent): void

+

Function that needs to be called with the Widget JSX to render

+
Parameters
+
NameType
widgetComponentElement
+
Returns
+

void

+
+

clickAction

+

Optional clickAction: string

+

Click action if widgetAction was WIDGET_CLICK

+
+

clickActionData

+

Optional clickActionData: Record<string, unknown>

+

Additional click action data if widgetAction was WIDGET_CLICK

\ No newline at end of file diff --git a/docs/public-api/interfaces/WithAndroidWidgetsParams.html b/docs/public-api/interfaces/WithAndroidWidgetsParams.html index 6db2de6..f637445 100644 --- a/docs/public-api/interfaces/WithAndroidWidgetsParams.html +++ b/docs/public-api/interfaces/WithAndroidWidgetsParams.html @@ -1,19 +1,21 @@ - + - -Interface: WithAndroidWidgetsParams | React Native Android Widget + +Interface: WithAndroidWidgetsParams | React Native Android Widget - - - + + + - - - + \ No newline at end of file diff --git a/docs/public-api/namespaces/FlexWidget.html b/docs/public-api/namespaces/FlexWidget.html deleted file mode 100644 index 3305fc5..0000000 --- a/docs/public-api/namespaces/FlexWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: FlexWidget | React Native Android Widget - - - - - - - -
-

Namespace: FlexWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): FlexWidgetInternalProps

Parameters

NameType
propsFlexWidgetProps

Returns

FlexWidgetInternalProps


processChildren

processChildren(«destructured», children): any[]

Parameters

NameType
«destructured»FlexWidgetProps
childrenany[]

Returns

any[]

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/FlexWidget/index.html b/docs/public-api/namespaces/FlexWidget/index.html deleted file mode 100644 index 4aa1b78..0000000 --- a/docs/public-api/namespaces/FlexWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/IconWidget.html b/docs/public-api/namespaces/IconWidget.html deleted file mode 100644 index 6dbbede..0000000 --- a/docs/public-api/namespaces/IconWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: IconWidget | React Native Android Widget - - - - - - - -
-

Namespace: IconWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): IconWidgetInternalProps

Parameters

NameType
propsIconWidgetProps

Returns

IconWidgetInternalProps

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/IconWidget/index.html b/docs/public-api/namespaces/IconWidget/index.html deleted file mode 100644 index 1962369..0000000 --- a/docs/public-api/namespaces/IconWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/ImageWidget.html b/docs/public-api/namespaces/ImageWidget.html deleted file mode 100644 index e98bdfb..0000000 --- a/docs/public-api/namespaces/ImageWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: ImageWidget | React Native Android Widget - - - - - - - -
-

Namespace: ImageWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): ImageWidgetInternalProps

Parameters

NameType
propsImageWidgetProps

Returns

ImageWidgetInternalProps

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/ImageWidget/index.html b/docs/public-api/namespaces/ImageWidget/index.html deleted file mode 100644 index 6e3ff3d..0000000 --- a/docs/public-api/namespaces/ImageWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/ListWidget.html b/docs/public-api/namespaces/ListWidget.html deleted file mode 100644 index 65fe744..0000000 --- a/docs/public-api/namespaces/ListWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: ListWidget | React Native Android Widget - - - - - - - -
-

Namespace: ListWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): ListWidgetInternalProps

Parameters

NameType
propsListWidgetProps

Returns

ListWidgetInternalProps

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/ListWidget/index.html b/docs/public-api/namespaces/ListWidget/index.html deleted file mode 100644 index ee370a5..0000000 --- a/docs/public-api/namespaces/ListWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/OverlapWidget.html b/docs/public-api/namespaces/OverlapWidget.html deleted file mode 100644 index d65b5b6..0000000 --- a/docs/public-api/namespaces/OverlapWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: OverlapWidget | React Native Android Widget - - - - - - - -
-

Namespace: OverlapWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): OverlapWidgetInternalProps

Parameters

NameType
propsOverlapWidgetProps

Returns

OverlapWidgetInternalProps

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/OverlapWidget/index.html b/docs/public-api/namespaces/OverlapWidget/index.html deleted file mode 100644 index 94dbe89..0000000 --- a/docs/public-api/namespaces/OverlapWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/SvgWidget.html b/docs/public-api/namespaces/SvgWidget.html deleted file mode 100644 index 30129e8..0000000 --- a/docs/public-api/namespaces/SvgWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: SvgWidget | React Native Android Widget - - - - - - - -
-

Namespace: SvgWidget

Variables

__name__

__name__: string

Functions

convertProps

convertProps(props): SvgWidgetInternalProps

Parameters

NameType
propsSvgWidgetProps

Returns

SvgWidgetInternalProps

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/SvgWidget/index.html b/docs/public-api/namespaces/SvgWidget/index.html deleted file mode 100644 index 75ed8dc..0000000 --- a/docs/public-api/namespaces/SvgWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/TextWidget.html b/docs/public-api/namespaces/TextWidget.html deleted file mode 100644 index f6b5b2c..0000000 --- a/docs/public-api/namespaces/TextWidget.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -Namespace: TextWidget | React Native Android Widget - - - - - - - -
-

Namespace: TextWidget

Functions

convertProps

convertProps(props): TextWidgetInternalProps

Parameters

NameType
propsTextWidgetProps

Returns

TextWidgetInternalProps

Variables

__name__

__name__: string

- - - - \ No newline at end of file diff --git a/docs/public-api/namespaces/TextWidget/index.html b/docs/public-api/namespaces/TextWidget/index.html deleted file mode 100644 index 3c2606f..0000000 --- a/docs/public-api/namespaces/TextWidget/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/docs/tutorial/congratulations.html b/docs/tutorial/congratulations.html index f2d2b19..c4ed754 100644 --- a/docs/tutorial/congratulations.html +++ b/docs/tutorial/congratulations.html @@ -1,19 +1,26 @@ - + - -Congratulations! | React Native Android Widget + +Congratulations! | React Native Android Widget - - - + + + -
-

Congratulations!

You have just learned the basics of react-native-android-widget and created your first widget.

react-native-android-widget has much more to offer!

Anything unclear or buggy in this tutorial? Please report it!

What's next?

- - +

Congratulations!

+

You have just learned the basics of react-native-android-widget and created your first widget.

+

react-native-android-widget has much more to offer!

+

Anything unclear or buggy in this tutorial? Please report it!

+

What's next?

+
\ No newline at end of file diff --git a/docs/tutorial/make-widget-configurable.html b/docs/tutorial/make-widget-configurable.html index 88c93f1..05f83e9 100644 --- a/docs/tutorial/make-widget-configurable.html +++ b/docs/tutorial/make-widget-configurable.html @@ -1,19 +1,45 @@ - + - -Make Widget configurable (Optional) | React Native Android Widget + +Make Widget configurable (Optional) | React Native Android Widget - - - + + + -
-

Make Widget configurable (Optional)

In order to some of the widgets configurable, we need to create a widget configuration activity.

Note

WIDGET_ADDED event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration.

If the configuration is cancelled when adding the widget, WIDGET_DELETED will be fired.

Add a widget configuration activity class

android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java
package com.yourapppackage;

import com.reactnativeandroidwidget.RNWidgetConfigurationActivity;

public class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {
}

Update the widget provider xml file for the widget

In the widget provider we created, add configure and widgetFeatures properties.

android/app/src/main/res/xml/widgetprovider_hello.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="320dp"
android:minHeight="120dp"

android:updatePeriodMillis="0"

android:initialLayout="@layout/rn_widget"

android:previewImage="@drawable/hello_preview"
android:description="@string/widget_hello_description"

android:resizeMode="none"


android:configure="com.yourapppackage.WidgetConfigurationActivity"
android:widgetFeatures="reconfigurable"


android:widgetCategory="home_screen">
</appwidget-provider>
  • android:configure should reference the configuration activity we created
  • android:widgetFeatures can be reconfigurable or reconfigurable|configuration_optional
    • reconfigurable means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget.
    • reconfigurable|configuration_optional means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added

Add widget configuration activity in AndroidManifest.xml

Finally, we need to add the widget configuration activity in AndroidManifest.xml

In AndroidManifest.xml, add a activity

android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<activity android:name=".WidgetConfigurationActivity"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
</application>
</manifest>

For the activity

  • android:name myst be .WidgetConfigurationActivity (same as the Java class extending RNWidgetConfigurationActivity)

Make Widget configurable in Expo using config plugin

If using Expo, the configuration is much simpler. We will only need to set the widgetFeatures property in the config plugin to reconfigurable or reconfigurable|configuration_optional.

app.config.ts
import type { ConfigContext, ExpoConfig } from 'expo/config';
import type { WithAndroidWidgetsParams } from 'react-native-android-widget';

const widgetConfig: WithAndroidWidgetsParams = {
widgets: [
{
name: 'Hello',
label: 'My Hello Widget',
minWidth: '320dp',
minHeight: '120dp',
description: 'This is my first widget',
previewImage: './assets/widget-preview/hello.png',
updatePeriodMillis: 1800000,

// This
widgetFeatures: 'reconfigurable',
},
],
};

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [['react-native-android-widget', widgetConfig]],
});

Create the Widget Configuration Screen

For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the registerWidgetConfigurationScreen

- - +

Make Widget configurable (Optional)

+

In order to some of the widgets configurable, we need to create a widget configuration activity.

+
Note

WIDGET_ADDED event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration.

If the configuration is cancelled when adding the widget, WIDGET_DELETED will be fired.

+

Add a widget configuration activity class

+
android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java
package com.yourapppackage;

import com.reactnativeandroidwidget.RNWidgetConfigurationActivity;

public class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {
}
+

Update the widget provider xml file for the widget

+

In the widget provider we created, add configure and widgetFeatures properties.

+
android/app/src/main/res/xml/widgetprovider_hello.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="320dp"
android:minHeight="120dp"

android:updatePeriodMillis="0"

android:initialLayout="@layout/rn_widget"

android:previewImage="@drawable/hello_preview"
android:description="@string/widget_hello_description"

android:resizeMode="none"


android:configure="com.yourapppackage.WidgetConfigurationActivity"
android:widgetFeatures="reconfigurable"


android:widgetCategory="home_screen">
</appwidget-provider>
+
    +
  • android:configure should reference the configuration activity we created
  • +
  • android:widgetFeatures can be reconfigurable or reconfigurable|configuration_optional +
      +
    • reconfigurable means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget.
    • +
    • reconfigurable|configuration_optional means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added
    • +
    +
  • +
+

Add widget configuration activity in AndroidManifest.xml

+

Finally, we need to add the widget configuration activity in AndroidManifest.xml

+

In AndroidManifest.xml, add a activity

+
android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<activity android:name=".WidgetConfigurationActivity"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
</application>
</manifest>
+

For the activity

+
    +
  • android:name myst be .WidgetConfigurationActivity (same as the Java class extending RNWidgetConfigurationActivity)
  • +
+

Make Widget configurable in Expo using config plugin

+

If using Expo, the configuration is much simpler. We will only need to set the widgetFeatures property in the config plugin to reconfigurable or reconfigurable|configuration_optional.

+
app.config.ts
import type { ConfigContext, ExpoConfig } from 'expo/config';
import type { WithAndroidWidgetsParams } from 'react-native-android-widget';

const widgetConfig: WithAndroidWidgetsParams = {
widgets: [
{
name: 'Hello',
label: 'My Hello Widget',
minWidth: '320dp',
minHeight: '120dp',
description: 'This is my first widget',
previewImage: './assets/widget-preview/hello.png',
updatePeriodMillis: 1800000,

// This
widgetFeatures: 'reconfigurable',
},
],
};

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [['react-native-android-widget', widgetConfig]],
});
+

Create the Widget Configuration Screen

+

For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the registerWidgetConfigurationScreen

\ No newline at end of file diff --git a/docs/tutorial/register-task-handler.html b/docs/tutorial/register-task-handler.html index 2180178..478a50e 100644 --- a/docs/tutorial/register-task-handler.html +++ b/docs/tutorial/register-task-handler.html @@ -1,20 +1,39 @@ - + - -Register task handler | React Native Android Widget + +Register task handler | React Native Android Widget - - - + + + -
-

Register task handler

We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.

Create task handler function

First, create a task handler function, containing:

widget-task-handler.tsx
import React from 'react';
import type { WidgetTaskHandlerProps } from 'react-native-android-widget';
import { HelloWidget } from './HelloWidget';

const nameToWidget = {
// Hello will be the **name** with which we will reference our widget.
Hello: HelloWidget,
};

export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
const widgetInfo = props.widgetInfo;
const Widget =
nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];

switch (props.widgetAction) {
case 'WIDGET_ADDED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_UPDATE':
// Not needed for now
break;

case 'WIDGET_RESIZED':
// Not needed for now
break;

case 'WIDGET_DELETED':
// Not needed for now
break;

case 'WIDGET_CLICK':
// Not needed for now
break;

default:
break;
}
}

We use nameToWidget to map from the name to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this.

Register widget task handler

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget task handler.

index.ts
import { AppRegistry } from 'react-native';
import { registerWidgetTaskHandler } from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);

Register widget task handler (Expo)

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}

Create the file, using node_modules/expo/AppEntry.js as a template. -Then import widgetTaskHandler and register it.

index.ts
import { registerRootComponent } from 'expo';
import { registerWidgetTaskHandler } from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);

Next steps

We designed our widget, saw the preview, and registered a handler that will handle adding it to the home screen.

We still need to tell the application that there is a widget called Hello.

Continue with:

- - +

Register task handler

+

We designed and previewed our widget. Now we need to register a task handler that will handle the logic of adding/updating a widget to the home screen, as well as handle widget clicks.

+

Create task handler function

+

First, create a task handler function, containing:

+
widget-task-handler.tsx
import React from 'react';
import type { WidgetTaskHandlerProps } from 'react-native-android-widget';
import { HelloWidget } from './HelloWidget';

const nameToWidget = {
// Hello will be the **name** with which we will reference our widget.
Hello: HelloWidget,
};

export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {
const widgetInfo = props.widgetInfo;
const Widget =
nameToWidget[widgetInfo.widgetName as keyof typeof nameToWidget];

switch (props.widgetAction) {
case 'WIDGET_ADDED':
props.renderWidget(<Widget />);
break;

case 'WIDGET_UPDATE':
// Not needed for now
break;

case 'WIDGET_RESIZED':
// Not needed for now
break;

case 'WIDGET_DELETED':
// Not needed for now
break;

case 'WIDGET_CLICK':
// Not needed for now
break;

default:
break;
}
}
+

We use nameToWidget to map from the name to the component defining the widget (useful if we have multiple widgets). There are other ways to achieve this.

+

Register widget task handler

+

In the main index.js (or index.ts, index.tsx) file for our app, when we register the main component, register the widget task handler.

+
index.ts
import { AppRegistry } from 'react-native';
import { registerWidgetTaskHandler } from 'react-native-android-widget';
import { name as appName } from './app.json';
import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

AppRegistry.registerComponent(appName, () => App);
registerWidgetTaskHandler(widgetTaskHandler);
+

Register widget task handler (Expo)

+

If we are using Expo, there is no index.js (or index.ts, index.tsx), but we can create it.

+

First, update package.json main field to point to index.ts (or .js) instead of node_modules/expo/AppEntry.js

+
package.json
{
"name": "my-expo-app",
"main": "index.ts",
...
}
+

Create the file, using node_modules/expo/AppEntry.js as a template. +Then import widgetTaskHandler and register it.

+
index.ts
import { registerRootComponent } from 'expo';
import { registerWidgetTaskHandler } from 'react-native-android-widget';

import App from './App';
import { widgetTaskHandler } from './widget-task-handler';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerWidgetTaskHandler(widgetTaskHandler);
+

Next steps

+

We designed our widget, saw the preview, and registered a handler that will handle adding it to the home screen.

+

We still need to tell the application that there is a widget called Hello.

+

Continue with:

+
\ No newline at end of file diff --git a/docs/tutorial/register-widget-expo.html b/docs/tutorial/register-widget-expo.html index 0fae913..0dd9b2c 100644 --- a/docs/tutorial/register-widget-expo.html +++ b/docs/tutorial/register-widget-expo.html @@ -1,19 +1,32 @@ - + - -Register widget in Expo | React Native Android Widget + +Register widget in Expo | React Native Android Widget - - - + + + -
-

Register widget in Expo

If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.

Expo provides Config Plugins that can be used to configure the native android project.

react-native-android-widget exports a config plugin.

Create widget preview image

When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like.

Take a screenshot of the widget, and place it inside assets/widget-preview/hello.png

assets/widget-preview/hello.png

Hello Widget Preview

Add custom fonts used in widgets

If we need custom fonts for our widgets, we can add them in the assets directory

For example, assets/fonts/Inter.ttf

Use config plugin in app.(json|config.js|config.ts)

In this example we are using app.config.ts but the changes are similar for all configuration types.

app.config.ts
import type { ConfigContext, ExpoConfig } from 'expo/config';
import type { WithAndroidWidgetsParams } from 'react-native-android-widget';

const widgetConfig: WithAndroidWidgetsParams = {
// Paths to all custom fonts used in all widgets
fonts: ['./assets/fonts/Inter.ttf'],
widgets: [
{
name: 'Hello', // This name will be the **name** with which we will reference our widget.
label: 'My Hello Widget', // Label shown in the widget picker
minWidth: '320dp',
minHeight: '120dp',
description: 'This is my first widget', // Description shown in the widget picker
previewImage: './assets/widget-preview/hello.png', // Path to widget preview image

// How often, in milliseconds, that this AppWidget wants to be updated.
// The task handler will be called with widgetAction = 'UPDATE_WIDGET'.
// Default is 0 (no automatic updates)
// Minimum is 1800000 (30 minutes == 30 * 60 * 1000).
updatePeriodMillis: 1800000,
},
],
};

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [['react-native-android-widget', widgetConfig]],
});

Build Dev Client

Build an Expo Dev Client that will include react-native-android-widget and the new widget

- - +

Register widget in Expo

+

If we are using Expo for our app, we might not have access to the native android directory, so we cannot create/update the required files.

+

Expo provides Config Plugins that can be used to configure the native android project.

+

react-native-android-widget exports a config plugin.

+

Create widget preview image

+

When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like.

+

Take a screenshot of the widget, and place it inside assets/widget-preview/hello.png

+
assets/widget-preview/hello.png
+

Hello Widget Preview

+

Add custom fonts used in widgets

+

If we need custom fonts for our widgets, we can add them in the assets directory

+

For example, assets/fonts/Inter.ttf

+

Use config plugin in app.(json|config.js|config.ts)

+

In this example we are using app.config.ts but the changes are similar for all configuration types.

+
app.config.ts
import type { ConfigContext, ExpoConfig } from 'expo/config';
import type { WithAndroidWidgetsParams } from 'react-native-android-widget';

const widgetConfig: WithAndroidWidgetsParams = {
// Paths to all custom fonts used in all widgets
fonts: ['./assets/fonts/Inter.ttf'],
widgets: [
{
name: 'Hello', // This name will be the **name** with which we will reference our widget.
label: 'My Hello Widget', // Label shown in the widget picker
minWidth: '320dp',
minHeight: '120dp',
description: 'This is my first widget', // Description shown in the widget picker
previewImage: './assets/widget-preview/hello.png', // Path to widget preview image

// How often, in milliseconds, that this AppWidget wants to be updated.
// The task handler will be called with widgetAction = 'UPDATE_WIDGET'.
// Default is 0 (no automatic updates)
// Minimum is 1800000 (30 minutes == 30 * 60 * 1000).
updatePeriodMillis: 1800000,
},
],
};

export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'My Expo App Name',
plugins: [['react-native-android-widget', widgetConfig]],
});
+

Build Dev Client

+

Build an Expo Dev Client that will include react-native-android-widget and the new widget

\ No newline at end of file diff --git a/docs/tutorial/register-widget.html b/docs/tutorial/register-widget.html index cd752e8..66a4bae 100644 --- a/docs/tutorial/register-widget.html +++ b/docs/tutorial/register-widget.html @@ -1,19 +1,53 @@ - + - -Register widget | React Native Android Widget + +Register widget | React Native Android Widget - - - + + + -
-

Register widget

In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.

Add a widget provider class

Create a new package widget in the native android app. Inside it create a class Hello.java

android/app/src/main/java/com/yourapppackage/widget/Hello.java
package com.yourapppackage.widget;

import com.reactnativeandroidwidget.RNWidgetProvider;

public class Hello extends RNWidgetProvider {
}

The class name will be used to reference our widget.

Create widget preview image

When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like.

Take a screenshot of the widget, and place it inside android/app/src/main/res/drawable/hello_preview.png

android/app/src/main/res/drawable/hello_preview.png

Hello Widget Preview

Add widget description string (Optional)

When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in strings.xml

android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">My App Name</string>
<string name="widget_hello_description" translatable="false">This is my first widget</string>
</resources>

Add a widget provider xml file

Create a new xml file in the resources directory containing the details about the widget.

android/app/src/main/res/xml/widgetprovider_hello.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="320dp"
android:minHeight="120dp"

android:updatePeriodMillis="0"

android:initialLayout="@layout/rn_widget"

android:previewImage="@drawable/hello_preview"
android:description="@string/widget_hello_description"

android:resizeMode="none"

android:widgetCategory="home_screen">
</appwidget-provider>
  • android:updatePeriodMillis How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with widgetAction = 'UPDATE_WIDGET'. See the official docs here
  • android:previewImage should reference the preview image we added previously
  • android:description can be added or not, depending on if we added a description in the previous step

Add services in AndroidManifest.xml

In order to use the ListWidget we need to add a RNWidgetCollectionService service.

Under the application section in the manifest, add a new RNWidgetCollectionService service. This service will be shared between all widgets, so it needs to be added only once.

android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<service
android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
</application>
</manifest>

Add widget receiver in AndroidManifest.xml

Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)

In AndroidManifest.xml, add a receiver for the widget

android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<service
android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"
... />

<receiver
android:name=".widget.Hello"
android:exported="false"
android:label="My Hello Widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.yourapppackage.WIDGET_CLICK" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widgetprovider_hello" />
</receiver>
</application>
</manifest>

For the receiver

  • android:name myst be .widget.WidgetName (same as the Java class extending RNWidgetProvider)
  • android:label will be shown in the widget picker

Add custom fonts used in widgets

If we used a custom font in our widget, we must copy the font file(s) to android/app/src/main/assets/fonts. The fontFamily style prop will match the file by name.

For example, android/app/src/main/assets/fonts/Inter.ttf

- - +

Register widget

+

In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.

+

Add a widget provider class

+

Create a new package widget in the native android app. Inside it create a class Hello.java

+
android/app/src/main/java/com/yourapppackage/widget/Hello.java
package com.yourapppackage.widget;

import com.reactnativeandroidwidget.RNWidgetProvider;

public class Hello extends RNWidgetProvider {
}
+

The class name will be used to reference our widget.

+

Create widget preview image

+

When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like.

+

Take a screenshot of the widget, and place it inside android/app/src/main/res/drawable/hello_preview.png

+
android/app/src/main/res/drawable/hello_preview.png
+

Hello Widget Preview

+

Add widget description string (Optional)

+

When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in strings.xml

+
android/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">My App Name</string>
<string name="widget_hello_description" translatable="false">This is my first widget</string>
</resources>
+

Add a widget provider xml file

+

Create a new xml file in the resources directory containing the details about the widget.

+
android/app/src/main/res/xml/widgetprovider_hello.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="320dp"
android:minHeight="120dp"

android:updatePeriodMillis="0"

android:initialLayout="@layout/rn_widget"

android:previewImage="@drawable/hello_preview"
android:description="@string/widget_hello_description"

android:resizeMode="none"

android:widgetCategory="home_screen">
</appwidget-provider>
+
    +
  • android:updatePeriodMillis How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with widgetAction = 'UPDATE_WIDGET'. See the official docs here
  • +
  • android:previewImage should reference the preview image we added previously
  • +
  • android:description can be added or not, depending on if we added a description in the previous step
  • +
+

Add services in AndroidManifest.xml

+

In order to use the ListWidget we need to add a RNWidgetCollectionService service.

+

Under the application section in the manifest, add a new RNWidgetCollectionService service. This service will be shared between all widgets, so it needs to be added only once.

+
android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<service
android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
</application>
</manifest>
+

Add widget receiver in AndroidManifest.xml

+

Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)

+

In AndroidManifest.xml, add a receiver for the widget

+
android/app/src/main/AndroidManifest.xml
<manifest ...>
...
<application
android:name=".MainApplication"
...>

<activity
android:name=".MainActivity"
...>
</activity>

<service
android:name="com.reactnativeandroidwidget.RNWidgetCollectionService"
... />

<receiver
android:name=".widget.Hello"
android:exported="false"
android:label="My Hello Widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.yourapppackage.WIDGET_CLICK" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widgetprovider_hello" />
</receiver>
</application>
</manifest>
+

For the receiver

+
    +
  • android:name myst be .widget.WidgetName (same as the Java class extending RNWidgetProvider)
  • +
  • android:label will be shown in the widget picker
  • +
+

Add custom fonts used in widgets

+

If we used a custom font in our widget, we must copy the font file(s) to android/app/src/main/assets/fonts. The fontFamily style prop will match the file by name.

+

For example, android/app/src/main/assets/fonts/Inter.ttf

\ No newline at end of file diff --git a/docs/tutorial/try-it-our.html b/docs/tutorial/try-it-our.html index 9383aed..a38738c 100644 --- a/docs/tutorial/try-it-our.html +++ b/docs/tutorial/try-it-our.html @@ -1,19 +1,18 @@ - + - -Try it out | React Native Android Widget + +Try it out | React Native Android Widget - - - + + + -
-

Try it out

After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.

If everything was successful, you should see it in the widget picker, and be able to drop it on the home screen.

- - +

Try it out

+

After rebuilding our app (or creating a Dev Client for Expo), we can start it and add our first widget to the Home Screen.

+

If everything was successful, you should see it in the widget picker, and be able to drop it on the home screen.

\ No newline at end of file diff --git a/docs/tutorial/widget-design.html b/docs/tutorial/widget-design.html index ff6fa81..49d7293 100644 --- a/docs/tutorial/widget-design.html +++ b/docs/tutorial/widget-design.html @@ -1,19 +1,30 @@ - + - -Widget Design | React Native Android Widget + +Widget Design | React Native Android Widget - - - + + + -
-

Widget Design

This library provides a few primitives that we can use to create widgets.

You can read more about them and their props in their respective pages.

Hooks

Widgets must not use any hooks. They must be functions that return some of the primitives.

We can create custom components, but at the end they must use only the primitives, not View, Text, or any other React Native component.

We can also use conditions, for/map, standard jsx. They cannot be async.

We'll start with a Basic widget that says "Hello".

HelloWidget.tsx
import React from 'react';
import { FlexWidget, TextWidget } from 'react-native-android-widget';

export function HelloWidget() {
return (
<FlexWidget
style={{
height: 'match_parent',
width: 'match_parent',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#ffffff',
borderRadius: 16,
}}
>
<TextWidget
text="Hello"
style={{
fontSize: 32,
fontFamily: 'Inter',
color: '#000000',
}}
/>
</FlexWidget>
);
}
- - +

Widget Design

+

This library provides a few primitives that we can use to create widgets.

+ +

You can read more about them and their props in their respective pages.

+
Hooks

Widgets must not use any hooks. They must be functions that return some of the primitives.

We can create custom components, but at the end they must use only the primitives, not View, Text, or any other React Native component.

We can also use conditions, for/map, standard jsx. They cannot be async.

+

We'll start with a Basic widget that says "Hello".

+
HelloWidget.tsx
import React from 'react';
import { FlexWidget, TextWidget } from 'react-native-android-widget';

export function HelloWidget() {
return (
<FlexWidget
style={{
height: 'match_parent',
width: 'match_parent',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#ffffff',
borderRadius: 16,
}}
>
<TextWidget
text="Hello"
style={{
fontSize: 32,
fontFamily: 'Inter',
color: '#000000',
}}
/>
</FlexWidget>
);
}
\ No newline at end of file diff --git a/docs/tutorial/widget-preview.html b/docs/tutorial/widget-preview.html index 2a22b80..263e6fc 100644 --- a/docs/tutorial/widget-preview.html +++ b/docs/tutorial/widget-preview.html @@ -1,19 +1,20 @@ - + - -Widget Preview | React Native Android Widget + +Widget Preview | React Native Android Widget - - - + + + -
-

Widget Preview

Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.

react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.

HelloWidgetPreviewScreen.tsx
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { WidgetPreview } from 'react-native-android-widget';

import { HelloWidget } from './HelloWidget';

export function HelloWidgetPreviewScreen() {
return (
<View style={styles.container}>
<WidgetPreview
renderWidget={() => <HelloWidget />}
width={320}
height={200}
/>
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});

Widget Preview

- - +

Widget Preview

+

Designing a widget can be cumbersome if you have to add the widget to a homescreen everytime you make a change.

+

react-native-android-widget exports a WidgetPreview component that can be used to preview a widget in any screen in our React Native application.

+
HelloWidgetPreviewScreen.tsx
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { WidgetPreview } from 'react-native-android-widget';

import { HelloWidget } from './HelloWidget';

export function HelloWidgetPreviewScreen() {
return (
<View style={styles.container}>
<WidgetPreview
renderWidget={() => <HelloWidget />}
width={320}
height={200}
/>
</View>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});
+

Widget Preview

\ No newline at end of file diff --git a/docs/update-widget.html b/docs/update-widget.html index ebf2cc4..c8c7ce3 100644 --- a/docs/update-widget.html +++ b/docs/update-widget.html @@ -1,19 +1,25 @@ - + - -Update Widget | React Native Android Widget + +Update Widget | React Native Android Widget - - - + + + -
-

Update Widget

There are two ways to update a widget once it is added on the home screen.

updatePeriodMillis

Schedule updates using android:updatePeriodMillis (or updatePeriodMillis with Expo)

When using this option, the widgetTaskHandler function will be called with widgetAction = 'WIDGET_UPDATE', and you can use it to update the widget.

widget-task-handler.tsx
export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {

switch (props.widgetAction) {
...

case 'WIDGET_UPDATE':
props.renderWidget(<Widget />);
break;

...
}
}
Note

Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes.

More details about updatePeriodMillis on the official documentation.

requestWidgetUpdate

You can call requestWidgetUpdate any time when your app is open as a result of some user action, and request a widget update.

- - +

Update Widget

+

There are two ways to update a widget once it is added on the home screen.

+

updatePeriodMillis

+

Schedule updates using android:updatePeriodMillis (or updatePeriodMillis with Expo)

+

When using this option, the widgetTaskHandler function will be called with widgetAction = 'WIDGET_UPDATE', and you can use it to update the widget.

+
widget-task-handler.tsx
export async function widgetTaskHandler(props: WidgetTaskHandlerProps) {

switch (props.widgetAction) {
...

case 'WIDGET_UPDATE':
props.renderWidget(<Widget />);
break;

...
}
}
+
Note

Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes.

+

More details about updatePeriodMillis on the official documentation.

+

requestWidgetUpdate

+

You can call requestWidgetUpdate any time when your app is open as a result of some user action, and request a widget update.

\ No newline at end of file diff --git a/index.html b/index.html index 9f4b4f2..94074f7 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,16 @@ - + - -React Native Android Widget + +React Native Android Widget - - - + + + -
-

React Native Android Widget

Build Android Widgets with React Native

mobile_prototyping

Easy to Use

Designed to be easily installed and used. Supports the React Native new architecture.

Focus on What Matters

Lets you focus on the design, using familiar concepts from React Native. Leave the heavy lifting for interaction with the Android widget to the library.

androidExpo

Expo Support

Support for expo using custom config plugin.

- - +

React Native Android Widget

Build Android Widgets with React Native

mobile_prototyping

Easy to Use

Designed to be easily installed and used. Supports the React Native new architecture.

Focus on What Matters

Lets you focus on the design, using familiar concepts from React Native. Leave the heavy lifting for interaction with the Android widget to the library.

androidExpo

Expo Support

Support for expo using custom config plugin.

\ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index f5a87bf..735a2c2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://saleksovski.github.io/react-native-android-widget/docsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/register-widget-configuration-screenweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/register-widget-task-handlerweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/request-widget-updateweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/widget-previewweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/demoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/handling-clicksweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/limitationsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/flex-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/icon-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/image-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/indexweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/list-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/overlap-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/svg-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/text-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-apiweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/BackgroundStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/BorderStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ClickActionPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/CommonStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/FlexWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/IconWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ImageWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ListWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/MarginStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OtherStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/PaddingStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdatePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ScreenInfoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/SizeStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/SvgWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/TextWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/Widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetInfoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParamsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/FlexWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/IconWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/ImageWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/ListWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/OverlapWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/SvgWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/namespaces/TextWidgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/congratulationsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/make-widget-configurableweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-task-handlerweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-widget-expoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/try-it-ourweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/widget-designweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/widget-previewweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/update-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/weekly0.5 \ No newline at end of file +https://saleksovski.github.io/react-native-android-widget/docsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/register-widget-configuration-screenweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/register-widget-task-handlerweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/request-widget-updateweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/api/widget-previewweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/demoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/handling-clicksweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/limitationsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/flex-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/icon-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/image-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/indexweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/list-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/overlap-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/svg-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/primitives/text-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-apiweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/BackgroundStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/BorderStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ClickActionPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/CommonStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/FlexWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/IconWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ImageWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ListWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/MarginStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OtherStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/PaddingStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdatePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/ScreenInfoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/SizeStylePropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/SvgWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/TextWidgetPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyleweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/Widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetInfoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerPropsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParamsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/congratulationsweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/make-widget-configurableweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-task-handlerweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/register-widget-expoweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/try-it-ourweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/widget-designweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/tutorial/widget-previewweekly0.5https://saleksovski.github.io/react-native-android-widget/docs/update-widgetweekly0.5https://saleksovski.github.io/react-native-android-widget/weekly0.5 \ No newline at end of file