uawdijnntqw1x1x1
IP : 3.17.78.254
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
wp-content
/
..
/
soon
/
..
/
un6xee
/
index
/
.
/
convert-javascript-to-blazor.php
/
/
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <style id="astra-theme-css-inline-css"> .ast-no-sidebar .entry-content .alignfull {margin-left: calc( -50vw + 50%);margin-right: calc( -50vw + 50%);max-width: 100vw;width: 100vw;}.ast-no-sidebar .entry-content .alignwide {margin-left: calc(-41vw + 50%);margin-right: calc(-41vw + 50%);max-width: unset;width: unset;}.ast-no-sidebar .entry-content .alignfull .alignfull,.ast-no-sidebar .entry-content .alignfull .alignwide,.ast-no-sidebar .entry-content .alignwide .alignfull,.ast-no-sidebar .entry-content .alignwide .alignwide,.ast-no-sidebar .entry-content .wp-block-column .alignfull,.ast-no-sidebar .entry-content .wp-block-column .alignwide{width: 100%;margin-left: auto;margin-right: auto;}.wp-block-gallery,.blocks-gallery-grid {margin: 0;}.wp-block-separator {max-width: 100px;}.,. {max-width: none;}.entry-content .has-2-columns .wp-block-column:first-child {padding-right: 10px;}.entry-content .has-2-columns .wp-block-column:last-child {padding-left: 10px;}@media (max-width: 782px) {.entry-content .wp-block-columns .wp-block-column {flex-basis: 100%;}.entry-content .has-2-columns .wp-block-column:first-child {padding-right: 0;}.entry-content .has-2-columns .wp-block-column:last-child {padding-left: 0;}}body .entry-content .wp-block-latest-posts {margin-left: 0;}body .entry-content .wp-block-latest-posts li {list-style: none;}.ast-no-sidebar .ast-container .entry-content .wp-block-latest-posts {margin-left: 0;}.ast-header-break-point .entry-content .alignwide {margin-left: auto;margin-right: auto;}.entry-content .blocks-gallery-item img {margin-bottom: auto;}.wp-block-pullquote {border-top: 4px solid #555d66;border-bottom: 4px solid #555d66;color: #40464d;}:root{--ast-container-default-xlg-padding:;--ast-container-default-lg-padding:;--ast-container-default-slg-padding:;--ast-container-default-md-padding:;--ast-container-default-sm-padding:;--ast-container-default-xs-padding:;--ast-container-default-xxs-padding:;--ast-code-block-background:#EEEEEE;--ast-comment-inputs-background:#FAFAFA;--ast-normal-container-width:1100px;--ast-narrow-container-width:750px;--ast-blog-title-font-weight:normal;--ast-blog-meta-weight:inherit;}html{font-size:%;}a,.page-title{color:#1e73be;}a:hover,a:focus{color:#dd9933;}body,button,input,select,textarea,.ast-button,.ast-custom-button{font-family:Verdana,Helvetica,Arial,sans-serif;font-weight:400;font-size:15px;font-size:1rem;line-height:var(--ast-body-line-height,);}blockquote{color:#000000;}p,.entry-content p{margin-bottom:;}h1,.entry-content h1,.entry-content h1 a,h2,.entry-content h2,.entry-content h2 a,h3,.entry-content h3,.entry-content h3 a,h4,.entry-content h4,.entry-content h4 a,h5,.entry-content h5,.entry-content h5 a,h6,.entry-content h6,.entry-content h6 a,.site-title,.site-title a{font-weight:normal;}.site-title{font-size:40px;font-size:;display:block;}.site-header .site-description{font-size:15px;font-size:1rem;display:block;}.entry-title{font-size:30px;font-size:2rem;}.archive .ast-article-post .ast-article-inner,.blog .ast-article-post .ast-article-inner,.archive .ast-article-post .ast-article-inner:hover,.blog .ast-article-post .ast-article-inner:hover{overflow:hidden;}h1,.entry-content h1,.entry-content h1 a{font-size:48px;font-size:;line-height:;}h2,.entry-content h2,.entry-content h2 a{font-size:42px;font-size:;line-height:;}h3,.entry-content h3,.entry-content h3 a{font-size:30px;font-size:2rem;line-height:;}h4,.entry-content h4,.entry-content h4 a{font-size:24px;font-size:;line-height:;}h5,.entry-content h5,.entry-content h5 a{font-size:20px;font-size:;line-height:;}h6,.entry-content h6,.entry-content h6 a{font-size:16px;font-size:;line-height:;}::selection{background-color:#1e73be;color:#ffffff;}body,h1,.entry-title a,.entry-content h1,.entry-content h1 a,h2,.entry-content h2,.entry-content h2 a,h3,.entry-content h3,.entry-content h3 a,h4,.entry-content h4,.entry-content h4 a,h5,.entry-content h5,.entry-content h5 a,h6,.entry-content h6,.entry-content h6 a{color:#000000;}.tagcloud a:hover,.tagcloud a:focus,.tagcloud {color:#ffffff;border-color:#1e73be;background-color:#1e73be;}input:focus,input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="reset"]:focus,input[type="search"]:focus,textarea:focus{border-color:#1e73be;}input[type="radio"]:checked,input[type=reset],input[type="checkbox"]:checked,input[type="checkbox"]:hover:checked,input[type="checkbox"]:focus:checked,input[type=range]::-webkit-slider-thumb{border-color:#1e73be;background-color:#1e73be;box-shadow:none;}.site-footer a:hover + .post-count,.site-footer a:focus + .post-count{background:#1e73be;border-color:#1e73be;}.single .nav-links .nav-previous,.single .nav-links .nav-next{color:#1e73be;}.entry-meta,.entry-meta *{line-height:;color:#1e73be;}.entry-meta a:not(.ast-button):hover,.entry-meta a:not(.ast-button):hover *,.entry-meta a:not(.ast-button):focus,.entry-meta a:not(.ast-button):focus *,.page-links > .page-link,.page-links .page-link:hover,.post-navigation a:hover{color:#dd9933;}#cat option,.secondary .calendar_wrap thead a,.secondary .calendar_wrap thead a:visited{color:#1e73be;}.secondary .calendar_wrap #today,.ast-progress-val span{background:#1e73be;}.secondary a:hover + .post-count,.secondary a:focus + .post-count{background:#1e73be;border-color:#1e73be;}.calendar_wrap #today > a{color:#ffffff;}.page-links .page-link,.single .post-navigation a{color:#1e73be;}.ast-search-menu-icon .search-form {padding:0 4px;}.ast-search-menu-icon {padding-right:0;}. {width:0;}.ast-header-search . .search-form,.ast-header-search . .search-field:focus{transition:all ;}.search-form :focus{outline:none;}.widget-title,.widget .wp-block-heading{font-size:21px;font-size:;color:#000000;}#secondary,#secondary button,#secondary input,#secondary select,#secondary textarea{font-size:15px;font-size:1rem;}. a:focus-visible:focus-visible,.astra-search-icon:focus-visible,#close:focus-visible,a:focus-visible,.ast-menu-toggle:focus-visible,.site .skip-link:focus-visible,.wp-block-loginout input:focus-visible,. .wp-block-search__inside-wrapper,.ast-header-navigation-arrow:focus-visible,.woocommerce .wc-proceed-to-checkout > .checkout-button:focus-visible,.woocommerce .woocommerce-MyAccount-navigation ul li a:focus-visible,.ast-orders-table__row .ast-orders-table__cell:focus-visible,.woocommerce .woocommerce-order-details .order-again > .button:focus-visible,.woocommerce .woocommerce-message :focus-visible,.woocommerce #minus_qty:focus-visible,.woocommerce #plus_qty:focus-visible,a#ast-apply-coupon:focus-visible,.woocommerce .woocommerce-info a:focus-visible,.woocommerce .astra-shop-summary-wrap a:focus-visible,.woocommerce :focus-visible,#ast-apply-coupon:focus-visible,.woocommerce-js .woocommerce-mini-cart-item :focus-visible,#close:focus-visible,.:focus-visible,#search_submit:focus,.normal-search:focus-visible{outline-style:dotted;outline-color:inherit;outline-width:thin;}input:focus,input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="reset"]:focus,input[type="search"]:focus,input[type="number"]:focus,textarea:focus,.wp-block-search__input:focus,[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus,. .menu-toggle-close:focus,.woocommerce-ordering :focus,#ast-scroll-top:focus,#coupon_code:focus,.woocommerce-page #comment:focus,.woocommerce #reviews #respond input#submit:focus,.woocommerce :focus,.woocommerce .:focus,.woocommerce .woocommerce-cart-form button:focus,.woocommerce .woocommerce-cart-form__cart-item .quantity .qty:focus,.woocommerce .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus,.woocommerce #order_comments:focus,.woocommerce #place_order:focus,.woocommerce .woocommerce-address-fields .woocommerce-address-fields__field-wrapper .woocommerce-input-wrapper > .input-text:focus,.woocommerce .woocommerce-MyAccount-content form button:focus,.woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row .:focus,.woocommerce .ast-woocommerce-container .woocommerce-pagination li a:focus,body #content .woocommerce form .form-row .select2-container--default .select2-selection--single:focus,#ast-coupon-code:focus,. .quantity input[type=number]:focus,.woocommerce-js .woocommerce-mini-cart-item .quantity input[type=number]:focus,.woocommerce p#ast-coupon-trigger:focus{border-style:dotted;border-color:inherit;border-width:thin;}input{outline:none;}.main-header-menu .menu-link,.ast-header-custom-item a{color:#000000;}.main-header-menu .menu-item:hover > .menu-link,.main-header-menu .menu-item:hover > .ast-menu-toggle,.main-header-menu .ast-masthead-custom-menu-items a:hover,.main-header-menu . > .menu-link,.main-header-menu . > .ast-menu-toggle,.main-header-menu .current-menu-item > .menu-link,.main-header-menu .current-menu-ancestor > .menu-link,.main-header-menu .current-menu-item > .ast-menu-toggle,.main-header-menu .current-menu-ancestor > .ast-menu-toggle{color:#1e73be;}.header-main-layout-3 .ast-main-header-bar-alignment{margin-right:auto;}.header-main-layout-2 .site-header-section-left .ast-site-identity{text-align:left;}body .ast-oembed-container *{position:absolute;top:0;width:100%;height:100%;left:0;}body .wp-block-embed-pocket-casts .ast-oembed-container *{position:unset;}.ast-header-break-point .{background:transparent;color:#222222;}.ast-header-break-point .{background:transparent;border:1px solid #222222;color:#222222;}.ast-header-break-point .{background:#222222;color:#ffffff;}.ast-single-post-featured-section + article {margin-top: 2em;}.site-content .ast-single-post-featured-section img {width: 100%;overflow: hidden;object-fit: cover;}.site > .ast-single-related-posts-container {margin-top: 0;}@media (min-width: 769px) {.ast-desktop .ast-container--narrow {max-width: var(--ast-narrow-container-width);margin: 0 auto;}}#secondary {margin: 4em 0 ;word-break: break-word;line-height: 2;}#secondary li {margin-bottom: ;}#secondary li:last-child {margin-bottom: 0;}@media (max-width: 768px) {.js_active . #secondary {margin-top: ;}}. #secondary .widget {background-color: #fff;padding: 2em;margin-bottom: 2em;}@media (min-width: 993px) {.ast-left-sidebar #secondary {padding-right: 60px;}.ast-right-sidebar #secondary {padding-left: 60px;}}@media (max-width: 993px) {.ast-right-sidebar #secondary {padding-left: 30px;}.ast-left-sidebar #secondary {padding-right: 30px;}}.ast-small-footer > .ast-footer-overlay{background-color:#222222;;}.footer-adv .footer-adv-overlay{border-top-style:solid;border-top-color:#7a7a7a;}.{justify-content:center;}@media (max-width:782px){.entry-content .wp-block-columns .wp-block-column{margin-left:0px;}}.{margin-left:auto;margin-right:auto;}.{margin-left:auto;margin-right:auto;}.wp-block-buttons . .,.ast-outline-button,.wp-block-uagb-buttons-child .{border-color:#222222;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;font-family:inherit;font-weight:inherit;line-height:1em;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}. .wp-block-button__link:hover,.wp-block-buttons . .wp-block-button__link:focus,.wp-block-buttons . > .wp-block-button__link:not(.has-text-color):hover,.wp-block-buttons .:not(.has-text-color):hover,.ast-outline-button:hover,.ast-outline-button:focus,.wp-block-uagb-buttons-child .:hover,.wp-block-uagb-buttons-child .:focus{background-color:#222222;}.wp-block-button .:not(.has-background),.>.:not(.has-background),.ast-outline-button{background-color:#222222;}.entry-content[ast-blocks-layout] > figure{margin-bottom:1em;}@media (max-width:768px){.ast-separate-container #primary,.ast-separate-container #secondary{padding: 0;}#primary,#secondary{padding: 0;margin:0;}.ast-left-sidebar #content > .ast-container{display:flex;flex-direction:column-reverse;width:100%;}.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single{padding: ;}.ast-author-box {margin:20px 0 0 0;}}@media (max-width:768px){#{padding-top:0;}. #secondary{padding-left:1em;padding-right:1em;}. #secondary{padding-left:0;padding-right:0;}.ast-page-builder-template .entry-header #secondary,.ast-page-builder-template #secondary{margin-top:;}}@media (max-width:768px){.ast-right-sidebar #primary{padding-right:0;}. #secondary,. #secondary{padding-right:20px;padding-left:20px;}.ast-right-sidebar #secondary,.ast-left-sidebar #primary{padding-left:0;}.ast-left-sidebar #secondary{padding-right:0;}}@media (min-width:769px){. #primary,. #primary{border:0;}. #primary{margin-bottom:4em;}}@media (min-width:769px){.ast-right-sidebar #primary{border-right:1px solid var(--ast-border-color);}.ast-left-sidebar #primary{border-left:1px solid var(--ast-border-color);}.ast-right-sidebar #secondary{border-left:1px solid var(--ast-border-color);margin-left:-1px;}.ast-left-sidebar #secondary{border-right:1px solid var(--ast-border-color);margin-right:-1px;}. #secondary{padding-left:30px;padding-right:0;}. #secondary{padding-right:30px;padding-left:0;}. #secondary,. #secondary{border:0;margin-left:auto;margin-right:auto;}. #secondary .widget:last-child{margin-bottom:0;}}.menu-toggle,button,.ast-button,.ast-custom-button,.button,input#submit,input[type="button"],input[type="submit"],input[type="reset"]{color:#ffffff;border-color:#222222;background-color:#222222;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;padding-top:5px;padding-right:40px;padding-bottom:5px;padding-left:40px;font-family:inherit;font-weight:inherit;}button:focus,.menu-toggle:hover,button:hover,.ast-button:hover,.ast-custom-button:hover .button:hover,.ast-custom-button:hover,input[type=reset]:hover,input[type=reset]:focus,input#submit:hover,input#submit:focus,input[type="button"]:hover,input[type="button"]:focus,input[type="submit"]:hover,input[type="submit"]:focus{color:#ffffff;background-color:#222222;border-color:#222222;}@media (max-width:768px){.ast-mobile-header-stack .main-header-bar .ast-search-menu-icon{display:inline-block;}. .ast-mobile-header-stack .main-header-bar .ast-search-icon{margin:0;}.ast-comment-avatar-wrap img{max-width:;}.ast-comment-meta{padding:0 ;}.ast-separate-container .ast-comment-list {padding: ;}.ast-separate-container .comment-respond{padding:2em ;}}@media (min-width:544px){.ast-container{max-width:100%;}}@media (max-width:544px){.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single,.ast-separate-container .comments-title,.ast-separate-container .ast-archive-description{padding: 1em;}.ast-separate-container #content .ast-container{padding-left:;padding-right:;}.ast-separate-container .ast-comment-list .bypostauthor{padding:.5em;}. .search-field{width:170px;}.ast-separate-container #secondary{padding-top:0;}. #secondary .widget{margin-bottom:;padding-left:1em;padding-right:1em;}.site-branding img,.site-header .site-logo-img .custom-logo-link img{max-width:100%;}}body,.ast-separate-container{background-color:#3a3a3a;;}. .entry-content .alignfull {margin-left: ;margin-right: ;width: auto;}@media (max-width: 1200px) {. .entry-content .alignfull {margin-left: ;margin-right: ;}}@media (max-width: 768px) {. .entry-content .alignfull {margin-left: ;margin-right: ;}}@media (max-width: 544px) {. .entry-content .alignfull {margin-left: -1em;margin-right: -1em;}}. .entry-content .alignwide {margin-left: -20px;margin-right: -20px;}. .entry-content .wp-block-column .alignfull,. .entry-content .wp-block-column .alignwide {margin-left: auto;margin-right: auto;width: 100%;}@media (max-width:768px){.site-title{display:block;}.site-header .site-description{display:block;}h1,.entry-content h1,.entry-content h1 a{font-size:30px;}h2,.entry-content h2,.entry-content h2 a{font-size:25px;}h3,.entry-content h3,.entry-content h3 a{font-size:20px;}}@media (max-width:544px){.site-title{display:block;}.site-header .site-description{display:block;}h1,.entry-content h1,.entry-content h1 a{font-size:30px;}h2,.entry-content h2,.entry-content h2 a{font-size:25px;}h3,.entry-content h3,.entry-content h3 a{font-size:20px;}}@media (max-width:768px){html{font-size:85.5%;}}@media (max-width:544px){html{font-size:85.5%;}}@media (min-width:769px){.ast-container{max-width:1140px;}}@font-face {font-family: "Astra";src: url() format("woff"),url() format("truetype"),url(#astra) format("svg");font-weight: normal;font-style: normal;font-display: fallback;}@media (max-width:921px) {.main-header-bar .main-header-bar-navigation{display:none;}}.ast-desktop . .sub-menu,.ast-desktop . .astra-full-megamenu-wrapper{border-color:#eaeaea;}.ast-desktop . .sub-menu{border-top-width:1px;border-right-width:1px;border-left-width:1px;border-bottom-width:1px;border-style:solid;}.ast-desktop . .sub-menu .sub-menu{top:-1px;}.ast-desktop . .sub-menu .menu-link,.ast-desktop . .children .menu-link{border-bottom-width:1px;border-style:solid;border-color:#eaeaea;}@media (min-width:769px){.main-header-menu .sub-menu .:hover > .sub-menu,.main-header-menu .sub-menu . > .sub-menu{margin-left:-2px;}}.ast-small-footer{border-top-style:solid;border-top-width:1px;border-top-color:#7a7a7a;}.ast-small-footer-wrap{text-align:center;}.site .comments-area{padding-bottom:3em;}. .main-header-bar .main-header-bar-navigation .ast-search-icon {display: none;}. .main-header-bar .ast-search-menu-icon .search-form {padding: 0;display: block;overflow: hidden;}.ast-header-break-point .ast-header-custom-item .widget:last-child {margin-bottom: 1em;}.ast-header-custom-item .widget {margin: ;display: inline-block;vertical-align: middle;}.ast-header-custom-item .widget p {margin-bottom: 0;}.ast-header-custom-item .widget li {width: auto;}.ast-header-custom-item-inside .button-custom-menu-item .menu-link {display: none;}. .button-custom-menu-item .ast-custom-button-link {display: none;}. .button-custom-menu-item .menu-link {display: block;}. .main-header-bar .ast-search-icon {margin-right: 1em;}. .main-header-bar .ast-search-menu-icon .search-field,. .main-header-bar . .search-field {width: 100%;padding-right: ;}. .main-header-bar .ast-search-menu-icon .search-submit {display: block;position: absolute;height: 100%;top: 0;right: 0;padding: 0 1em;border-radius: 0;}.ast-header-break-point .ast-header-custom-item .ast-masthead-custom-menu-items {padding-left: 20px;padding-right: 20px;margin-bottom: 1em;margin-top: 1em;}. .button-custom-menu-item {padding-left: 0;padding-right: 0;margin-top: 0;margin-bottom: 0;}.astra-icon-down_arrow::after {content: "\e900";font-family: Astra;}.astra-icon-close::after {content: "\e5cd";font-family: Astra;}.astra-icon-drag_handle::after {content: "\e25d";font-family: Astra;}.astra-icon-format_align_justify::after {content: "\e235";font-family: Astra;}.astra-icon-menu::after {content: "\e5d2";font-family: Astra;}.astra-icon-reorder::after {content: "\e8fe";font-family: Astra;}.astra-icon-search::after {content: "\e8b6";font-family: Astra;}.astra-icon-zoom_in::after {content: "\e56b";font-family: Astra;}.astra-icon-check-circle::after {content: "\e901";font-family: Astra;}.astra-icon-shopping-cart::after {content: "\f07a";font-family: Astra;}.astra-icon-shopping-bag::after {content: "\f290";font-family: Astra;}.astra-icon-shopping-basket::after {content: "\f291";font-family: Astra;}.astra-icon-circle-o::after {content: "\e903";font-family: Astra;}.astra-icon-certificate::after {content: "\e902";font-family: Astra;}blockquote {padding: ;}:root .has-ast-global-color-0-color{color:var(--ast-global-color-0);}:root .has-ast-global-color-0-background-color{background-color:var(--ast-global-color-0);}:root .wp-block-button .has-ast-global-color-0-color{color:var(--ast-global-color-0);}:root .wp-block-button .has-ast-global-color-0-background-color{background-color:var(--ast-global-color-0);}:root .has-ast-global-color-1-color{color:var(--ast-global-color-1);}:root .has-ast-global-color-1-background-color{background-color:var(--ast-global-color-1);}:root .wp-block-button .has-ast-global-color-1-color{color:var(--ast-global-color-1);}:root .wp-block-button .has-ast-global-color-1-background-color{background-color:var(--ast-global-color-1);}:root .has-ast-global-color-2-color{color:var(--ast-global-color-2);}:root .has-ast-global-color-2-background-color{background-color:var(--ast-global-color-2);}:root .wp-block-button .has-ast-global-color-2-color{color:var(--ast-global-color-2);}:root .wp-block-button .has-ast-global-color-2-background-color{background-color:var(--ast-global-color-2);}:root .has-ast-global-color-3-color{color:var(--ast-global-color-3);}:root .has-ast-global-color-3-background-color{background-color:var(--ast-global-color-3);}:root .wp-block-button .has-ast-global-color-3-color{color:var(--ast-global-color-3);}:root .wp-block-button .has-ast-global-color-3-background-color{background-color:var(--ast-global-color-3);}:root .has-ast-global-color-4-color{color:var(--ast-global-color-4);}:root .has-ast-global-color-4-background-color{background-color:var(--ast-global-color-4);}:root .wp-block-button .has-ast-global-color-4-color{color:var(--ast-global-color-4);}:root .wp-block-button .has-ast-global-color-4-background-color{background-color:var(--ast-global-color-4);}:root .has-ast-global-color-5-color{color:var(--ast-global-color-5);}:root .has-ast-global-color-5-background-color{background-color:var(--ast-global-color-5);}:root .wp-block-button .has-ast-global-color-5-color{color:var(--ast-global-color-5);}:root .wp-block-button .has-ast-global-color-5-background-color{background-color:var(--ast-global-color-5);}:root .has-ast-global-color-6-color{color:var(--ast-global-color-6);}:root .has-ast-global-color-6-background-color{background-color:var(--ast-global-color-6);}:root .wp-block-button .has-ast-global-color-6-color{color:var(--ast-global-color-6);}:root .wp-block-button .has-ast-global-color-6-background-color{background-color:var(--ast-global-color-6);}:root .has-ast-global-color-7-color{color:var(--ast-global-color-7);}:root .has-ast-global-color-7-background-color{background-color:var(--ast-global-color-7);}:root .wp-block-button .has-ast-global-color-7-color{color:var(--ast-global-color-7);}:root .wp-block-button .has-ast-global-color-7-background-color{background-color:var(--ast-global-color-7);}:root .has-ast-global-color-8-color{color:var(--ast-global-color-8);}:root .has-ast-global-color-8-background-color{background-color:var(--ast-global-color-8);}:root .wp-block-button .has-ast-global-color-8-color{color:var(--ast-global-color-8);}:root .wp-block-button .has-ast-global-color-8-background-color{background-color:var(--ast-global-color-8);}:root{--ast-global-color-0:#0170B9;--ast-global-color-1:#3a3a3a;--ast-global-color-2:#3a3a3a;--ast-global-color-3:#4B4F58;--ast-global-color-4:#F5F5F5;--ast-global-color-5:#FFFFFF;--ast-global-color-6:#E5E5E5;--ast-global-color-7:#424242;--ast-global-color-8:#000000;}:root {--ast-border-color : #dddddd;}#masthead .ast-container,.ast-header-breadcrumb .ast-container{max-width:100%;padding-left:35px;padding-right:35px;}@media (max-width:921px){#masthead .ast-container,.ast-header-breadcrumb .ast-container{padding-left:20px;padding-right:20px;}}. .main-header-bar .main-header-bar-navigation .ast-search-icon {display: none;}. .main-header-bar .ast-search-menu-icon .search-form {padding: 0;display: block;overflow: hidden;}.ast-header-break-point .ast-header-custom-item .widget:last-child {margin-bottom: 1em;}.ast-header-custom-item .widget {margin: ;display: inline-block;vertical-align: middle;}.ast-header-custom-item .widget p {margin-bottom: 0;}.ast-header-custom-item .widget li {width: auto;}.ast-header-custom-item-inside .button-custom-menu-item .menu-link {display: none;}. .button-custom-menu-item .ast-custom-button-link {display: none;}. .button-custom-menu-item .menu-link {display: block;}. .main-header-bar .ast-search-icon {margin-right: 1em;}. .main-header-bar .ast-search-menu-icon .search-field,. .main-header-bar . .search-field {width: 100%;padding-right: ;}. .main-header-bar .ast-search-menu-icon .search-submit {display: block;position: absolute;height: 100%;top: 0;right: 0;padding: 0 1em;border-radius: 0;}.ast-header-break-point .ast-header-custom-item .ast-masthead-custom-menu-items {padding-left: 20px;padding-right: 20px;margin-bottom: 1em;margin-top: 1em;}. .button-custom-menu-item {padding-left: 0;padding-right: 0;margin-top: 0;margin-bottom: 0;}.astra-icon-down_arrow::after {content: "\e900";font-family: Astra;}.astra-icon-close::after {content: "\e5cd";font-family: Astra;}.astra-icon-drag_handle::after {content: "\e25d";font-family: Astra;}.astra-icon-format_align_justify::after {content: "\e235";font-family: Astra;}.astra-icon-menu::after {content: "\e5d2";font-family: Astra;}.astra-icon-reorder::after {content: "\e8fe";font-family: Astra;}.astra-icon-search::after {content: "\e8b6";font-family: Astra;}.astra-icon-zoom_in::after {content: "\e56b";font-family: Astra;}.astra-icon-check-circle::after {content: "\e901";font-family: Astra;}.astra-icon-shopping-cart::after {content: "\f07a";font-family: Astra;}.astra-icon-shopping-bag::after {content: "\f290";font-family: Astra;}.astra-icon-shopping-basket::after {content: "\f291";font-family: Astra;}.astra-icon-circle-o::after {content: "\e903";font-family: Astra;}.astra-icon-certificate::after {content: "\e902";font-family: Astra;}blockquote {padding: ;}:root .has-ast-global-color-0-color{color:var(--ast-global-color-0);}:root .has-ast-global-color-0-background-color{background-color:var(--ast-global-color-0);}:root .wp-block-button .has-ast-global-color-0-color{color:var(--ast-global-color-0);}:root .wp-block-button .has-ast-global-color-0-background-color{background-color:var(--ast-global-color-0);}:root .has-ast-global-color-1-color{color:var(--ast-global-color-1);}:root .has-ast-global-color-1-background-color{background-color:var(--ast-global-color-1);}:root .wp-block-button .has-ast-global-color-1-color{color:var(--ast-global-color-1);}:root .wp-block-button .has-ast-global-color-1-background-color{background-color:var(--ast-global-color-1);}:root .has-ast-global-color-2-color{color:var(--ast-global-color-2);}:root .has-ast-global-color-2-background-color{background-color:var(--ast-global-color-2);}:root .wp-block-button .has-ast-global-color-2-color{color:var(--ast-global-color-2);}:root .wp-block-button .has-ast-global-color-2-background-color{background-color:var(--ast-global-color-2);}:root .has-ast-global-color-3-color{color:var(--ast-global-color-3);}:root .has-ast-global-color-3-background-color{background-color:var(--ast-global-color-3);}:root .wp-block-button .has-ast-global-color-3-color{color:var(--ast-global-color-3);}:root .wp-block-button .has-ast-global-color-3-background-color{background-color:var(--ast-global-color-3);}:root .has-ast-global-color-4-color{color:var(--ast-global-color-4);}:root .has-ast-global-color-4-background-color{background-color:var(--ast-global-color-4);}:root .wp-block-button .has-ast-global-color-4-color{color:var(--ast-global-color-4);}:root .wp-block-button .has-ast-global-color-4-background-color{background-color:var(--ast-global-color-4);}:root .has-ast-global-color-5-color{color:var(--ast-global-color-5);}:root .has-ast-global-color-5-background-color{background-color:var(--ast-global-color-5);}:root .wp-block-button .has-ast-global-color-5-color{color:var(--ast-global-color-5);}:root .wp-block-button .has-ast-global-color-5-background-color{background-color:var(--ast-global-color-5);}:root .has-ast-global-color-6-color{color:var(--ast-global-color-6);}:root .has-ast-global-color-6-background-color{background-color:var(--ast-global-color-6);}:root .wp-block-button .has-ast-global-color-6-color{color:var(--ast-global-color-6);}:root .wp-block-button .has-ast-global-color-6-background-color{background-color:var(--ast-global-color-6);}:root .has-ast-global-color-7-color{color:var(--ast-global-color-7);}:root .has-ast-global-color-7-background-color{background-color:var(--ast-global-color-7);}:root .wp-block-button .has-ast-global-color-7-color{color:var(--ast-global-color-7);}:root .wp-block-button .has-ast-global-color-7-background-color{background-color:var(--ast-global-color-7);}:root .has-ast-global-color-8-color{color:var(--ast-global-color-8);}:root .has-ast-global-color-8-background-color{background-color:var(--ast-global-color-8);}:root .wp-block-button .has-ast-global-color-8-color{color:var(--ast-global-color-8);}:root .wp-block-button .has-ast-global-color-8-background-color{background-color:var(--ast-global-color-8);}:root{--ast-global-color-0:#0170B9;--ast-global-color-1:#3a3a3a;--ast-global-color-2:#3a3a3a;--ast-global-color-3:#4B4F58;--ast-global-color-4:#F5F5F5;--ast-global-color-5:#FFFFFF;--ast-global-color-6:#E5E5E5;--ast-global-color-7:#424242;--ast-global-color-8:#000000;}:root {--ast-border-color : #dddddd;}#masthead .ast-container,.ast-header-breadcrumb .ast-container{max-width:100%;padding-left:35px;padding-right:35px;}@media (max-width:921px){#masthead .ast-container,.ast-header-breadcrumb .ast-container{padding-left:20px;padding-right:20px;}}.ast-single-entry-banner {-js-display: flex;display: flex;flex-direction: column;justify-content: center;text-align: center;position: relative;background: #eeeeee;}.ast-single-entry-banner[data-banner-layout="layout-1"] {max-width: 1100px;background: inherit;padding: 20px 0;}.ast-single-entry-banner[data-banner-width-type="custom"] {margin: 0 auto;width: 100%;}.ast-single-entry-banner + .site-content .entry-header {margin-bottom: 0;}.site .ast-author-avatar {--ast-author-avatar-size: ;} {text-decoration: underline;}.ast-container > .ast-terms-link {position: relative;display: block;} {padding: 4px 8px;border-radius: 3px;font-size: inherit;} > *:not(:last-child){margin-bottom:10px;}.ast-archive-entry-banner {-js-display: flex;display: flex;flex-direction: column;justify-content: center;text-align: center;position: relative;background: #eeeeee;}.ast-archive-entry-banner[data-banner-width-type="custom"] {margin: 0 auto;width: 100%;}.ast-archive-entry-banner[data-banner-layout="layout-1"] {background: inherit;padding: 20px 0;text-align: left;} .ast-archive-description{max-width:1100px;width:100%;text-align:left;padding-top:3em;padding-right:3em;padding-bottom:3em;padding-left:3em;} .ast-archive-description .ast-archive-title, .ast-archive-description .ast-archive-title *{font-size:40px;font-size:;text-transform:capitalize;} .ast-archive-description > *:not(:last-child){margin-bottom:10px;}@media (max-width:768px){ .ast-archive-description{text-align:left;}}@media (max-width:544px){ .ast-archive-description{text-align:left;}}.ast-breadcrumbs .trail-browse,.ast-breadcrumbs .trail-items,.ast-breadcrumbs .trail-items li{display:inline-block;margin:0;padding:0;border:none;background:inherit;text-indent:0;text-decoration:none;}.ast-breadcrumbs .trail-browse{font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;}.ast-breadcrumbs .trail-items{list-style:none;}.trail-items li::after{padding:0 ;content:"\00bb";}.trail-items li:last-of-type::after{display:none;}h1,.entry-content h1,h2,.entry-content h2,h3,.entry-content h3,h4,.entry-content h4,h5,.entry-content h5,h6,.entry-content h6{color:var(--ast-global-color-2);}.ast-header-break-point .main-header-bar{border-bottom-width:0px;border-bottom-color:#000000;}@media (min-width:769px){.main-header-bar{border-bottom-width:0px;border-bottom-color:#000000;}}@media (min-width:769px){#primary{width:70%;}#secondary{width:30%;}}.ast-flex{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;}.main-header-bar{padding:1em 0;}.ast-site-identity{padding:0;}.header-main-layout-1 ., .header-main-layout-3 .{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;}.header-main-layout-1 ., .header-main-layout-3 .{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;}.main-header-menu .sub-menu . > .menu-link:after{position:absolute;right:1em;top:50%;transform:translate(0,-50%) rotate(270deg);}.ast-header-break-point .main-header-bar .main-header-bar-navigation .page_item_has_children > .ast-menu-toggle::before, .ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle::before, .ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle::before, .ast-header-break-point .ast-mobile-header-wrap .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle::before{font-weight:bold;content:"\e900";font-family:Astra;text-decoration:inherit;display:inline-block;}.ast-header-break-point .main-navigation .menu-item .menu-link:before{content:"\e900";font-family:Astra;font-size:.65em;text-decoration:inherit;display:inline-block;transform:translate(0, -2px) rotateZ(270deg);margin-right:5px;}.widget_search .search-form:after{font-family:Astra;font-size:;font-weight:normal;content:"\e8b6";position:absolute;top:50%;right:15px;transform:translate(0, -50%);}.astra-search-icon::before{content:"\e8b6";font-family:Astra;font-style:normal;font-weight:normal;text-decoration:inherit;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;z-index:3;}.main-header-bar .main-header-bar-navigation .page_item_has_children > a:after, .main-header-bar .main-header-bar-navigation .menu-item-has-children > a:after, .menu-item-has-children .ast-header-navigation-arrow:after{content:"\e900";display:inline-block;font-family:Astra;font-size:.6rem;font-weight:bold;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:10px;line-height:normal;}.menu-item-has-children .sub-menu .ast-header-navigation-arrow:after{margin-left:0;}.ast-mobile-popup-drawer .main-header-bar-navigation .ast-submenu-expanded>.ast-menu-toggle::before{transform:rotateX(180deg);}.ast-header-break-point .main-header-bar-navigation .menu-item-has-children > .menu-link:after{display:none;}@media (min-width:769px){.ast-builder-menu .main-navigation > ul > li:last-child a{margin-right:0;}}.ast-separate-container .ast-article-inner{background-color:transparent;background-image:none;}.ast-separate-container .ast-article-post{background-color:var(--ast-global-color-5);;}@media (max-width:768px){.ast-separate-container .ast-article-post{background-color:var(--ast-global-color-5);;}}@media (max-width:544px){.ast-separate-container .ast-article-post{background-color:var(--ast-global-color-5);;}}.ast-separate-container .ast-article-single:not(.ast-related-post), . .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, . .ast-author-meta, .ast-separate-container .related-posts-title-wrapper,.ast-separate-container .comments-count-wrapper, . .site-content,. .site-content, .ast-separate-container .ast-archive-description, .ast-separate-container .comments-area .comment-respond, .ast-separate-container .comments-area .ast-comment-list li, .ast-separate-container .comments-area .comments-title{background-color:var(--ast-global-color-5);;}@media (max-width:768px){.ast-separate-container .ast-article-single:not(.ast-related-post), . .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, . .ast-author-meta, .ast-separate-container .related-posts-title-wrapper,.ast-separate-container .comments-count-wrapper, . .site-content,. .site-content, .ast-separate-container .ast-archive-description{background-color:var(--ast-global-color-5);;}}@media (max-width:544px){.ast-separate-container .ast-article-single:not(.ast-related-post), . .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, . .ast-author-meta, .ast-separate-container .related-posts-title-wrapper,.ast-separate-container .comments-count-wrapper, . .site-content,. .site-content, .ast-separate-container .ast-archive-description{background-color:var(--ast-global-color-5);;}}. #secondary .widget{background-color:var(--ast-global-color-5);;}@media (max-width:768px){. #secondary .widget{background-color:var(--ast-global-color-5);;}}@media (max-width:544px){. #secondary .widget{background-color:var(--ast-global-color-5);;}} </style> <style id="global-styles-inline-css"> body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--ast-global-color-0: var(--ast-global-color-0);--wp--preset--color--ast-global-color-1: var(--ast-global-color-1);--wp--preset--color--ast-global-color-2: var(--ast-global-color-2);--wp--preset--color--ast-global-color-3: var(--ast-global-color-3);--wp--preset--color--ast-global-color-4: var(--ast-global-color-4);--wp--preset--color--ast-global-color-5: var(--ast-global-color-5);--wp--preset--color--ast-global-color-6: var(--ast-global-color-6);--wp--preset--color--ast-global-color-7: var(--ast-global-color-7);--wp--preset--color--ast-global-color-8: var(--ast-global-color-8);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: ;--wp--preset--spacing--30: ;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: ;--wp--preset--spacing--60: ;--wp--preset--spacing--70: ;--wp--preset--spacing--80: ;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}body { margin: 0;--wp--style--global--content-size: var(--wp--custom--ast-content-width-size);--wp--style--global--wide-size: var(--wp--custom--ast-wide-width-size); }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 24px; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child:first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child:last-child { margin-block-end: 0; }body { --wp--style--block-gap: 24px; }:where(body .is-layout-flow) > :first-child:first-child{margin-block-start: 0;}:where(body .is-layout-flow) > :last-child:last-child{margin-block-end: 0;}:where(body .is-layout-flow) > *{margin-block-start: 24px;margin-block-end: 0;}:where(body .is-layout-constrained) > :first-child:first-child{margin-block-start: 0;}:where(body .is-layout-constrained) > :last-child:last-child{margin-block-end: 0;}:where(body .is-layout-constrained) > *{margin-block-start: 24px;margin-block-end: 0;}:where(body .is-layout-flex) {gap: 24px;}:where(body .is-layout-grid) {gap: 24px;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}body .is-layout-grid{display: grid;}body .is-layout-grid > *{margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}a:where(:not(.wp-element-button)){text-decoration: none;}.wp-element-button, .wp-block-button__link{background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;line-height: inherit;padding: calc( + 2px) calc( + 2px);text-decoration: none;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-ast-global-color-0-color{color: var(--wp--preset--color--ast-global-color-0) !important;}.has-ast-global-color-1-color{color: var(--wp--preset--color--ast-global-color-1) !important;}.has-ast-global-color-2-color{color: var(--wp--preset--color--ast-global-color-2) !important;}.has-ast-global-color-3-color{color: var(--wp--preset--color--ast-global-color-3) !important;}.has-ast-global-color-4-color{color: var(--wp--preset--color--ast-global-color-4) !important;}.has-ast-global-color-5-color{color: var(--wp--preset--color--ast-global-color-5) !important;}.has-ast-global-color-6-color{color: var(--wp--preset--color--ast-global-color-6) !important;}.has-ast-global-color-7-color{color: var(--wp--preset--color--ast-global-color-7) !important;}.has-ast-global-color-8-color{color: var(--wp--preset--color--ast-global-color-8) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-ast-global-color-0-background-color{background-color: var(--wp--preset--color--ast-global-color-0) !important;}.has-ast-global-color-1-background-color{background-color: var(--wp--preset--color--ast-global-color-1) !important;}.has-ast-global-color-2-background-color{background-color: var(--wp--preset--color--ast-global-color-2) !important;}.has-ast-global-color-3-background-color{background-color: var(--wp--preset--color--ast-global-color-3) !important;}.has-ast-global-color-4-background-color{background-color: var(--wp--preset--color--ast-global-color-4) !important;}.has-ast-global-color-5-background-color{background-color: var(--wp--preset--color--ast-global-color-5) !important;}.has-ast-global-color-6-background-color{background-color: var(--wp--preset--color--ast-global-color-6) !important;}.has-ast-global-color-7-background-color{background-color: var(--wp--preset--color--ast-global-color-7) !important;}.has-ast-global-color-8-background-color{background-color: var(--wp--preset--color--ast-global-color-8) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-ast-global-color-0-border-color{border-color: var(--wp--preset--color--ast-global-color-0) !important;}.has-ast-global-color-1-border-color{border-color: var(--wp--preset--color--ast-global-color-1) !important;}.has-ast-global-color-2-border-color{border-color: var(--wp--preset--color--ast-global-color-2) !important;}.has-ast-global-color-3-border-color{border-color: var(--wp--preset--color--ast-global-color-3) !important;}.has-ast-global-color-4-border-color{border-color: var(--wp--preset--color--ast-global-color-4) !important;}.has-ast-global-color-5-border-color{border-color: var(--wp--preset--color--ast-global-color-5) !important;}.has-ast-global-color-6-border-color{border-color: var(--wp--preset--color--ast-global-color-6) !important;}.has-ast-global-color-7-border-color{border-color: var(--wp--preset--color--ast-global-color-7) !important;}.has-ast-global-color-8-border-color{border-color: var(--wp--preset--color--ast-global-color-8) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;} .wp-block-pullquote{font-size: ;line-height: 1.6;} </style> </head> <body> <span class="skip-link screen-reader-text"><br> </span> <div class="hfeed site" id="page"> <header class="site-header header-main-layout-2 ast-primary-menu-enabled ast-menu-toggle-icon ast-mobile-header-stack" id="masthead" itemtype="" itemscope="itemscope" itemid="#masthead"> </header> <div class="main-header-bar-wrap"> <div class="main-header-bar"> <div class="ast-container"> <div class="ast-flex main-header-container"> <div class="site-branding"> <div class="ast-site-identity" itemtype="" itemscope="itemscope"> <div class="ast-site-title-wrap"> <span class="site-title" itemprop="name">Convert javascript to blazor. JavaScript should be added into either /Pages/_Host.</span></div> </div> </div> </div> </div> </div> </div> <div id="content" class="site-content"> <div class="ast-container"> <div class="widget-area secondary" id="secondary" itemtype="" itemscope="itemscope"> <div class="sidebar-main"> <aside id="nav_menu-25" class="widget widget_nav_menu"><nav class="menu-full-menu-container" aria-label="Menu"></nav></aside> <div class="textwidget custom-html-widget"> <span style="display: none;">Mastodon</span> <span style="display: none;">Mastodon</span> <hr> <ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-9860074198072634" data-ad-slot="8557765699" data-ad-format="auto"></ins> </div> </div> </div> <div id="primary" class="content-area primary"> <main id="main" class="site-main"> <article class="post-5155 page type-page status-publish ast-article-single" id="post-5155" itemtype="" itemscope="itemscope"> <header class="entry-header"> </header></article></main> <h1 class="entry-title" itemprop="headline">Convert javascript to blazor. NET codes in Blazor and WebAssembly.</h1> <div class="entry-content clear" itemprop="text"> <p><img decoding="async" src="/wp/wp-content/uploads/2023/04/" alt="" class="aligncenter"></p> <hr id="hhr"> <p>Convert javascript to blazor. You can also find related questions and answers on Stack Overflow that deal with similar issues of using jquery, ajax, and html elements with razor variables. I have wrapped the JS classes with C# classes. In the Start Window, select Create a new project: In the Create a new project dialog, filter the Project type dropdown to Desktop. Mar 24, 2020 · Blazor Server. Oct 29, 2019 · Blazor client-side is the more familiar hosting model to JavaScript developers. The three files that require changes are MainLayout. Mar 20, 2020 · For Blazor users with no former JavaScript knowledge: Besides confirm (), JavaScript also offers the methods alert () to show a message and a OK button and prompt () (which asks the user to input some text). When the file size is large this conversion takes This free online converter lets you convert code from JavaScript to Csharp in a click of a button. This property of calling a JS method from C# code and vice versa is referred as JavaScript Interop. What is not working. Add your personal Avator. cshtml in Server-side Blazor apps, or in wwwroot/index. Figure 1 Server Side Blazor Illustration. Factory. var bytes = new byte[] { 1, 5, 7 }; await _jsRuntime. There are many ways you can make this code more compact, but I've gone for a more verbose example to hopefully show what's happening a bit better. Mar 1, 2024 · For the current release, see the . Model); What can I do to let the browser to Follow the below steps to convert an existing Blazor Server project into a Blazor WebAssembly project. NET codes in Blazor and WebAssembly. InvokeVoidAsync("checkNullValues"); } Here is the javascript function Dec 9, 2022 · Calling JavaScript functions from Blazor. To see the differences in action, I’m using a default Blazor template. Now corresponds to the time zone of the server instead of the user's time zone. Tutorial on how to call JavaScript from Blazor. Raw(Json. g. Sometimes we may wish to proceed anyway and let JavaScript interact with our generated Sep 22, 2020 · Blazor WebAssembly is one of the newest front-end frameworks on the block. About; Blazor to Javascript byte array interop. <CodeBlock Html="@("<Chat></Chat>")">. Move the pages/components to common razor class library. razor requires a bool value (IconMenuActive) to Go to the Startup class of the Blazor Server-Side project. Most websites use some JavaScript libraries that make it easier to make complex animations, self-aligning components, or other dynamic interactions. A standalone Blazor WebAssembly app is published as a set of static files for hosting by a static file server. "searching": false. Server Side Blazor executes its C# code on the server and uses SignalR to communicate with the browser, therefore we need to add an additional entry into the Oct 11, 2020 · SomeModel someModel = new SomeModel(); void OnDeleteSomeModel(SomeModel someModel) {. exemple : var host = new TestHost(); var component = host. Create a New Project for Your Blazor UI. js to project. csproj) and add the Blazor WebAssembly SDK and package references. To create a new Blazor app using this template we can use the following command via the . 4. The imported charting_library code itself isn't accessible without access being granted, but that shouldn't be an issue for answering this question. 5. Jul 6, 2018 · What is JavaScript Interop? Blazor uses JavaScript to bootstrap the . Figure 1 . NET, so your project is not required to migrate to EF Core. Oct 12, 2022 · Steps: Create a web assembly app. Open the existing Blazor Server app project file (. Combine(Directory. Response. Copy. serviceWorker. If you can access the PDF directly via an open GET endpoint, the easiest way is to embed the PDF in an iframe by setting the `src` attribute to the URL await base. At this point we should be able to run the application and at least see the same web site with the CSS applied. <script>navigator. Select the C# project template for WPF Application and select the Next button: In the Configure your new project dialog: Set the Project name to WpfBlazor. We can see it is running from local host and the top title has changed to “Blazor Static Bootstrap”. It looks, OBJECT is converted to string type. 0. After that step, you can see that the Bootstrap libs are added under the target location. Step 3: To convert a Word document to PDF in server app Oct 26, 2023 · React is a client-side JavaScript library, whereas Blazor is a server-side web framework that uses C# and . The new render modes give developers a huge amount of flexibility with their applications. GetMultipleFiles(); // get the files selected by the users. Apr 18, 2023 · Migrate your app, one ASPX page at a time (ASPX -> Blazor component). It is able to use any JS library. One of them is to call the function without marshaling Jan 4, 2019 · For this to happen, however, a bridge is needed to convert the . Size]; Files can be downloaded from the app's own static assets or from any other location: ASP. Migrate data access The advent of . Select Blazor Server App from the template and click the Next button. Calling JavaScript from . Prerequisites: . As you don't require a return value I'm just using Action rather than Action<T>. @inject IJSRuntime JsRuntime. When using Blazor's enhanced navigation feature, which allows the user to avoid reloading the entire page, page Jan 12, 2022 · One option is to pass the RenderFragment content as string parameter to CodeBlock component. The library can be use to generate the HTML of a component. Feb 26, 2023 · In the following example I have left all the standard styling as is with the menu and just done the changes required to make the collapsible menu. With the Blazor Server, the application is executed on the server from within an ASP. NET Core's support for the configuration and management of security in Blazor apps. Click Create button to create a new project with the required project name. Render(); It supports parameters, DI injection and nested components so you should find it useful! It's also much easier to set up and works in Razor Class Jun 3, 2023 · For example, you can call JavaScript functions, handle JavaScript events, and pass data between JavaScript and Blazor. ValueTask<TValue> InvokeAsync<TValue>(string identifier, object[] args); Dec 27, 2020 · Create a new Razor component and call the file Component1. The . In Blazor 0. In the wwwroot folder of your project, create a new subfolder called js. JavaScript (JS) functions can call . But than does not differ much from using client-side javascript framework and server-side ASP MVC Api. GetExcelStream(exportModel); using var streamRef = new DotNetStreamReference(stream: fileStream); await jsRuntime. Follow these steps to convert the Apr 7, 2021 · I am wrapping a calendar UI lib for blazor. ContentType = "application/pdf"; //// Assuming that byte array represents a PDF document. NET runtime. NET Core Blazor forms and validation page for more details on using Blazor components and annotations for validation. This support will allow you to render Blazor components from a Razor page. var files = e. To host the app in Docker: Choose a Docker container with web server support, such as Ngnix or Apache. foreach(var file in files) {. When sending a calendar "schedule" (event) from Blazor to JS, the DateTimes are just passed as serialized strings. This article describes ASP. await this. Feb 23, 2023 · These proposed changes for Blazor in . InvokeVoidAsync("receivesByteArray", bytes); In the preceding code example, you'd treat the incoming parameter in JavaScript as a byte array instead of a Base64-encoded string. Following this plan, an . Mar 5, 2020 · The method shown below worked for both Blazor Server and WASM without JavaScript. services. This article explains how to use it : Introduction to Blazor Component Testing . Download and use a library from NPM, we will leverage the NPM ecosystem by downloading an NPM library and call that from our Blazor Component Mar 8, 2024 · Create a Windows Forms Blazor project. js file. Whether you're using Blazor, Angular, React, or just HTML and JavaScript, . To make a synchronous call from . That is when JS comes in, hence my question. You can change your existing Blazor Server app to target . js');</script>. JavaScript functions can be called from Blazor by the use 2 methods of the IJSRuntime Interface. Let’s explore each one: 1. Request a free trial license for Dynamsoft Document Viewer. This means we can debug the TypeScript version of our code in the browser instead of the compiled JavaScript version. But this results in duplicate and non readable HTML. csproj] Jan 2, 2023 · I am developing a custom blazor select component. Dec 28, 2020 · You cannot create Blazor components using a “variable” generic type argument. razor page with a simple code like this: @page "/text". razor and NavMenu. Yes, you can use the test library provided by Steve Sanderson and adapt it to your needs. InvokeVoidAsync("downloadFileFromStream", "Actual File Name. This chapter outlines the process. Our JavaScript can then be invoked from Blazor by injecting the IJSRuntime service into our component. For example, to disable the search, we'd call in JS. <Chat></Chat>. Jan 20, 2019 · await jQuery. Jun 15, 2022 · And in the JavaScript file I have this: const linkSource = `data:${contentType};base64,${base64Data}`; const downloadLink = document. Here “name” is the name of JS function to be invoked and “args” are the Aug 4, 2023 · Building native apps doesn't have to mean starting from scratch. Aug 22, 2023 · As previously mentioned, there is a new template for Blazor applications in . The resulting Csharp code from the conversion will be displayed in the output box. fingers10. . Apr 8, 2024 · Word to PDF in Blazor Server app. 7,527 12 57 101. We convert the base64 string to the Uint8Array to open/download the pdf. SomeParameter = someValue) . Apr 6, 2021 · async Task ClickHandler(string newMessage) message = await SomeAsyncMethod(newMessage); Thanks for the advice, will give it a shot! In case you want to attach in code and not in markup, you have to use something like MyComponentRef. stringify('@Model. But when I used it with Blazor WA I faced two problems in converting the file into byte [] first one that when I used the code string filePath = Path. Also this becomes difficult to maintain when the ChildContent has multiple lines of code. You can scaffold the project by command-line below: dotnet new blazorwasm File folder structure of a Blazor project. Apr 9, 2019 · Map files provide a mapping between the original TypeScript source file and the compiled JavaScript. html file might consist of some combination of the basic HTML skeleton elements (the html and body elements), script Step One: Blazor support. This means that if you have a EventCallback<T> you need to pass the value of T to the component e. I Try Using However, client-side Blazor reads the file's bytes into a single JavaScript array buffer when marshalling the data from JavaScript to C#, which is limited to 2 GB or to the device's available memory. To execute javascript you have to inject an IJSRuntime object : public class MyClass{. csproj file. The guidance in this article also applies to other types of file servers that don't use . But the process of integrating JavaScript and C# changed dramatically. Step 1: Create a new C# Blazor Server app project. It seems to be working by replacing index. Serialize(dataArray)); but in Blazor , We Don't Have Html. Jan 5, 2024 · 2. NET (Core), specifically Blazor, so you’ll need to start with a new Blazor project. Call . NET Core apps use Static File Middleware to serve files to clients of server-side apps. Feb 27, 2020 · 12. InvokeVoidAsync("someJsFunction", /*how to add myObject here? Jul 21, 2023 · The learning curve is more gradual than learning an entirely new framework. ImageSharp. answered Nov 8, 2022 at 5:38. Is there a way for an array to hold blazor Nov 8, 2020 · JSRuntime is an abstract class with no static method so you can not call InvokeAsync method of the class itself. Sdk. JavaScript should be added into either /Pages/_Host. Dec 2, 2020 · I want to pass a javascript object that is already existed in a javascript file as a parameter to InvokeVoidAsync method : myJs. With . Security scenarios differ between authorization code running server-side and client-side in Blazor apps. I used it for single file uploads - all you need to do is add the InputFile component in the Razor page: <InputFile OnChange="@SingleUpload" />. NET 8 which provides the mechanism for rendering components to a string. GetFile(this. rar"); to return the file path it returns "/" instead of Aug 15, 2023 · Full stack web UI represents the biggest shift in the Blazor eco-system since the introduction of hosting models and is set to position Blazor as the “go to UI framework” for modern web applications built with . Unfortunately, it's slightly clumsy to work with due to the need to use Blazor's sync context, so I created a simple wrapper class for it, BlazorRenderer. Oct 23, 2019 · On my Blazor page or component when a button is clicked: public async Task GenerateFile() { var fileStream = ExcelExportService. I have . NET generic class methods, where a JS function calls a . Right-click on the Blazor project > Add > Client-Side Library As provider choose 'unpkg' and search for 'bootstrap: Client-Side Library Dialog. Now, we can utilize the Razor class library to develop a Blazor image and PDF converter app. It enables you to write frontend in C# and makes it possible to use many of the . NET 8. Checkout the sample repo. NET 8 version of this article. 0</TargetFramework> </PropertyGroup> </Project>. @implements IAsyncDisposable. NET generic class methods. C# code can call a JS function/API and JS code can call any C# methods. Install RazorCameraLibrary and RazorImageEditorLibrary via NuGet package manager into your project. Which means you need to decide whether to use Blazor WASM or Blazor Can you please share me some stuff to do this. Create<string>(this, ClickHandler). Jan 26, 2021 · Add service for Server Side Blazor. Calling JavaScript Functions →. href = linkSource; downloadLink. CollegeInformationlist'); so, it should convert to JSON object and able to give result when explicitly write . NET Framework to . How to convert HTTP Response to JSON in Blazor. This is the public-facing folder where all your JavaScript assets are going. NET, such as Content Delivery Networks (CDNs). NET runtime in WebAssembly format (622kB) and all the framework DLLs, 3 rd party DLLs, and our DLLs (together ~3MB). In this post, I go over a few options for displaying a PDF in a Blazor app, from the straightforward iframe src attribute embedding to ultilizing IJSRuntime for integration with JavaScript. They look set to give us the ability to: Use Razor Components for all types of web app. register('service-worker. Nov 9, 2019 · Invoke javascript functions, we will create a Blazor component where we will add some code to showcase different ways of calling the JavaScript code using the interop functionality. Mar 8, 2024 · Create a WPF Blazor project. css. Step 2: Now, the project configuration window will popup. These libraries allow the input Apr 19, 2020 · To avoid sending data back and forth, than, you can try to make a javascript function, that will serialize the data you need into json object and return it into Blazor through JSInerop, where it will be deserialized it into C# object. Launch Visual Studio. private async Task Checker() { var result = (await JsRuntime. Data namespace then add a service for the HttpClient to be used by the razor files from the Blazor WASM project. NET MAUI, you can leverage your existing web development skills and components to create powerful and feature-rich native apps. Display the local time by the current offset time difference. I currently have a React app that I'm trying to convert to a Blazor WebAssembly app. State property but, its not working like a way. In this post, we’ve taken a first look at how we can use TypeScript with our Blazor libraries. You can't retrieve the final properties of the rendered DOM elements in Blazor such as width/height. As I understand this is due to Signal-R limitation. As with any web application, adding PWA capabilities to Blazor follows the web standard process of adding a manifest json file and the service workers js file. – Jun 29, 2021 · I have had a hell of a time trying to get JS to play friendly with the Blazor lifecycle. Plenty of widely supported UI frameworks. Summary. However in some situations the property which it binds to may be an integer (outside the component) in which case I need to convert from a string to an integer. Now I Want To Know How Convert A List Of A Model To JavaScript Array In Razor Components. The code changes are shown below: Firstly the NavMenu. } } The EventCallback uses a generic type and blazor cannot infer it if you don't pass the type to the component. Large file uploads (> 250 MB) may fail for client-side uploads using the InputFile component. NET code contained in a Blazor application runs against a version of Mono specifically compiled to WASM, as shown in Figure 1. NET MAUI provides a unified platform to build cross-platform apps that Dec 6, 2021 · I used this article to download files from Blazor Server and it works fine. var buf1 = new byte[file. To include the JavaScript interop files in your Blazor application, add a reference to the JavaScript files in the _Host file located in the Pages folder. Id). var data = @Html. Next, we need to add a reference to the WASM project in the Blazor Nov 2, 2018 · This means that your first step in moving an existing HTML+JavaScript page to Blazor begins with putting your page's HTML in a . 0 dropped and everything got both a lot easier and a lot different. Deployment/Delivery is easier to manage. This will be the companion JavaScript file to Component1. UI updates, event handling, and JavaScript calls are handled over a SignalR connection. I have been trying to include dhtmlxGantt into Blazor index page. When writing a Blazor application, manipulation of the Document Object Model (DOM) is discouraged as it may interfere with its incremental render tree , any changes to HTML should be managed in . ConfigureAwait(false); this. Blazor uses JavaScript Interop to handle DOM manipulation Mar 24, 2023 · Consider this . Select the C# project template for Windows Forms App and select the Next button: In the Configure your new project dialog: Set the Project name to Feb 8, 2024 · To do this, follow these steps: In the Solution Explorer, right-click on the Blazor Server project and select "Add" > "Existing Project". So, there may be a way to avoid the conversion. Alternatively, you can directly declare and initialize a MarkupString field. Dec 27, 2021 · Once the implementation is done, we are going to be able to use this JS library by only writing C# code. HtmlRenderer is the new type that was added to . Blazor calling js using js library. NET Core 3. Something that can ease the transition is to ensure the app adheres to an N-tier architecture, wherein the app model (in this case, Web Forms) is separate from the business logic. AddScoped(sp => new HttpClient { BaseAddress = new Uri(sp Sep 7, 2022 · In Blazor, rendering raw HTML is achieved using the MarkupString class. Additionally, Blazor can handle business logic on the server, whereas React is quick and effective. This template removes the Blazor WebAssembly and Blazor server specifics and creates a standard starting point using SSR. In the previous post about optimizing JS Interop in a Blazor WebAssembly application, I explained how to use the Blazor WebAssembly specific methods to call a JS function. For more information, see the following discussions: Aug 29, 2020 · Once the browser renders the HTML generated by Blazor into a DOM tree, it's out of Blazor's hands. Cells, but it isn't dependent on any particular Excel Nuget package. <Project Sdk="Microsoft. Here's an example: Nov 24, 2023 · 7. Migrating to Blazor Apr 2, 2020 · It supports uploading of single and multiple files in Blazor and is easy to use (and you don't need to add your own JS files etc. razor, NavMenu. Feb 4, 2015 · If you want to know how to pass a value to a razor variable from a javascript variable in ASP. NET to JavaScript in a client-side component, cast IJSRuntime to IJSInProcessRuntime to make the JS interop call: @code { protected override void HandleSomeEvent() var jsInProcess = (IJSInProcessRuntime)JS; var value = jsInProcess. Raw , And Any Resourse i Find Say How Convert A Simple Text , Not A List Of Model Or Similar Thing. NET Web Forms to Blazor is a time-consuming task that requires planning. Aug 27, 2018 · While in the middle of describing how to integrate JavaScript and C# in Blazor 0. js=js; } private async Task HelloWorld() Oct 3, 2023 · This first part is by far the easiest. Most of the JavaScript code is from the Telerik Blazor library (~300kB). These methods are describe below: 1. InvokeAsync<T> (name, args) – Invokes the specified JavaScript function asynchronously. After the browser downloads these files, the app can run on top of WebAssembly. Click "Add" to add the project to the Blazor Server solution. Controller: Mar 1, 2022 · One way to do what you are asking is with SixLabors. The official documentation goes through the process but here’s a quick rundown of it. Under the js folder, create a component1. xlsx", streamRef); } Oct 26, 2019 · Change the title to “Blazor Static Bootstrap”. NET CLI. I have a Blazor Server web app, using . I've found this topic: Pass large JS blob to Blazor byte[] and tried the solution, but even with the code below, c# receives only 50 000 characters. The component has a property named "Value" which in most cases is a string value which I can bind to using @bind-Value without any issues. I will like to call a javascript function and return the result in to a variable. Based on the ProWareTech example, something like this async Task OnChange(InputFileChangeEventArgs e) {. In the following generic type class ( GenericType<TValue> ): The class has a single type parameter ( TValue) with a single generic Value property. 2. Aug 27, 2021 · I have a method like below. For instance, you can assign your raw HTML to a string variable and then cast it as a MarkupString when rendering. Visual Studio 2019. 0, it's possible to add Blazor to any HTML page, including one generated using server-side code. OnClick = EventCallback. here, i wrote var obj = JSON. I used Aspose. NET runtime to WASM. download = fileName; downloadLink. OnInitializedAsync(); //// Gets the byte array of a file based on its identifier. For authorization code that runs on the server, authorization Oct 10, 2023 · Rendering a component to a string. html for Web Assembly Blazor apps. ). Navigate to the location of the existing Blazor WASM project and select it. razor format and then use BlazorTemplater to render to HTML: var html = new ComponentRenderer<MyRazorClass>() . Jun 4, 2020 · Next step is making this into PWA. [BlazorServerApp. NET method of a generic class. Model = await this. With server-side Blazor, the code is executed on the server, so DateTime. Web"> <PropertyGroup> <TargetFramework>net8. and then in my case I needed the file in a byte array: Jul 3, 2021 · Copying files into the project is not the proper way. @rendermode InteractiveAuto. Invoke<string>("javascriptFunctionIdentifier"); How to pass and receive a byte array from Blazor (C#) to Javascript without converting it to a string; If the previous is not possible, what is the best way to convert the base64 string to byte array on Javascript side. Some apps depend on JS to perform initialization tasks that are specific to each page. createElement("a"); downloadLink. Create MAUI Blazor Hybrid Project. If you want to see complete navigation for this series, you can visit our Blazor WebAssembly Page and find all of the articles from Apr 13, 2022 · Download PDF. So this is simple and functional; however, I find that it lacks the finesse and flexibility of SweetAlert2. Mar 4, 2022 · Wrapping up and where to from here. js: var myObject= {a:1,b:2}; MyComponent. Just like with normal generic types in C#, these type arguments need to be known at compile time and as such you will have to specify your type directly when creating the component. NET code inside our components. NET 5 installed on my machine. NET Core 3: First, you have to add Blazor support into your application. The task here is to migrate from . NET interop, where you call into JavaScript passing a byte array: C#. GetCurrentDirectory(), "wwwroot", "files\file. AddComponent<YourComponent>(); Jan 26, 2022 · Blazor: Stack Overflow. this. //Original-sized file. To use this converter, take the following steps - Type or paste your JavaScript code in the input box. But in addition to the JavaScript, the Blazor app also loads the . 0, version 0. Credit: Microsoft. Click the convert button. Its virtual DOM is to blame for the same. On the other hand, the Blazor WebAssembly app transfers only 395kB of JavaScript code. Apr 2, 2024 · This article explains how to load JavaScript (JS) in a Blazor Web App with static server-side rendering (static SSR) and enhanced navigation. html file. WriteAsync(this. The React app has a component that imports a JavaScript library, the sample code for which can be seen here. NET 5. Binding in Blazor has nothing to do with the DOM, it's internal binding within Blazor. Parent Component: @page Jan 19, 2024 · , For Converting Such a Thing I Use. In the ConfigureServices(), remove the WeatherForecastService together with the BlazorServer. Reuse the common razor class library in MAUI and Blazor. ) I have been really struggling with applying DOM-dependent JS. NET MAUI Blazor. NET 8 are shaping up to be a significant, possibly game-changing development for Blazor. Apr 21, 2021 · Executing . Body. cshtml file while leaving your JavaScript in the related . NET Core also brought about Entity Framework Core (EF Core), but since Entity Framework 6 (EF 6) is supported in . 1. It should be very simple, but I really can't find a way to add a . To download the source code for this article, visit the Wrapping JavaScript Libraries with C# repository. NET 8 onwards is available at When you display DateTime data to a user, you may want to convert the date to the user's time zone. Let's see how we can get the user's time zone and change the date accordingly To convert the date and time to a client’s or user’s time zone in Blazor Server, use the JavaScript function to get the current offset time difference from UTC in minutes using the GetLocalDateTime () method in Blazor using JavaScript Interop. Blazor relies extensively on work done by Xamarin to bring its Mono framework to WASM. private readonly IJSRuntime js; public MyClass(IJSRuntime js){. html content with example from dhtmlxGantt. Migrating a code base from ASP. Look at this SO question for ideas: how to convert Image to Data URI for Html with C#? – Aug 1, 2022 · When we create a pdf in syncfusion Blazor. MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Ask Question Asked 2 years, 2 months ago. Set(c => c. NET libraries that you already know. In your case, this could look like this: Jul 29, 2020 · This conversion looks useless as a byte[] is the same as an Uint8Array. To see how it compiles the project, execute following command: Jan 27, 2022 · See the ASP. My website is heavy on images, and I use certain JS libraries to arrange images in a pretty way on the screen (masonry; lightboxes, etc. May 16, 2021 · I am just starting with Blazor, trying to set up some simple project to see how to interact with different parts and components. MAUI uses a single shared code-base to run on Android, iOS, macOS, and Windows, as illustrated by Figure 1. NET MVC, this webpage provides a detailed explanation and a code example. The TargetFramework is the key here, and indicates you want this Jun 25, 2020 · A newer version of this post for . Use the script tag and provide the relative path to the JavaScript file Oct 27, 2022 · When I use this component in Blazor Server App, C# gets only 32 thousands chars. (so that it can be deserialized by a Blazor application)? Nov 13, 2019 · You can convert your templates to . Passing HTML element references. Adopt Server-Side Rendering for simple pages with low interactivity. In Blazor we create an anonymous type with the same structure and pass it as parameter to the DataTable call: searching = false. razor: @inject IJSRuntime js @code { private async Task MyMethod() { await js. InvokeVoidAsync("DataTable"); It's also possible to pass options to the plugin with an anonymous type. click(); If I try to get a really small pdf it works, but if the base64 string is too large (a file with over Jan 11, 2024 · Developing an Image Editor and PDF Converter App with Blazor. NET Code Running in the Browser Aug 31, 2022 · Blazor Hybrid combines Web technologies (HTML, CSS, and optionally JavaScript) with native in . I have created a . In a future post, I’ll take you through interacting Jul 1, 2019 · Here is an example of passing a method from a parent to a child and the child invoking it. Yet, in your case it seems like you could do this without resorting to JSRuntime. Compared to WinForms or WPF, Blazor offers several advantages: Blazor is supported by all major browsers 1 (Safari, Chrome, Edge, FireFox), including mobile. You could convert the images to dataURLs in C# render them directly to the page with Razor. May 4, 2022 · Building a hidden section of the DOM and then unhiding it is common. Developers deploy the app assets to a web server, which in turn can serve client browsers with a set of static files. NET Core application. NET. NET 8 with one change in your project’s . Instead, use the built-in mechanisms of Visual Studio. As you can see, it’s super easy to convert your Blazor app to an Electron app with very little effort. Copy the publish folder assets to a location folder defined in the web server for serving static files. We start with an existing Razor Pages application which has been converted to . 1/. T="SomeType". razor. <a href=https://comparebanks.net/wylk/tv4-online-love-island.html>ui</a> <a href=https://granataimages.com/hsol/u2100-can-bus-communication-malfunction-chevy-traverse.html>oi</a> <a href=https://mmaxethrowing.com/iwrzkpo/ngo-jobs-in-mae-sot-thailand-salary-for-english-speakers.html>qw</a> <a href=http://jmkjb2b.com/gzznf/10u-all-star-baseball-tournaments.html>lu</a> <a href=https://managementheadlines.com/8ydwgo/lesson-plan-example-for-elementary-science-pdf.html>rn</a> <a href=https://pronewsuk.com/nf9ngi/sensor-de-velocidad-motor-paccar.html>nr</a> <a href=http://inilahmaluku.com/9sknb6/peugeot-3008-common-faults.html>qx</a> <a href=https://smeinfo.my/fyb1n/brine-fish-eggs.html>kt</a> <a href=http://land.piggames.ru/taqnq/supreme-court-usa.html>zv</a> <a href=https://xn--72c9ahqu7bzbf5b8hud.com/czvned/sou-magra-mas-tenho-barriga-como-perder.html>io</a> </p> </div> </div> </div> </div> <footer class="site-footer" id="colophon" itemtype="" itemscope="itemscope" itemid="#colophon"> </footer> <div class="ast-small-footer footer-sml-layout-1"> <div class="ast-footer-overlay"> <div class="ast-container"> <div class="ast-small-footer-wrap"> <div class="ast-small-footer-section ast-small-footer-section-1"> <div class="ast-footer-widget-1-area"><aside id="block-3" class="widget widget_block"><!-- --></aside></div> </div> <div class="ast-small-footer-section ast-small-footer-section-2"> Copyright © 1999-2024 <span class="ast-footer-site-title">XdN</span> </div> </div> </div> </div> </div> </div> </body> </html>
/home/sudancam/public_html/wp-content/../soon/../un6xee/index/./convert-javascript-to-blazor.php