diff --git a/config/sync/block.block.leshed_titredelapage.yml b/config/sync/block.block.leshed_titredelapage.yml index 0f80e8e..e40b04e 100644 --- a/config/sync/block.block.leshed_titredelapage.yml +++ b/config/sync/block.block.leshed_titredelapage.yml @@ -22,7 +22,7 @@ visibility: request_path: id: request_path negate: false - pages: "/projets/*\r\n/evenements/*" + pages: "/projets\r\n/projets/*\r\n/evenements\r\n/evenements/*" view_inclusion: id: view_inclusion negate: false diff --git a/config/sync/core.entity_view_display.node.projet.full.yml b/config/sync/core.entity_view_display.node.projet.full.yml index 4a8c4b0..c7015a8 100644 --- a/config/sync/core.entity_view_display.node.projet.full.yml +++ b/config/sync/core.entity_view_display.node.projet.full.yml @@ -59,7 +59,7 @@ content: from_to: both separator: '-' third_party_settings: { } - weight: 3 + weight: 2 region: content field_evenement_s_lie_s: type: entity_reference_entity_view @@ -102,7 +102,7 @@ content: settings: link: false third_party_settings: { } - weight: 1 + weight: 3 region: content field_partenaire_s: type: entity_reference_label @@ -134,7 +134,7 @@ content: settings: link: true third_party_settings: { } - weight: 2 + weight: 1 region: content hidden: langcode: true diff --git a/config/sync/views.view.archives.yml b/config/sync/views.view.archives.yml index b51f2ac..fc3a766 100644 --- a/config/sync/views.view.archives.yml +++ b/config/sync/views.view.archives.yml @@ -13,6 +13,7 @@ dependencies: - better_exposed_filters - datetime - datetime_range + - leshed_helpers - node - taxonomy - user @@ -319,7 +320,7 @@ display: type: daterange_custom settings: timezone_override: '' - date_format: 'y' + date_format: 'Y' from_to: start_date separator: '-' group_column: value @@ -677,8 +678,8 @@ display: value: all title_enable: false title: All - title_enable: false - title: '' + title_enable: true + title: 'Les projets | {{ arguments.tid }}' default_argument_type: fixed default_argument_options: argument: '' @@ -829,7 +830,7 @@ display: display_plugin: page position: 2 display_options: - title: 'Les Évenements à venir' + title: 'Les Évenements' fields: field_dates_1: id: field_dates_1 @@ -950,7 +951,7 @@ display: type: daterange_custom settings: timezone_override: '' - date_format: 'y' + date_format: 'Y' from_to: start_date separator: '-' group_column: value @@ -1198,19 +1199,6 @@ display: css_class: 'views-archives views-archives-evenements' display_description: '' header: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - plugin_id: text - empty: false - content: - value: 'Événements à venir' - format: wysiwyg - tokenize: false leshed_helpers_term_links: id: leshed_helpers_term_links table: views @@ -1226,6 +1214,19 @@ display: show_all: true only_used: true used_bundle: evenement + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: false + content: + value: 'Événements à venir' + format: wysiwyg + tokenize: false footer: view: id: view diff --git a/web/themes/custom/leshed/assets/dist/main.css b/web/themes/custom/leshed/assets/dist/main.css index a6c90e2..bdae62e 100644 --- a/web/themes/custom/leshed/assets/dist/main.css +++ b/web/themes/custom/leshed/assets/dist/main.css @@ -1 +1 @@ -@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:italic;font-display:block}@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:normal;font-display:block}body{font-family:Epilogue;font-weight:400;font-style:normal}:root{--bp-mobile: 432px;--bp-tablette: 768px;--bp-desktop: 1024px}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0;font-weight:200;line-height:1.5}form#user-login-form input{box-sizing:border-box;max-width:100%}div.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;max-width:1080px;margin:0 auto;padding:0 clamp(.75rem,1.4388489209vw,1rem)}div.layout-container header[role=banner]{display:block;position:relative;padding:.5em 0;flex:0 1 clamp(3.75rem,6.2949640288vw,4.375rem);z-index:100;height:clamp(3.75rem,6.2949640288vw,4.375rem);min-height:clamp(3.75rem,6.2949640288vw,4.375rem)}div.layout-container main[role=main]{flex:1 1 auto;overflow-y:scroll}header[role=banner]{background-color:#fff}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 0}header[role=banner] .header-middle .header-left{flex:1 1 auto}header[role=banner] .header-middle .header-center{flex:0 1 auto}header[role=banner] .header-middle .header-rigth{flex:0 0 auto}header[role=banner] #block-leshed-identitedusite{display:flex;flex-direction:row;align-items:center}header[role=banner] #block-leshed-identitedusite>a:first-child{flex:content;flex:0 0 3.5em;text-decoration:none;font-size:2em;font-weight:500;margin-right:.5em}header[role=banner] #block-leshed-identitedusite div.site-slogan{flex:1 1 auto;line-height:1}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#000}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:fixed;top:clamp(3.75rem,6.2949640288vw,4.375rem);left:0;width:100vw;padding:0 calc((100vw - 1080px)/2) 0 calc((100vw - 1080px)/2);background-color:#ffffff80;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - clamp(3.75rem,6.2949640288vw,4.375rem))}header[role=banner] .header-right>div.wrapper>div.inner-wrapper{padding:0 clamp(.75rem,1.4388489209vw,1rem)}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale{padding-top:10px}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li{list-style:none}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a{font-size:4em;font-weight:200;text-transform:lowercase;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff);display:inline-block;transform-origin:left;transition:all .4s ease-in-out}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a:hover{transform:scale(1.1);transition:all .2s ease-in-out}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li{list-style:none;padding:0;display:inline-block;font-size:2em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:first-child:after{content:" /";font-weight:200}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:last-child{padding-left:.3em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li.is-active a{font-weight:400;text-decoration:underline}.splitting span.word,.splitting span.char{display:inline}.variable-title{margin:0;font-weight:200;text-transform:lowercase;line-height:1;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff)}.variable-title span.word span.char{letter-spacing:-.1em}.variable-title:not(.splitting){margin:0;font-weight:200;text-transform:lowercase;line-height:1;letter-spacing:-.1em}@media (scripting: enabled){.variable-title:not(.is-ready){visibility:hidden;animation:leshed-title-failsafe 0s 3s forwards}}@keyframes leshed-title-failsafe{to{visibility:visible}}div#block-leshed-titredelapage h1{font-size:1em;font-weight:200;margin:0}div.layout.layout--twocol-section--50-50.layout--twocol-section{flex-wrap:nowrap;align-items:flex-start;column-gap:clamp(1.5rem,2.8776978417vw,2rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row{margin-bottom:2em;max-width:100%}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates{font-size:clamp(1.512rem,4.3165467626vw,3rem);line-height:1;letter-spacing:-.1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-part:not(:last-child):after{content:"."}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-day{font-weight:100}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-month{font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-year{font-weight:500}@media (max-width: 431.98px){div.layout.layout--twocol-section--50-50.layout--twocol-section{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:100%}}article.node-type-projet.view-mode-full div.cols div.col.left{z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-projet.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-projet.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-projet.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-projet.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-projet.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-projet.view-mode-full div.cols div.col.right{display:flex}article.node-type-projet.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-projet.view-mode-full div.cols div.col,article.node-type-projet.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-projet.view-mode-full div.cols div.col.left>header{order:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-projet.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full div.cols div.col.left{z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-evenement.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-evenement.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-evenement.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-evenement.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-evenement.view-mode-full div.cols div.col.right{display:flex}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-evenement.view-mode-full div.cols div.col,article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-evenement.view-mode-full div.cols div.col.left>header{order:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-evenement.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full .field_dates.digit-dates{transform-origin:0 0;display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(4.6666666667rem, 10.071942446vw, 7rem)}article.node-type-evenement.view-mode-full .field_dates.digit-dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month,article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full .field_dates.digit-dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-projets>header{padding-bottom:2em}div.views-archives-projets>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-projets>header ul{padding:0;margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-projets>header ul li{list-style:none;line-height:.4}div.views-archives-projets div.view-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.5rem,2.8776978417vw,2rem);row-gap:0;align-items:start}div.views-archives-projets div.view-content>.views-row{margin-bottom:clamp(1.5rem,2.8776978417vw,2rem);display:flex;flex-direction:column}@media (max-width: 767.98px){div.views-archives-projets div.view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_d_evenement,div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_de_projet{font-weight:400}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images{position:relative;z-index:5}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a{display:block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a img{width:100%;height:auto}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:3em}form#views-exposed-form-archives-page-1 div.bef-links ul{margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap}form#views-exposed-form-archives-page-1 div.bef-links ul li{list-style:none;flex:0 1 auto;padding:.2em .5em;font-size:.756em}div.views-archives-evenements>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-evenements>header ul.leshed-term-links{padding:0;margin:0 0 2em;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-evenements>header ul.leshed-term-links li{list-style:none;line-height:.4}div.views-archives-evenements>h3{margin-bottom:0;font-size:2em;font-weight:200}div.views-archives-evenements>h3 span.month{font-weight:100}div.views-archives-evenements>h3 span.year{font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}.splitting .word,.splitting .char{display:inline-block}.splitting .char{position:relative}.splitting .char:before,.splitting .char:after{content:attr(data-char);position:absolute;top:0;left:0;visibility:hidden;transition:inherit;-webkit-user-select:none;user-select:none}.splitting{--word-center: calc((var(--word-total) - 1) / 2);--char-center: calc((var(--char-total) - 1) / 2);--line-center: calc((var(--line-total) - 1) / 2)}.splitting .word{--word-percent: calc(var(--word-index) / var(--word-total));--line-percent: calc(var(--line-index) / var(--line-total))}.splitting .char{--char-percent: calc(var(--char-index) / var(--char-total));--char-offset: calc(var(--char-index) - var(--char-center));--distance: calc( (var(--char-offset) * var(--char-offset)) / var(--char-center) );--distance-sine: calc(var(--char-offset) / var(--char-center));--distance-percent: calc((var(--distance) / var(--char-center)))}.splitting.cells img{width:100%;display:block}@supports (display: grid){.splitting.cells{position:relative;overflow:hidden;background-size:cover;visibility:hidden}.splitting .cell-grid{background:inherit;position:absolute;top:0;left:0;width:100%;height:100%;display:grid;grid-template:repeat(var(--row-total),1fr) / repeat(var(--col-total),1fr)}.splitting .cell{background:inherit;position:relative;overflow:hidden}.splitting .cell-inner{background:inherit;position:absolute;visibility:visible;width:calc(100% * var(--col-total));height:calc(100% * var(--row-total));left:calc(-100% * var(--col-index));top:calc(-100% * var(--row-index))}.splitting .cell{--center-x: calc((var(--col-total) - 1) / 2);--center-y: calc((var(--row-total) - 1) / 2);--offset-x: calc(var(--col-index) - var(--center-x));--offset-y: calc(var(--row-index) - var(--center-y));--distance-x: calc( (var(--offset-x) * var(--offset-x)) / var(--center-x) );--distance-y: calc( (var(--offset-y) * var(--offset-y)) / var(--center-y) )}} +@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:italic;font-display:block}@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:normal;font-display:block}body{font-family:Epilogue;font-weight:400;font-style:normal}:root{--bp-mobile: 432px;--bp-tablette: 768px;--bp-desktop: 1024px}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0;font-weight:200;line-height:1.5}form#user-login-form input{box-sizing:border-box;max-width:100%}div.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;max-width:1080px;margin:0 auto;padding:0 clamp(.75rem,1.4388489209vw,1rem)}div.layout-container header[role=banner]{display:block;position:relative;padding:.5em 0;flex:0 1 clamp(3.75rem,6.2949640288vw,4.375rem);z-index:100;height:clamp(3.75rem,6.2949640288vw,4.375rem);min-height:clamp(3.75rem,6.2949640288vw,4.375rem)}div.layout-container main[role=main]{flex:1 1 auto;overflow-y:scroll}header[role=banner]{background-color:#fff}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 0}header[role=banner] .header-middle .header-left{flex:1 1 auto}header[role=banner] .header-middle .header-center{flex:0 1 auto}header[role=banner] .header-middle .header-rigth{flex:0 0 auto}header[role=banner] #block-leshed-identitedusite{display:flex;flex-direction:row;align-items:center}header[role=banner] #block-leshed-identitedusite>a:first-child{flex:content;flex:0 0 3.5em;text-decoration:none;font-size:2em;font-weight:500;margin-right:.5em}header[role=banner] #block-leshed-identitedusite div.site-slogan{flex:1 1 auto;line-height:1}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#000}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:fixed;top:clamp(3.75rem,6.2949640288vw,4.375rem);left:0;width:100vw;padding:0 calc((100vw - 1080px)/2) 0 calc((100vw - 1080px)/2);background-color:#ffffff80;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - clamp(3.75rem,6.2949640288vw,4.375rem))}header[role=banner] .header-right>div.wrapper>div.inner-wrapper{padding:0 clamp(.75rem,1.4388489209vw,1rem)}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale{padding-top:10px}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li{list-style:none}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a{font-size:4em;font-weight:200;text-transform:lowercase;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff);display:inline-block;transform-origin:left;transition:all .4s ease-in-out}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a:hover{transform:scale(1.1);transition:all .2s ease-in-out}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li{list-style:none;padding:0;display:inline-block;font-size:2em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:first-child:after{content:" /";font-weight:200}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:last-child{padding-left:.3em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li.is-active a{font-weight:400;text-decoration:underline}.splitting span.word,.splitting span.char{display:inline}.variable-title{margin:0;font-weight:200;text-transform:lowercase;line-height:1;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff)}.variable-title span.word span.char{letter-spacing:-.1em}.variable-title:not(.splitting){margin:0;font-weight:200;text-transform:lowercase;line-height:1;letter-spacing:-.1em}@media (scripting: enabled){.variable-title:not(.is-ready){visibility:hidden;animation:leshed-title-failsafe 0s 3s forwards}}@keyframes leshed-title-failsafe{to{visibility:visible}}div#block-leshed-titredelapage h1{font-size:1em;font-weight:200;margin:0}div.layout.layout--twocol-section--50-50.layout--twocol-section{flex-wrap:nowrap;align-items:flex-start;column-gap:clamp(1.5rem,2.8776978417vw,2rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row{margin-bottom:2em;max-width:100%}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates{font-size:clamp(1.512rem,4.3165467626vw,3rem);line-height:1;letter-spacing:-.1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-part:not(:last-child):after{content:"."}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-day{font-weight:100}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-month{font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-year{font-weight:500}@media (max-width: 431.98px){div.layout.layout--twocol-section--50-50.layout--twocol-section{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:100%}}article.node-type-projet.view-mode-full div.cols div.col.left{z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-projet.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-projet.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-projet.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-projet.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-projet.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-projet.view-mode-full div.cols div.col.right{display:flex}article.node-type-projet.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-projet.view-mode-full div.cols div.col,article.node-type-projet.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-projet.view-mode-full div.cols div.col.left>header{order:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-projet.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full div.cols div.col.left{z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-evenement.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-evenement.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-evenement.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-evenement.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-evenement.view-mode-full div.cols div.col.right{display:flex}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-evenement.view-mode-full div.cols div.col,article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-evenement.view-mode-full div.cols div.col.left>header{order:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-evenement.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full .field_dates.digit-dates{transform-origin:0 0;display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(4.6666666667rem, 10.071942446vw, 7rem)}article.node-type-evenement.view-mode-full .field_dates.digit-dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month,article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full .field_dates.digit-dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-projets>header{padding-bottom:2em}div.views-archives-projets>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-projets>header ul{padding:0;margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-projets>header ul li{list-style:none;line-height:.4}div.views-archives-projets div.view-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.5rem,2.8776978417vw,2rem);row-gap:0;align-items:start}div.views-archives-projets div.view-content>.views-row{margin-bottom:clamp(1.5rem,2.8776978417vw,2rem);display:flex;flex-direction:column}@media (max-width: 767.98px){div.views-archives-projets div.view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_d_evenement,div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_de_projet{font-weight:400}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images{position:relative;z-index:5}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a{display:block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a img{width:100%;height:auto}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:3em}form#views-exposed-form-archives-page-1 div.bef-links ul{margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap}form#views-exposed-form-archives-page-1 div.bef-links ul li{list-style:none;flex:0 1 auto;padding:.2em .5em;font-size:.756em}div.views-archives-evenements>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-evenements>header ul.leshed-term-links{padding:0;margin:0 0 2em;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-evenements>header ul.leshed-term-links li{list-style:none;line-height:.4}div.views-archives-evenements>h3{margin-bottom:0}div.views-archives-evenements>h3 span.month{font-size:.7em;font-weight:300}div.views-archives-evenements>h3 span.year{font-size:.7em;font-weight:700}div.views-archives-evenements header>p:last-of-type{margin:0;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}.splitting .word,.splitting .char{display:inline-block}.splitting .char{position:relative}.splitting .char:before,.splitting .char:after{content:attr(data-char);position:absolute;top:0;left:0;visibility:hidden;transition:inherit;-webkit-user-select:none;user-select:none}.splitting{--word-center: calc((var(--word-total) - 1) / 2);--char-center: calc((var(--char-total) - 1) / 2);--line-center: calc((var(--line-total) - 1) / 2)}.splitting .word{--word-percent: calc(var(--word-index) / var(--word-total));--line-percent: calc(var(--line-index) / var(--line-total))}.splitting .char{--char-percent: calc(var(--char-index) / var(--char-total));--char-offset: calc(var(--char-index) - var(--char-center));--distance: calc( (var(--char-offset) * var(--char-offset)) / var(--char-center) );--distance-sine: calc(var(--char-offset) / var(--char-center));--distance-percent: calc((var(--distance) / var(--char-center)))}.splitting.cells img{width:100%;display:block}@supports (display: grid){.splitting.cells{position:relative;overflow:hidden;background-size:cover;visibility:hidden}.splitting .cell-grid{background:inherit;position:absolute;top:0;left:0;width:100%;height:100%;display:grid;grid-template:repeat(var(--row-total),1fr) / repeat(var(--col-total),1fr)}.splitting .cell{background:inherit;position:relative;overflow:hidden}.splitting .cell-inner{background:inherit;position:absolute;visibility:visible;width:calc(100% * var(--col-total));height:calc(100% * var(--row-total));left:calc(-100% * var(--col-index));top:calc(-100% * var(--row-index))}.splitting .cell{--center-x: calc((var(--col-total) - 1) / 2);--center-y: calc((var(--row-total) - 1) / 2);--offset-x: calc(var(--col-index) - var(--center-x));--offset-y: calc(var(--row-index) - var(--center-y));--distance-x: calc( (var(--offset-x) * var(--offset-x)) / var(--center-x) );--distance-y: calc( (var(--offset-y) * var(--offset-y)) / var(--center-y) )}} diff --git a/web/themes/custom/leshed/assets/dist/sentry.js b/web/themes/custom/leshed/assets/dist/sentry.js index 4934286..a75295f 100644 --- a/web/themes/custom/leshed/assets/dist/sentry.js +++ b/web/themes/custom/leshed/assets/dist/sentry.js @@ -1,15 +1,15 @@ -const h=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,_=globalThis,Ot="11.20.0";function st(){return pt(_),_}function pt(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||"11.20.0",e[Ot]=e["11.20.0"]||{}}function Dt(t,e,n=_){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ot]=r["11.20.0"]||{};return s[t]||(s[t]=e())}const Ln=["debug","info","warn","error","log","assert","trace"],Fr="Sentry Logger ",Rt={};function B(t){if(!("console"in _))return t();const e=_.console,n={},r=Object.keys(Rt);r.forEach(s=>{const o=Rt[s];n[s]=e[s],e[s]=o});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function jr(){Ee().enabled=!0}function Ur(){Ee().enabled=!1}function Pn(){return Ee().enabled}function Br(...t){Se("log",...t)}function Hr(...t){Se("warn",...t)}function Wr(...t){Se("error",...t)}function Se(t,...e){h&&Pn()&&B(()=>{_.console[t](`${Fr}[${t}]:`,...e)})}function Ee(){return h?Dt("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const p={enable:jr,disable:Ur,isEnabled:Pn,log:Br,warn:Hr,error:Wr},$n=50,Q="?",Pe=/\(error: (.*)\)/,$e=/captureMessage|captureException/;function Mn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(` -`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=Pe.test(c)?c.replace(Pe,"$1"):c;if(!u.includes("Error: ")){for(const f of e){const l=f(u);if(l){o.push(l);break}}if(o.length>=$n+s)break}}return qr(o.slice(s))}}function Gr(t){return Array.isArray(t)?Mn(...t):t}function qr(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(bt(e).function||"")&&e.pop(),e.reverse(),$e.test(bt(e).function||"")&&(e.pop(),$e.test(bt(e).function||"")&&e.pop()),e.slice(0,$n).map(n=>({...n,filename:n.filename||bt(e).filename,function:n.function||"?"}))}function bt(t){return t[t.length-1]||{}}const jt="";function j(t){try{return!t||typeof t!="function"?jt:t.name||jt}catch{return jt}}function Me(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const ct={},Fe={};function q(t,e){return ct[t]=ct[t]||[],ct[t].push(e),()=>{const n=ct[t];if(n){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}function z(t,e){if(!Fe[t]){Fe[t]=!0;try{e()}catch(n){h&&p.error(`Error while instrumenting ${t}`,n)}}}function N(t,e){const n=t&&ct[t];if(n)for(const r of n)try{r(e)}catch(s){h&&p.error(`Error while triggering instrumentation handler. +const h=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,g=globalThis,Ot="11.20.0";function ot(){return ht(g),g}function ht(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||"11.20.0",e[Ot]=e["11.20.0"]||{}}function Dt(t,e,n=g){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ot]=r["11.20.0"]||{};return s[t]||(s[t]=e())}const Pn=["debug","info","warn","error","log","assert","trace"],Br="Sentry Logger ",Rt={};function H(t){if(!("console"in g))return t();const e=g.console,n={},r=Object.keys(Rt);r.forEach(s=>{const o=Rt[s];n[s]=e[s],e[s]=o});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function Hr(){Ee().enabled=!0}function Wr(){Ee().enabled=!1}function $n(){return Ee().enabled}function Gr(...t){Se("log",...t)}function qr(...t){Se("warn",...t)}function zr(...t){Se("error",...t)}function Se(t,...e){h&&$n()&&H(()=>{g.console[t](`${Br}[${t}]:`,...e)})}function Ee(){return h?Dt("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const p={enable:Hr,disable:Wr,isEnabled:$n,log:Gr,warn:qr,error:zr},Mn=50,Z="?",Pe=/\(error: (.*)\)/,$e=/captureMessage|captureException/;function Fn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(` +`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=Pe.test(c)?c.replace(Pe,"$1"):c;if(!u.includes("Error: ")){for(const f of e){const l=f(u);if(l){o.push(l);break}}if(o.length>=Mn+s)break}}return Kr(o.slice(s))}}function Yr(t){return Array.isArray(t)?Fn(...t):t}function Kr(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(bt(e).function||"")&&e.pop(),e.reverse(),$e.test(bt(e).function||"")&&(e.pop(),$e.test(bt(e).function||"")&&e.pop()),e.slice(0,Mn).map(n=>({...n,filename:n.filename||bt(e).filename,function:n.function||"?"}))}function bt(t){return t[t.length-1]||{}}const jt="";function j(t){try{return!t||typeof t!="function"?jt:t.name||jt}catch{return jt}}function Me(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const ut={},Fe={};function z(t,e){return ut[t]=ut[t]||[],ut[t].push(e),()=>{const n=ut[t];if(n){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}function Y(t,e){if(!Fe[t]){Fe[t]=!0;try{e()}catch(n){h&&p.error(`Error while instrumenting ${t}`,n)}}}function C(t,e){const n=t&&ut[t];if(n)for(const r of n)try{r(e)}catch(s){h&&p.error(`Error while triggering instrumentation handler. Type: ${t} Name: ${j(r)} -Error:`,s)}}let Ut=null;function zr(t){const e="error";q(e,t),z(e,Yr)}function Yr(){Ut=_.onerror,_.onerror=function(t,e,n,r,s){return N("error",{column:r,error:s,line:n,msg:t,url:e}),Ut?Ut.apply(this,arguments):!1},_.onerror.__SENTRY_INSTRUMENTED__=!0}let Bt=null;function Kr(t){const e="unhandledrejection";q(e,t),z(e,Vr)}function Vr(){Bt=_.onunhandledrejection,_.onunhandledrejection=function(t){return N("unhandledrejection",t),Bt?Bt.apply(this,arguments):!0},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Fn=Object.prototype.toString;function D(t){switch(Fn.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ve(t,Error)}}function ot(t,e){return Fn.call(t)===`[object ${e}]`}function jn(t){return ot(t,"ErrorEvent")}function je(t){return ot(t,"DOMError")}function Xr(t){return ot(t,"DOMException")}function $(t){return ot(t,"String")}function be(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function it(t){return t===null||be(t)||typeof t!="object"&&typeof t!="function"}function ht(t){return ot(t,"Object")}function At(t){return typeof t=="object"&&t!==null}function xt(t){return typeof Event<"u"&&ve(t,Event)}function Jr(t){return ot(t,"RegExp")}function mt(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function ve(t,e){try{return t instanceof e}catch{return!1}}function Un(t){return typeof Request<"u"&&ve(t,Request)}function k(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&Bn(s,r);try{t[e]=s}catch{h&&p.log(`Failed to replace method "${String(e)}" in object`,t)}}function U(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&p.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function Bn(t,e){try{t.prototype=e.prototype=e.prototype||{},U(t,"__sentry_original__",e)}catch{}}function Ie(t){return t.__sentry_original__}function Hn(t){if(D(t))return{message:t.message,name:t.name,stack:t.stack,...Ue(t)};if(xt(t)){const{type:e,target:n,currentTarget:r,detail:s}=t;return{type:e,target:n,currentTarget:r,...s?{detail:s}:{},...Ue(t)}}return t}function Ue(t){return At(t)?Object.fromEntries(Object.entries(t)):{}}function Qr(t){const e=Object.keys(Hn(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let V;function lt(t){if(V!==void 0)return V?V(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=_;return e in n&&typeof n[e]=="function"?(V=n[e],V(t)):(V=null,t())}function Te(){return lt(()=>Math.random())}function Y(){return lt(()=>Date.now())}const Zr=Symbol.for("sentry.skipNormalization"),ts=Symbol.for("sentry.overrideNormalizationDepth");function es(t){return!!t[Zr]}function ns(t){const e=t[ts];return typeof e=="number"?e:void 0}let Vt;function rs(t){Vt=t}function P(t,e=100,n=1/0){try{return Xt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${Wn(r)})`}}}function Wn(t){try{return String(t)}catch{return"unknown error"}}function Gn(t,e=3,n=102400){const r=P(t,e);return is(r)>n?Gn(t,e-1,n):r}function Xt(t,e,n=1/0,r=1/0,s=as()){const[o,i]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=we(t,e);if(!a.startsWith("[object "))return a;if(es(e))return e;const c=ns(e),u=c!==void 0?c:n;if(u===0)return a.replace("object ","");if(o(e))return"[Circular ~]";const f=e;if(f&&typeof f.toJSON=="function")try{return Xt("",f.toJSON(),u-1,r,s)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const m=Hn(e);for(const y in m){if(!Object.prototype.hasOwnProperty.call(m,y))continue;if(d>=r){l[y]="[MaxProperties ~]";break}const O=m[y];l[y]=Xt(y,O,u-1,r,s),d++}return i(e),l}function we(t,e){try{if(Vt){const n=Vt(e);if(n)return n}return typeof global<"u"&&e===global?"[Global]":typeof e=="number"&&!Number.isFinite(e)?`[${e}]`:typeof e=="function"?`[Function: ${j(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${ss(e)}]`}catch(n){return`**non-serializable** (${Wn(n)})`}}function ss(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function os(t){return~-encodeURI(t).split(/%..|./).length}function is(t){return os(JSON.stringify(t))}function as(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function cs(t,e="[unserializable]"){if(typeof t=="string")return t;try{return JSON.stringify(t)}catch{return typeof e=="function"?e(t):e}}function Jt(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function us(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rt.randomUUID()).replace(/-/g,"")}catch{}return Ht||(Ht="10000000100040008000100000000000"),Ht.replace(/[018]/g,e=>(e^(ls()&15)>>e/4).toString(16))}function qn(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function W(t){const{message:e,event_id:n}=t;if(e)return e;const r=qn(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Qt(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type="Error")}function J(t,e){const n=qn(t);n&&zn(n,e)}function ds(t,e){var s;const n=(s=t.exception)==null?void 0:s.values,r=(n==null?void 0:n.find(o=>{var i;return((i=o.mechanism)==null?void 0:i.exception_id)===0}))??(n==null?void 0:n[0]);r&&zn(r,e)}function zn(t,e){const n={type:"generic",handled:!0},r=t.mechanism;t.mechanism={...n,...r,...e},e&&"data"in e&&(t.mechanism.data={...r==null?void 0:r.data,...e.data})}function Be(t){if(ps(t))return!0;try{U(t,"__sentry_captured__",!0)}catch{}return!1}function ps(t){try{return t.__sentry_captured__}catch{}}const Yn=1e3,hs=1e3,ms=100;function gt(){return Y()/Yn}let X=[];function _s(){const{performance:t}=_;if(!(t!=null&&t.now)||!t.timeOrigin)return t!=null&&t.now&&(X=[{from:0,origin:Y()-lt(()=>t.now())}]),gt;let e=t.timeOrigin;X=[{from:0,origin:e}];let n=!0,r=0;return()=>lt(()=>{const s=t.now(),o=Date.now();return Math.abs(e+s-o)>hs&&(e=o-s,n?X=[{from:0,origin:e}]:(X.push({from:r,origin:e}),X.length>ms&&X.splice(1,1))),n=!1,r=s,(e+s)/Yn})}let He;function A(){return(He??(He=_s()))()}function gs(t){const e=A(),n={sid:R(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Ss(n)};return t&&Z(n,t),n}function Z(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||A(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:R()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function ys(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),Z(t,n)}function Ss(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function yt(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=yt(r[s],e[s],n-1));return r}function Es(){return R()}function Kn(){return R().substring(16)}const bs=100;var tt=class Zt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},U(this,"refs",{}),this._propagationContext={traceId:Es(),sampleRand:Te()}}clone(){const e=new Zt;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,e.refs={...this.refs},e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Z(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,{tags:r,attributes:s,extra:o,user:i,contexts:a,level:c,fingerprint:u=[],propagationContext:f,conversationId:l}=(n instanceof Zt?n.getScopeData():ht(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),l&&(this._conversationId=l),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:bs;if(r<=0)return this;const s={timestamp:gt(),...e,message:e.message?Jt(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=yt(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||R();if(!this._client)return h&&p.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=(r==null?void 0:r.event_id)||R();if(!this._client)return h&&p.warn("No client configured on scope - will not capture message!"),s;const o=(r==null?void 0:r.syntheticException)??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:o,...r,event_id:s},this),s}captureEvent(e,n){const r=e.event_id||(n==null?void 0:n.event_id)||R();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(h&&p.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};function vs(){return Dt("defaultCurrentScope",()=>new tt)}function Is(){return Dt("defaultIsolationScope",()=>new tt)}const We="__SENTRY_SUPPRESS_TRACING__",Ge=t=>t instanceof Promise&&!t[Vn],Vn=Symbol("chained PromiseLike"),Ts=(t,e,n)=>{const r=t.then(s=>(e(s),s),s=>{throw n(s),s});return Ge(r)&&Ge(t)?r:ws(t,r)},ws=(t,e)=>{if(!e)return t;let n=!1;for(const r in t){if(r in e)continue;n=!0;const s=t[r];typeof s=="function"?Object.defineProperty(e,r,{value:(...o)=>s.apply(t,o),enumerable:!0,configurable:!0,writable:!0}):e[r]=s}return n&&Object.assign(e,{[Vn]:!0}),e};var ks=class{constructor(t,e){let n;t?n=t:n=new tt;let r;e?r=e:r=new tt,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return mt(n)?Ts(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function et(){const t=st(),e=pt(t);return e.stack=e.stack||new ks(vs(),Is())}function Xn(t){return et().withScope(t)}function Os(t,e){const n=et();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function qe(t){return et().withScope(()=>t(et().getIsolationScope()))}function Rs(){return{suppressTracing:Cs,withIsolationScope:qe,withScope:Xn,withSetScope:Os,withSetIsolationScope:(t,e)=>qe(e),getCurrentScope:()=>et().getScope(),getIsolationScope:()=>et().getIsolationScope()}}function Cs(t){return Xn(e=>{e.setSDKProcessingMetadata({[We]:!0});const n=t();return e.setSDKProcessingMetadata({[We]:void 0}),n})}function Lt(t){const e=pt(t);return e.acs?e.acs:Rs()}function Ns(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)&&Object.keys(t).includes("value")}function Ds(t,e){const{value:n,unit:r}=Ns(t)?t:{value:t,unit:void 0},s=As(n),o=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...o};if(!e||e==="skip-undefined"&&n===void 0)return;let i="";try{i=JSON.stringify(n)??""}catch{}return{value:i,type:"string",...o}}function ze(t,e=!1){const n={};for(const[r,s]of Object.entries(t??{})){const o=Ds(s,e);o&&(n[r]=o)}return n}function As(t){if(Array.isArray(t))return{value:t,type:"array"};const e=typeof t=="string"?"string":typeof t=="boolean"?"boolean":typeof t=="number"&&!Number.isNaN(t)?Number.isInteger(t)?"integer":"double":null;if(e)return{value:t,type:e}}function Jn(){var t,e;return(e=(t=pt(st())).externalPropagationContextProvider)==null?void 0:e.call(t)}function x(){const t=st();return Lt(t).getCurrentScope()}function K(){const t=st();return Lt(t).getIsolationScope()}function xs(){return Dt("globalScope",()=>new tt)}function Ls(...t){const e=st(),n=Lt(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function b(){return x().getClient()}function Qn(t){const e=Jn();if(e)return{trace_id:e.traceId,span_id:e.spanId};const{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),o={trace_id:n,span_id:s||Kn()};return r&&(o.parent_span_id=r),o}const Ps=["ok","deadline_exceeded","unauthenticated","permission_denied","not_found","resource_exhausted","invalid_argument","unimplemented","unavailable","internal_error","unknown_error","cancelled","already_exists","failed_precondition","aborted","out_of_range","data_loss"],$s="culture.calendar",Ms="culture.locale",Fs="culture.timezone",js="gen_ai.conversation.id",Us="http.request.header",Zn="sentry.exclusive_time",Bs="sentry.is_localhost",tr="sentry.op",Hs="sentry.origin",er="sentry.profile_id",Ws="sentry.segment.name.source",Gs="url.full",qs="user_agent.original";function zs(t){return t!=="ok"&&Ps.includes(t)}function nr(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}const Ys="_sentryScope",Ks="_sentryIsolationScope";function te(t){const e=t;return{scope:e[Ys],isolationScope:nr(e[Ks])}}function Vs(t){const e=Xs(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,o])=>{if(s.startsWith("sentry-")){const i=s.slice(7);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function Xs(t){if(!(!t||!$(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Ye(n);return Object.entries(r).forEach(([s,o])=>{e[s]=o}),e},{}):Ye(t)}function Ye(t){return t.split(",").map(e=>{const n=e.indexOf("=");return n===-1?[]:[e.slice(0,n),e.slice(n+1)].map(r=>{try{return decodeURIComponent(r.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Js=/^o(\d+)\./,Qs=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Zs(t){return t==="http"||t==="https"}function Pt(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function to(t){const e=Qs.exec(t);if(!e){B(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",o="",i="",a=""]=e.slice(1);let c="",u=a;const f=u.split("/");if(f.length>1&&(c=f.slice(0,-1).join("/"),u=f.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return rr({host:o,pass:s,path:c,projectId:u,port:i,protocol:n,publicKey:r})}function rr(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function eo(t){if(!h)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(p.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?Zs(r)?e&&isNaN(parseInt(e,10))?(p.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function no(t){var e;return(e=t.match(Js))==null?void 0:e[1]}function ro(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=no(n)),r}function ke(t){const e=typeof t=="string"?to(t):rr(t);if(!(!e||!eo(e)))return e}function so(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const oo="span";function io(t){return nr(t.refs[oo])}function ao(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:$t(t).parent_span_id,o=te(t).scope;return{parent_span_id:s,span_id:r?(o==null?void 0:o.getPropagationContext().propagationSpanId)||Kn():e,trace_id:n}}function co(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:o})=>({span_id:e,trace_id:n,sampled:r===1,attributes:o,...s}))}function Ke(t){return typeof t=="number"?Ve(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Ve(t.getTime()):A()}function Ve(t){return t>9999999999?t/1e3:t}function $t(t){if(po(t))return t.getStaticSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(lo(t)){const{attributes:r,startTime:s,name:o,endTime:i,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:o,parent_span_id:uo(t),start_timestamp:Ke(s),timestamp:Ke(i)||void 0,status:mo(a),op:r[tr],origin:r[Hs],links:co(c)}}return{span_id:e,trace_id:n,start_timestamp:0,status:"ok",data:{}}}function uo(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(e=t.parentSpanContext)==null?void 0:e.spanId:void 0}function fo(t){var e;return{...t,end_timestamp:t.end_timestamp??t.start_timestamp,attributes:ze(t.attributes),links:(e=t.links)==null?void 0:e.map(n=>({...n,attributes:ze(n.attributes)}))}}function lo(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function po(t){return typeof t.getSpanJSON=="function"}function ho(t){const{traceFlags:e}=t.spanContext();return e===1}function mo(t){return!t||t.code===0||t.code===1?"ok":t.message&&zs(t.message)?t.message:"internal_error"}const _o="_sentryRootSpan",sr=go;function go(t){return t[_o]||t}function yo(t){const e=st(),n=Lt(e);return n.getActiveSpan?n.getActiveSpan(t):io(t||x())}function Xe(t){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||((n=b())==null?void 0:n.getOptions());return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function Je(t){p.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function Qe(t,e){if(!(e!=null&&e.length))return!1;for(const n of e){if(bo(n)){if(t.description&&ft(t.description,n))return h&&Je(t),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?t.description&&ft(t.description,n.name):!0,o=n.op?t.op&&ft(t.op,n.op):!0,i=n.attributes?Object.entries(n.attributes).every(([a,c])=>{var u;return So((u=t.attributes)==null?void 0:u[a],c)}):!0;if(s&&o&&i)return h&&Je(t),!0}return!1}function So(t,e){return typeof t=="string"&&(typeof e=="string"||e instanceof RegExp)?ft(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t===e}function Eo(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}function bo(t){return typeof t=="string"||t instanceof RegExp}const Ze=[];function vo(t){const e={};return t.forEach(n=>{const{name:r}=n,s=e[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function Io(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...e,...n];else if(typeof n=="function"){const s=n(e);r=Array.isArray(s)?s:[s]}else r=e;return vo(r)}function To(t,e){const n={};return e.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(t)}),e.forEach(r=>{r&&or(t,r,n)}),n}function tn(t,e){for(const n of e)n!=null&&n.afterAllSetup&&n.afterAllSetup(t)}function or(t,e,n){if(n[e.name]){h&&p.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Ze.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Ze.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const r=e.preprocessEvent.bind(e);t.on("preprocessEvent",(s,o)=>r(s,o,t))}if(typeof e.processEvent=="function"){const r=e.processEvent.bind(e),s=Object.assign((o,i)=>r(o,i,t),{id:e.name});t.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=e[r];typeof s=="function"&&t.on(r,o=>s.call(e,o,t))}),h&&p.log(`Integration installed: ${e.name}`)}function C(t,e){return(...n)=>{const r=ht(n[0])?{...n[0]}:n[0],s=t(...n);return s._options=r,s._libraryOptions=e==null?void 0:e.libraryOptions,s}}const wo="production",ko=Symbol.for("sentry.nonRecordingSpan");function Oo(t){return!!t&&t[ko]===!0}const Ro="_frozenDsc";function ir(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||"production",release:n.release,public_key:r,trace_id:t,org_id:ro(e)};return e.emit("createDsc",s),s}function ar(t,e){if(Jn())return;const n=e.getPropagationContext();return n.dsc||ir(n.traceId,t)}function Co(t){var S;const e=b();if(!e)return{};const n=sr(t),r=$t(n),s=r.data,o=n.spanContext().traceState,i=(o==null?void 0:o.get("sentry.sample_rate"))??s["sentry.sample_rate"]??s["sentry.previous_trace_sample_rate"];function a(v){return(typeof i=="number"||typeof i=="string")&&(v.sample_rate=`${i}`),v}const c=n[Ro];if(c)return a(c);const u=Oo(n),f=u&&n.dropReason==="ignored";if(u&&(!Xe(e.getOptions())||f)){const v=te(n).scope,w=v&&ar(e,v);if(w){const I={...w};return f&&(I.sampled="false"),a(I)}}const l=o==null?void 0:o.get("sentry.dsc"),d=l&&Vs(l);if(d)return a(d);const m=ir(t.spanContext().traceId,e),y=s[Ws],O=r.description;if(y!=="url"&&O&&(m.transaction=O),Xe()){const v=(S=te(n).scope)==null?void 0:S.getPropagationContext(),w=ho(n);m.sampled=String(w),m.sample_rand=(o==null?void 0:o.get("sentry.sample_rand"))??(v==null?void 0:v.sampleRand.toString()),i==null&&typeof(v==null?void 0:v.sampled)=="boolean"&&(m.sample_rate=w?"1":"0")}return a(m),e.emit("createDsc",m,n),m}function No(t,e){const{fingerprint:n,breadcrumbs:r,sdkProcessingMetadata:s}=e;Do(t,e),Po(t,n),Ao(t,r),xo(t,s)}function en(t,e){const{extra:n,tags:r,attributes:s,user:o,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:f,eventProcessors:l,attachments:d,propagationContext:m,transactionName:y}=e;at(t,"extra",n),at(t,"tags",r),at(t,"attributes",s),at(t,"user",o),at(t,"contexts",i),t.sdkProcessingMetadata=yt(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),f.length&&(t.fingerprint=[...t.fingerprint,...f]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...m}}function at(t,e,n){t[e]=yt(t[e],n,1)}function cr(t,e){const n=xs().getScopeData();return t&&en(n,t.getScopeData()),e&&en(n,e.getScopeData()),n}function Do(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(o).length&&(t.contexts={...o,...t.contexts}),i&&(t.level=i),a&&t.type!=="transaction"&&(t.transaction=a)}function Ao(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function xo(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Lo(t,e){t.contexts={trace:ao(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Co(e),...t.sdkProcessingMetadata};const n=sr(e),r=$t(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Po(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function dt(t,e,n){let r;try{r=e()}catch(s){return nn(t,s,n)}return mt(r)?r.then(void 0,s=>nn(t,s,n)):r}function nn(t,e,n){return h&&p.error(t,e),n(e)}function ur(t){return!!t&&typeof t=="function"&&"_static"in t&&!!t._static}function rn(t,e){return dt(h?"The `beforeSendSpan` callback threw an error, sending the span unmodified:":"",()=>e(t),()=>t)||t}function $o(t){const e={trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,name:t.description||"",start_timestamp:t.start_timestamp,end_timestamp:t.timestamp,status:!t.status||t.status==="ok"||t.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...t.data},links:t.links};return fo(e)}function fr(t,e){const n=t.attributes??(t.attributes={});Object.entries(e).forEach(([r,s])=>{s!=null&&!(r in n)&&(n[r]=s)})}function Mo(t){return t.getOptions().traceLifecycle==="stream"}function Fo(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}function Mt(t,e=[]){return[t,e]}function sn(t,e){const[n,r]=t;return[n,[...r,e]]}function ee(t,e){const n=t[1];for(const r of n){const s=r[0].type;if(e(r,s))return!0}return!1}function jo(t,e){return ee(t,(n,r)=>e.includes(r))}function ne(t){const e=pt(_);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function Uo(t){const[e,n]=t;let r=JSON.stringify(e);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[ne(r),o]:r.push(typeof o=="string"?ne(o):o)}for(const o of n){const[i,a]=o;if(s(` +Error:`,s)}}let Ut=null;function Vr(t){const e="error";z(e,t),Y(e,Xr)}function Xr(){Ut=g.onerror,g.onerror=function(t,e,n,r,s){return C("error",{column:r,error:s,line:n,msg:t,url:e}),Ut?Ut.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}let Bt=null;function Jr(t){const e="unhandledrejection";z(e,t),Y(e,Qr)}function Qr(){Bt=g.onunhandledrejection,g.onunhandledrejection=function(t){return C("unhandledrejection",t),Bt?Bt.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const jn=Object.prototype.toString;function D(t){switch(jn.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ve(t,Error)}}function it(t,e){return jn.call(t)===`[object ${e}]`}function Un(t){return it(t,"ErrorEvent")}function je(t){return it(t,"DOMError")}function Zr(t){return it(t,"DOMException")}function $(t){return it(t,"String")}function be(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function at(t){return t===null||be(t)||typeof t!="object"&&typeof t!="function"}function mt(t){return it(t,"Object")}function At(t){return typeof t=="object"&&t!==null}function xt(t){return typeof Event<"u"&&ve(t,Event)}function ts(t){return it(t,"RegExp")}function gt(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function ve(t,e){try{return t instanceof e}catch{return!1}}function Bn(t){return typeof Request<"u"&&ve(t,Request)}function k(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&Hn(s,r);try{t[e]=s}catch{h&&p.log(`Failed to replace method "${String(e)}" in object`,t)}}function U(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&p.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function Hn(t,e){try{t.prototype=e.prototype=e.prototype||{},U(t,"__sentry_original__",e)}catch{}}function Ie(t){return t.__sentry_original__}function Wn(t){if(D(t))return{message:t.message,name:t.name,stack:t.stack,...Ue(t)};if(xt(t)){const{type:e,target:n,currentTarget:r,detail:s}=t;return{type:e,target:n,currentTarget:r,...s?{detail:s}:{},...Ue(t)}}return t}function Ue(t){return At(t)?Object.fromEntries(Object.entries(t)):{}}function es(t){const e=Object.keys(Wn(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let X;function dt(t){if(X!==void 0)return X?X(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=g;return e in n&&typeof n[e]=="function"?(X=n[e],X(t)):(X=null,t())}function Te(){return dt(()=>Math.random())}function K(){return dt(()=>Date.now())}const ns=Symbol.for("sentry.skipNormalization"),rs=Symbol.for("sentry.overrideNormalizationDepth");function ss(t){return!!t[ns]}function os(t){const e=t[rs];return typeof e=="number"?e:void 0}let Vt;function is(t){Vt=t}function P(t,e=100,n=1/0){try{return Xt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${Gn(r)})`}}}function Gn(t){try{return String(t)}catch{return"unknown error"}}function qn(t,e=3,n=102400){const r=P(t,e);return us(r)>n?qn(t,e-1,n):r}function Xt(t,e,n=1/0,r=1/0,s=fs()){const[o,i]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=we(t,e);if(!a.startsWith("[object "))return a;if(ss(e))return e;const c=os(e),u=c!==void 0?c:n;if(u===0)return a.replace("object ","");if(o(e))return"[Circular ~]";const f=e;if(f&&typeof f.toJSON=="function")try{return Xt("",f.toJSON(),u-1,r,s)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const m=Wn(e);for(const y in m){if(!Object.prototype.hasOwnProperty.call(m,y))continue;if(d>=r){l[y]="[MaxProperties ~]";break}const R=m[y];l[y]=Xt(y,R,u-1,r,s),d++}return i(e),l}function we(t,e){try{if(Vt){const n=Vt(e);if(n)return n}return typeof global<"u"&&e===global?"[Global]":typeof e=="number"&&!Number.isFinite(e)?`[${e}]`:typeof e=="function"?`[Function: ${j(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${as(e)}]`}catch(n){return`**non-serializable** (${Gn(n)})`}}function as(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function cs(t){return~-encodeURI(t).split(/%..|./).length}function us(t){return cs(JSON.stringify(t))}function fs(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function ls(t,e="[unserializable]"){if(typeof t=="string")return t;try{return JSON.stringify(t)}catch{return typeof e=="function"?e(t):e}}function Jt(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function ds(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rt.randomUUID()).replace(/-/g,"")}catch{}return Ht||(Ht="10000000100040008000100000000000"),Ht.replace(/[018]/g,e=>(e^(hs()&15)>>e/4).toString(16))}function zn(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function G(t){const{message:e,event_id:n}=t;if(e)return e;const r=zn(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Qt(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type="Error")}function Q(t,e){const n=zn(t);n&&Yn(n,e)}function ms(t,e){var s;const n=(s=t.exception)==null?void 0:s.values,r=(n==null?void 0:n.find(o=>{var i;return((i=o.mechanism)==null?void 0:i.exception_id)===0}))??(n==null?void 0:n[0]);r&&Yn(r,e)}function Yn(t,e){const n={type:"generic",handled:!0},r=t.mechanism;t.mechanism={...n,...r,...e},e&&"data"in e&&(t.mechanism.data={...r==null?void 0:r.data,...e.data})}function Be(t){if(gs(t))return!0;try{U(t,"__sentry_captured__",!0)}catch{}return!1}function gs(t){try{return t.__sentry_captured__}catch{}}const Kn=1e3,_s=1e3,ys=100;function yt(){return K()/Kn}let J=[];function Ss(){const{performance:t}=g;if(!(t!=null&&t.now)||!t.timeOrigin)return t!=null&&t.now&&(J=[{from:0,origin:K()-dt(()=>t.now())}]),yt;let e=t.timeOrigin;J=[{from:0,origin:e}];let n=!0,r=0;return()=>dt(()=>{const s=t.now(),o=Date.now();return Math.abs(e+s-o)>_s&&(e=o-s,n?J=[{from:0,origin:e}]:(J.push({from:r,origin:e}),J.length>ys&&J.splice(1,1))),n=!1,r=s,(e+s)/Kn})}let He;function A(){return(He??(He=Ss()))()}function Es(t){const e=A(),n={sid:N(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>vs(n)};return t&&tt(n,t),n}function tt(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||A(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:N()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function bs(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),tt(t,n)}function vs(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function St(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=St(r[s],e[s],n-1));return r}function Is(){return N()}function Vn(){return N().substring(16)}const Ts=100;var et=class Zt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},U(this,"refs",{}),this._propagationContext={traceId:Is(),sampleRand:Te()}}clone(){const e=new Zt;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,e.refs={...this.refs},e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tt(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,{tags:r,attributes:s,extra:o,user:i,contexts:a,level:c,fingerprint:u=[],propagationContext:f,conversationId:l}=(n instanceof Zt?n.getScopeData():mt(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),l&&(this._conversationId=l),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:Ts;if(r<=0)return this;const s={timestamp:yt(),...e,message:e.message?Jt(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=St(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||N();if(!this._client)return h&&p.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=(r==null?void 0:r.event_id)||N();if(!this._client)return h&&p.warn("No client configured on scope - will not capture message!"),s;const o=(r==null?void 0:r.syntheticException)??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:o,...r,event_id:s},this),s}captureEvent(e,n){const r=e.event_id||(n==null?void 0:n.event_id)||N();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(h&&p.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};function ws(){return Dt("defaultCurrentScope",()=>new et)}function ks(){return Dt("defaultIsolationScope",()=>new et)}const We="__SENTRY_SUPPRESS_TRACING__",Ge=t=>t instanceof Promise&&!t[Xn],Xn=Symbol("chained PromiseLike"),Os=(t,e,n)=>{const r=t.then(s=>(e(s),s),s=>{throw n(s),s});return Ge(r)&&Ge(t)?r:Rs(t,r)},Rs=(t,e)=>{if(!e)return t;let n=!1;for(const r in t){if(r in e)continue;n=!0;const s=t[r];typeof s=="function"?Object.defineProperty(e,r,{value:(...o)=>s.apply(t,o),enumerable:!0,configurable:!0,writable:!0}):e[r]=s}return n&&Object.assign(e,{[Xn]:!0}),e};var Ns=class{constructor(t,e){let n;t?n=t:n=new et;let r;e?r=e:r=new et,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return gt(n)?Os(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function nt(){const t=ot(),e=ht(t);return e.stack=e.stack||new Ns(ws(),ks())}function Jn(t){return nt().withScope(t)}function Cs(t,e){const n=nt();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function qe(t){return nt().withScope(()=>t(nt().getIsolationScope()))}function Ds(){return{suppressTracing:As,withIsolationScope:qe,withScope:Jn,withSetScope:Cs,withSetIsolationScope:(t,e)=>qe(e),getCurrentScope:()=>nt().getScope(),getIsolationScope:()=>nt().getIsolationScope()}}function As(t){return Jn(e=>{e.setSDKProcessingMetadata({[We]:!0});const n=t();return e.setSDKProcessingMetadata({[We]:void 0}),n})}function Lt(t){const e=ht(t);return e.acs?e.acs:Ds()}function xs(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)&&Object.keys(t).includes("value")}function Ls(t,e){const{value:n,unit:r}=xs(t)?t:{value:t,unit:void 0},s=Ps(n),o=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...o};if(!e||e==="skip-undefined"&&n===void 0)return;let i="";try{i=JSON.stringify(n)??""}catch{}return{value:i,type:"string",...o}}function ze(t,e=!1){const n={};for(const[r,s]of Object.entries(t??{})){const o=Ls(s,e);o&&(n[r]=o)}return n}function Ps(t){if(Array.isArray(t))return{value:t,type:"array"};const e=typeof t=="string"?"string":typeof t=="boolean"?"boolean":typeof t=="number"&&!Number.isNaN(t)?Number.isInteger(t)?"integer":"double":null;if(e)return{value:t,type:e}}function Qn(){var t,e;return(e=(t=ht(ot())).externalPropagationContextProvider)==null?void 0:e.call(t)}function x(){const t=ot();return Lt(t).getCurrentScope()}function V(){const t=ot();return Lt(t).getIsolationScope()}function $s(){return Dt("globalScope",()=>new et)}function Ms(...t){const e=ot(),n=Lt(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function b(){return x().getClient()}function Zn(t){const e=Qn();if(e)return{trace_id:e.traceId,span_id:e.spanId};const{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),o={trace_id:n,span_id:s||Vn()};return r&&(o.parent_span_id=r),o}const Fs=["ok","deadline_exceeded","unauthenticated","permission_denied","not_found","resource_exhausted","invalid_argument","unimplemented","unavailable","internal_error","unknown_error","cancelled","already_exists","failed_precondition","aborted","out_of_range","data_loss"],js="browser.web_vital.inp.target",Us="culture.calendar",Bs="culture.locale",Hs="culture.timezone",Ws="gen_ai.conversation.id",Gs="http.request.header",tr="sentry.exclusive_time",qs="sentry.is_localhost",er="sentry.op",zs="sentry.origin",nr="sentry.profile_id",Ys="sentry.segment.name.source",Ks="url.full",Vs="user_agent.original";function Xs(t){return t!=="ok"&&Fs.includes(t)}function rr(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}const Js="_sentryScope",Qs="_sentryIsolationScope";function te(t){const e=t;return{scope:e[Js],isolationScope:rr(e[Qs])}}function Zs(t){const e=to(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,o])=>{if(s.startsWith("sentry-")){const i=s.slice(7);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function to(t){if(!(!t||!$(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Ye(n);return Object.entries(r).forEach(([s,o])=>{e[s]=o}),e},{}):Ye(t)}function Ye(t){return t.split(",").map(e=>{const n=e.indexOf("=");return n===-1?[]:[e.slice(0,n),e.slice(n+1)].map(r=>{try{return decodeURIComponent(r.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const eo=/^o(\d+)\./,no=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ro(t){return t==="http"||t==="https"}function Pt(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function so(t){const e=no.exec(t);if(!e){H(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",o="",i="",a=""]=e.slice(1);let c="",u=a;const f=u.split("/");if(f.length>1&&(c=f.slice(0,-1).join("/"),u=f.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return sr({host:o,pass:s,path:c,projectId:u,port:i,protocol:n,publicKey:r})}function sr(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function oo(t){if(!h)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(p.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?ro(r)?e&&isNaN(parseInt(e,10))?(p.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function io(t){var e;return(e=t.match(eo))==null?void 0:e[1]}function ao(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=io(n)),r}function ke(t){const e=typeof t=="string"?so(t):sr(t);if(!(!e||!oo(e)))return e}function co(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const uo="span";function fo(t){return rr(t.refs[uo])}function lo(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:$t(t).parent_span_id,o=te(t).scope;return{parent_span_id:s,span_id:r?(o==null?void 0:o.getPropagationContext().propagationSpanId)||Vn():e,trace_id:n}}function po(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:o})=>({span_id:e,trace_id:n,sampled:r===1,attributes:o,...s}))}function Ke(t){return typeof t=="number"?Ve(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Ve(t.getTime()):A()}function Ve(t){return t>9999999999?t/1e3:t}function $t(t){if(_o(t))return t.getStaticSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(go(t)){const{attributes:r,startTime:s,name:o,endTime:i,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:o,parent_span_id:ho(t),start_timestamp:Ke(s),timestamp:Ke(i)||void 0,status:So(a),op:r[er],origin:r[zs],links:po(c)}}return{span_id:e,trace_id:n,start_timestamp:0,status:"ok",data:{}}}function ho(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(e=t.parentSpanContext)==null?void 0:e.spanId:void 0}function mo(t){var e;return{...t,end_timestamp:t.end_timestamp??t.start_timestamp,attributes:ze(t.attributes),links:(e=t.links)==null?void 0:e.map(n=>({...n,attributes:ze(n.attributes)}))}}function go(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function _o(t){return typeof t.getSpanJSON=="function"}function yo(t){const{traceFlags:e}=t.spanContext();return e===1}function So(t){return!t||t.code===0||t.code===1?"ok":t.message&&Xs(t.message)?t.message:"internal_error"}const Eo="_sentryRootSpan",or=bo;function bo(t){return t[Eo]||t}function vo(t){const e=ot(),n=Lt(e);return n.getActiveSpan?n.getActiveSpan(t):fo(t||x())}function Xe(t){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||((n=b())==null?void 0:n.getOptions());return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function Je(t){p.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function Qe(t,e){if(!(e!=null&&e.length))return!1;for(const n of e){if(wo(n)){if(t.description&<(t.description,n))return h&&Je(t),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?t.description&<(t.description,n.name):!0,o=n.op?t.op&<(t.op,n.op):!0,i=n.attributes?Object.entries(n.attributes).every(([a,c])=>{var u;return Io((u=t.attributes)==null?void 0:u[a],c)}):!0;if(s&&o&&i)return h&&Je(t),!0}return!1}function Io(t,e){return typeof t=="string"&&(typeof e=="string"||e instanceof RegExp)?lt(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t===e}function To(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}function wo(t){return typeof t=="string"||t instanceof RegExp}const Ze=[];function ko(t){const e={};return t.forEach(n=>{const{name:r}=n,s=e[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function Oo(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...e,...n];else if(typeof n=="function"){const s=n(e);r=Array.isArray(s)?s:[s]}else r=e;return ko(r)}function Ro(t,e){const n={};return e.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(t)}),e.forEach(r=>{r&&ir(t,r,n)}),n}function tn(t,e){for(const n of e)n!=null&&n.afterAllSetup&&n.afterAllSetup(t)}function ir(t,e,n){if(n[e.name]){h&&p.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Ze.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Ze.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const r=e.preprocessEvent.bind(e);t.on("preprocessEvent",(s,o)=>r(s,o,t))}if(typeof e.processEvent=="function"){const r=e.processEvent.bind(e),s=Object.assign((o,i)=>r(o,i,t),{id:e.name});t.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=e[r];typeof s=="function"&&t.on(r,o=>s.call(e,o,t))}),h&&p.log(`Integration installed: ${e.name}`)}function O(t,e){return(...n)=>{const r=mt(n[0])?{...n[0]}:n[0],s=t(...n);return s._options=r,s._libraryOptions=e==null?void 0:e.libraryOptions,s}}const No="production",Co=Symbol.for("sentry.nonRecordingSpan");function Do(t){return!!t&&t[Co]===!0}const Ao="_frozenDsc";function ar(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||"production",release:n.release,public_key:r,trace_id:t,org_id:ao(e)};return e.emit("createDsc",s),s}function cr(t,e){if(Qn())return;const n=e.getPropagationContext();return n.dsc||ar(n.traceId,t)}function xo(t){var S;const e=b();if(!e)return{};const n=or(t),r=$t(n),s=r.data,o=n.spanContext().traceState,i=(o==null?void 0:o.get("sentry.sample_rate"))??s["sentry.sample_rate"]??s["sentry.previous_trace_sample_rate"];function a(v){return(typeof i=="number"||typeof i=="string")&&(v.sample_rate=`${i}`),v}const c=n[Ao];if(c)return a(c);const u=Do(n),f=u&&n.dropReason==="ignored";if(u&&(!Xe(e.getOptions())||f)){const v=te(n).scope,w=v&&cr(e,v);if(w){const I={...w};return f&&(I.sampled="false"),a(I)}}const l=o==null?void 0:o.get("sentry.dsc"),d=l&&Zs(l);if(d)return a(d);const m=ar(t.spanContext().traceId,e),y=s[Ys],R=r.description;if(y!=="url"&&R&&(m.transaction=R),Xe()){const v=(S=te(n).scope)==null?void 0:S.getPropagationContext(),w=yo(n);m.sampled=String(w),m.sample_rand=(o==null?void 0:o.get("sentry.sample_rand"))??(v==null?void 0:v.sampleRand.toString()),i==null&&typeof(v==null?void 0:v.sampled)=="boolean"&&(m.sample_rate=w?"1":"0")}return a(m),e.emit("createDsc",m,n),m}function Lo(t,e){const{fingerprint:n,breadcrumbs:r,sdkProcessingMetadata:s}=e;Po(t,e),jo(t,n),$o(t,r),Mo(t,s)}function en(t,e){const{extra:n,tags:r,attributes:s,user:o,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:f,eventProcessors:l,attachments:d,propagationContext:m,transactionName:y}=e;ct(t,"extra",n),ct(t,"tags",r),ct(t,"attributes",s),ct(t,"user",o),ct(t,"contexts",i),t.sdkProcessingMetadata=St(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),f.length&&(t.fingerprint=[...t.fingerprint,...f]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...m}}function ct(t,e,n){t[e]=St(t[e],n,1)}function ur(t,e){const n=$s().getScopeData();return t&&en(n,t.getScopeData()),e&&en(n,e.getScopeData()),n}function Po(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(o).length&&(t.contexts={...o,...t.contexts}),i&&(t.level=i),a&&t.type!=="transaction"&&(t.transaction=a)}function $o(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Mo(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Fo(t,e){t.contexts={trace:lo(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:xo(e),...t.sdkProcessingMetadata};const n=or(e),r=$t(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function jo(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function pt(t,e,n){let r;try{r=e()}catch(s){return nn(t,s,n)}return gt(r)?r.then(void 0,s=>nn(t,s,n)):r}function nn(t,e,n){return h&&p.error(t,e),n(e)}function fr(t){return!!t&&typeof t=="function"&&"_static"in t&&!!t._static}function rn(t,e){return pt(h?"The `beforeSendSpan` callback threw an error, sending the span unmodified:":"",()=>e(t),()=>t)||t}function Uo(t){const e={trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,name:t.description||"",start_timestamp:t.start_timestamp,end_timestamp:t.timestamp,status:!t.status||t.status==="ok"||t.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...t.data},links:t.links};return mo(e)}function lr(t,e){const n=t.attributes??(t.attributes={});Object.entries(e).forEach(([r,s])=>{s!=null&&!(r in n)&&(n[r]=s)})}function Bo(t){return t.getOptions().traceLifecycle==="stream"}function Ho(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}function Mt(t,e=[]){return[t,e]}function sn(t,e){const[n,r]=t;return[n,[...r,e]]}function ee(t,e){const n=t[1];for(const r of n){const s=r[0].type;if(e(r,s))return!0}return!1}function Wo(t,e){return ee(t,(n,r)=>e.includes(r))}function ne(t){const e=ht(g);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function dr(t){const[e,n]=t;let r=JSON.stringify(e);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[ne(r),o]:r.push(typeof o=="string"?ne(o):o)}for(const o of n){const[i,a]=o;if(s(` ${JSON.stringify(i)} -`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(P(a))}s(c)}}return typeof r=="string"?r:Bo(r)}function Bo(t){const e=t.reduce((s,o)=>s+o.length,0),n=new Uint8Array(e);let r=0;for(const s of t)n.set(s,r),r+=s.length;return n}function Ho(t){const e=typeof t.data=="string"?ne(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const lr={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",metric:"trace_metric"};function Wo(t){return t in lr}function on(t){return Wo(t)?lr[t]:t}function dr(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Go(t,e,n,r){var o;const s=(o=t.sdkProcessingMetadata)==null?void 0:o.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(Y()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:Pt(r)},...s&&{trace:s}}}function re(t){return t==="replay_event"?"replay":t||"error"}function qo(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function zo(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function Yo(){return!qo()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function pr(){return typeof window<"u"&&(!Yo()||Ko())}function Ko(){var t;return((t=_.process)==null?void 0:t.type)==="renderer"}function Vo(t,e){const n=e.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:t.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,ingest_settings:pr()?{infer_ip:n,infer_user_agent:n}:void 0,items:t}]}const Xo=new WeakMap;function Jo(t){return it(t)?void 0:t}function Qo(t,e,n){var i;const r=Jo(e.originalException),s=r&&Xo.get(r);if(!s)return;const o=(i=t.contexts)==null?void 0:i.trace;((o==null?void 0:o.trace_id)??(n&&Qn(n).trace_id))===s.trace_id&&(t.contexts={...t.contexts,trace:{...o,...s}})}function Zo(t,e){var r,s,o,i;if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...((r=t.sdk)==null?void 0:r.integrations)||[],...e.integrations||[]],packages:[...((s=t.sdk)==null?void 0:s.packages)||[],...e.packages||[]],settings:(o=t.sdk)!=null&&o.settings||e.settings?{...(i=t.sdk)==null?void 0:i.settings,...e.settings}:void 0},t}function ti(t,e,n,r){const s=dr(n),o={sent_at:new Date(Y()).toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:Pt(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Mt(o,[i])}function ei(t,e,n,r){const s=dr(n),o=t.type&&t.type!=="replay_event"?t.type:"event";Zo(t,n==null?void 0:n.sdk);const i=Go(t,s,r,e);return delete t.sdkProcessingMetadata,Mt(i,[[{type:o},t]])}const hr="[Filtered]",ni=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"];function ri(t,e){return e.some(n=>t.includes(n))}function mr(t,e,n){if(e===!1)return!0;const r=t.toLowerCase();if(ri(r,ni))return!0;if(e===!0)return!1;const s=("deny"in e?e.deny:e.allow).some(o=>r.includes(o.toLowerCase()));return"deny"in e?s:!s}function se(t,e,n){if(e===!1)return{};const r={};for(const[s,o]of Object.entries(t))r[s]=mr(s,e)?hr:o;return r}const Wt=0,an=1,cn=2;function St(t){return new _r(e=>{e(t)})}function Oe(t){return new _r((e,n)=>{n(t)})}var _r=class oe{constructor(e){this._state=Wt,this._handlers=[],this._runExecutor(e)}then(e,n){return new oe((r,s)=>{this._handlers.push([!1,o=>{if(!e)r(o);else try{r(e(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new oe((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,e&&e()},i=>{o=!0,s=i,e&&e()}).then(()=>{if(o){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Wt)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===an&&n[1](this._value),this._state===cn&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(o,i)=>{if(this._state===Wt){if(mt(i)){i.then(r,s);return}this._state=o,this._value=i,this._executeHandlers()}},r=o=>{n(an,o)},s=o=>{n(cn,o)};try{e(r,s)}catch(o){s(o)}}};function si(t,e,n,r=0,s){try{const o=ie(e,n,t,r,s);return mt(o)?o:St(o)}catch(o){return Oe(o)}}function ie(t,e,n,r,s){const o=n[r];if(!t||!o)return t;const i=`Event processor "${o.id||"?"}"`;let a=!1;const c=dt(h?`${i} threw an error, dropping event:`:"",()=>o({...t},e),()=>(a=!0,null));return h&&c===null&&p.log(`${i} dropped event`),mt(c)?c.then(u=>u?ie(u,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)):c?ie(c,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)}let L,un,fn,M;function oi(t){const e=_._sentryDebugIds,n=_._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(M&&r.length===un&&s.length===fn)return M;un=r.length,fn=s.length,M={},L||(L={});const o=(i,a)=>{var c;for(const u of i){const f=a[u],l=L==null?void 0:L[u];if(l&&M&&f)M[l[0]]=f,L&&(L[u]=[l[0],f]);else if(f){const d=t(u);for(let m=d.length-1;m>=0;m--){const y=(c=d[m])==null?void 0:c.filename;if(y&&M&&L){M[y]=f,L[u]=[y,f];break}}}}};return e&&o(r,e),n&&o(s,n),M}function ae(t){var e;return((e=t.data)==null?void 0:e.__sentry__)===!0}function gr(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function ii(t,e,n,r,s,o){var w;const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||R(),timestamp:e.timestamp||gt()},u=n.integrations||t.integrations.map(I=>I.name);ai(c,t),fi(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&ci(c,t.stackParser);const f=di(r,n.captureContext);n.mechanism&&ds(c,n.mechanism);const l=s?s.getEventProcessors():[],d=cr(o,f),m=[...n.attachments||[],...d.attachments];m.length&&(n.attachments=m),No(c,d);const y=yo(f);y&&Lo(c,y),Qo(c,n,f);const O=[...l,...d.eventProcessors],S=e.type==="transaction",v=((w=e.spans)==null?void 0:w.length)||0;return(ae(n)?St(c):si(O,c,n,0,I=>{s&&(s.recordDroppedEvent(I,re(e.type)),S&&s.recordDroppedEvent(I,"span",1+v))})).then(I=>{var xe;if(!I)return null;if(S&&s){const Le=v-(((xe=I.spans)==null?void 0:xe.length)||0);Le>0&&s.recordDroppedEvent("event_processor","span",Le)}return ui(I),typeof i=="number"&&i>0?li(I,i,a):I})}function ai(t,e){var a,c;const{environment:n,release:r,dist:s,maxValueLength:o}=e;t.environment=t.environment||n||"production",!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const i=t.request;i!=null&&i.url&&o&&(i.url=Jt(i.url,o)),o&&((c=(a=t.exception)==null?void 0:a.values)==null||c.forEach(u=>{u.value&&(u.value=Jt(u.value,o))}))}function ci(t,e){var r,s;const n=oi(e);(s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function ui(t){var r,s;const e={};if((s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.debug_id&&(c.abs_path?e[c.abs_path]=c.debug_id:c.filename&&(e[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([o,i])=>{n.push({type:"sourcemap",code_file:o,debug_id:i})})}function fi(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function li(t,e,n){var s,o;if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))},...t.user&&{user:P(t.user,e,n)},...t.contexts&&{contexts:P(t.contexts,e,n)},...t.extra&&{extra:P(t.extra,e,n)}};return(s=t.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=P(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))),(o=t.contexts)!=null&&o.flags&&r.contexts&&(r.contexts.flags=P(t.contexts.flags,3,n)),r}function di(t,e){if(!e)return t;const n=t?t.clone():new tt;return n.update(e),n}function pi(t,e){return x().captureException(t,void 0)}function yr(t,e){return x().captureEvent(t,e)}function ln(t){var i,a;const e=K(),{user:n}=cr(e,x());let r=(i=_.navigator)==null?void 0:i.userAgent;if(r){const c=((a=b())==null?void 0:a.getDataCollectionOptions().httpHeaders.request)??!0;r=se({"User-Agent":r},c)["User-Agent"]}const s=gs({user:n,userAgent:r,...t}),o=e.getSession();return(o==null?void 0:o.status)==="ok"&&Z(o,{status:"exited"}),Sr(),e.setSession(s),s}function Sr(){const t=K(),e=x().getSession()||t.getSession();e&&ys(e),Er(),t.setSession()}function Er(){const t=K(),e=b(),n=t.getSession();n&&e&&e.captureSession(n)}function Gt(t=!1){if(t){Sr();return}Er()}function hi(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function mi(t){return`${hi(t)}${t.projectId}/envelope/`}function _i(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function gi(t,e,n){return e||`${mi(t)}?${_i(t,n)}`}function yi(t,e){var s,o,i;if(t.type!=="transaction"||!((s=t.spans)!=null&&s.length)||!((o=t.sdkProcessingMetadata)!=null&&o.hasGenAiSpans)||Mo(e))return;const n=[],r=[];for(const a of t.spans)(i=a.op)!=null&&i.startsWith("gen_ai.")?n.push($o(a)):r.push(a);if(n.length!==0)return t.spans=r,Vo(n,e)}const Re=Symbol.for("SentryBufferFullError");function Ce(t=100){const e=new Set;function n(){return e.sizer(a),()=>r(a)),a}function o(i){if(!e.size)return St(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>Fo(setTimeout(()=>u(!1),i)))];return Promise.race(c)}return{get $(){return Array.from(e)},add:s,drain:o}}const Si=6e4;function Ei(t,e=Y()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?Si:r-e}function bi(t,e){return t[e]||t.all||0}function vi(t,e,n=Y()){return bi(t,e)>n}function Ii(t,e,n=Y()){const r={...t};return Ti(e,n,(s,o)=>{r[s]=Math.max(r[s]||0,o)}),r}function Ti({statusCode:t,headers:e},n,r){const s=e==null?void 0:e["x-sentry-rate-limits"],o=e==null?void 0:e["retry-after"];if(s)for(const i of s.trim().split(",")){const[a,c,,,u]=i.split(":",5),f=parseInt(a,10),l=(isNaN(f)?60:f)*1e3;if(!c)r("all",n+l);else for(const d of c.split(";"))d==="metric_bucket"?(!u||u.split(";").includes("custom"))&&r(d,n+l):r(d,n+l)}else o?r("all",n+Ei(o,n)):t===429&&r("all",n+6e4)}function wi(t,e,n=Ce(t.bufferSize||64)){let r={};const s=a=>n.drain(a);function o(a,[c,u],f){var d;const l=on(f);f==="transaction"&&t.recordDroppedEvent(a,"span",(((d=u.spans)==null?void 0:d.length)??0)+1),t.recordDroppedEvent(a,l,typeof c.item_count=="number"?c.item_count:1)}function i(a){const c=[];if(ee(a,(d,m)=>{vi(r,on(m))?o("ratelimit_backoff",d,m):c.push(d)}),c.length===0)return Promise.resolve({});const u=Mt(a[0],c),f=d=>{if(jo(u,["client_report"])){h&&p.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}ee(u,(m,y)=>{o(d,m,y)})},l=()=>e({body:Uo(u)}).then(d=>d.statusCode===413?(h&&p.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),f("send_error"),d):(h&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&p.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=Ii(r,d),d),d=>{throw f("network_error"),h&&p.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===Re)return h&&p.error("Skipped sending event because buffer is full."),f("queue_overflow"),Promise.resolve({});throw d})}return{send:i,flush:s}}function ki(t,e,n){const r=[{type:"client_report"},{timestamp:gt(),discarded_events:t}];return Mt(e?{dsn:e}:{},[r])}function Oi(t){var u;const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a,links:c}=((u=t.contexts)==null?void 0:u.trace)??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s??"ok",timestamp:t.timestamp,trace_id:e??"",origin:o,links:c,profile_id:i==null?void 0:i[er],exclusive_time:i==null?void 0:i[Zn],measurements:t.measurements,is_segment:!0}}function Ri(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,links:t.links,data:{...t.data,...t.profile_id&&{[er]:t.profile_id},...t.exclusive_time&&{[Zn]:t.exclusive_time}}}},measurements:t.measurements}}function Ci(t){var e;t.traceLifecycle!=="stream"||!(t.beforeSendTransaction||(e=t.ignoreTransactions)!=null&&e.length)||B(()=>{console.warn("[Sentry] `beforeSendTransaction` and `ignoreTransactions` are ignored with `traceLifecycle: 'stream'` (enabled by default). Use `beforeSendSpan` and `ignoreSpans` instead, or set `traceLifecycle: 'static'`.")})}const T={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},mcp:{inputs:!0,outputs:!0},databaseQueryData:!0,queues:!0,stackFrameVariables:!0,frameContextLines:5};function Ni(t){return typeof t=="boolean"||"allow"in t||"deny"in t}function Di(t){return t===void 0?{...T.httpHeaders}:Ni(t)?{request:t,response:t}:{request:t.request??T.httpHeaders.request,response:t.response??T.httpHeaders.response}}function Ai(t){var n,r,s,o,i,a;const e=t.dataCollection??{};return{userInfo:e.userInfo??T.userInfo,cookies:e.cookies??T.cookies,httpHeaders:Di(e.httpHeaders),httpBodies:e.httpBodies??T.httpBodies,urlQueryParams:e.urlQueryParams??T.urlQueryParams,graphQL:{document:((n=e.graphQL)==null?void 0:n.document)??T.graphQL.document,variables:((r=e.graphQL)==null?void 0:r.variables)??T.graphQL.variables},genAI:{inputs:((s=e.genAI)==null?void 0:s.inputs)??T.genAI.inputs,outputs:((o=e.genAI)==null?void 0:o.outputs)??T.genAI.outputs},mcp:{inputs:((i=e.mcp)==null?void 0:i.inputs)??T.mcp.inputs,outputs:((a=e.mcp)==null?void 0:a.outputs)??T.mcp.outputs},databaseQueryData:e.databaseQueryData??T.databaseQueryData,queues:e.queues??T.queues,stackFrameVariables:e.stackFrameVariables??T.stackFrameVariables,frameContextLines:e.frameContextLines??T.frameContextLines}}const dn="Not capturing exception because it's already been captured.",pn="Discarded session because of missing or non-string release",br=Symbol.for("SentryInternalError"),vr=Symbol.for("SentryDoNotSendEventError"),Ir=Symbol.for("SentryClosedClient");function xi(t){return Ir in t}function hn(t){return{message:t,[br]:!0}}function ce(t){return{message:t,[vr]:!0}}function mn(t){return ce(`Discarding event because it's not included in the random sample (sampling rate = ${t})`)}function _n(t){return At(t)&&br in t}function gn(t){return At(t)&&vr in t}var Li=class{constructor(t){var r;this._options={attachStacktrace:!0,...t,traceLifecycle:t.traceLifecycle==="static"?"static":"stream"},this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Ce(((r=t.transportOptions)==null?void 0:r.bufferSize)??64),this._dataCollection=Ai(t),this._unhandledSessionStatus="crashed",this._attachStacktraceIsDefault=t.attachStacktrace===void 0,t.dsn?this._dsn=ke(t.dsn):h&&p.warn("No DSN provided, client will not send events.");const{beforeSendSpan:e,traceLifecycle:n}=this._options;if(h&&e&&ur(e)!==(n==="static")&&B(()=>{console.warn(`Ignoring \`beforeSendSpan\`: ${n==="static"?"wrap it with":"remove"} \`Sentry.withStaticSpan\` to use it with \`traceLifecycle: "${n}"\`.`)}),this._dsn){const s=gi(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}}captureException(t,e,n){const r=R();if(Be(t))return h&&p.log(dn),r;const s={event_id:r,...e};return this._process(()=>this.eventFromException(t,s).then(o=>this._captureEvent(o,s,n)).then(o=>o),"error"),s.event_id}captureMessage(t,e,n,r){const s={event_id:R(),...n},o=be(t)?t:String(t),i=it(t),a=i?this.eventFromMessage(o,e,s).then(c=>(c.exception&&this._attachStacktraceIsDefault&&(c.sdkProcessingMetadata={...c.sdkProcessingMetadata,hasDefaultSyntheticStacktrace:!0}),c)):this.eventFromException(t,s);return this._process(()=>a.then(c=>this._captureEvent(c,s,r)),i?"unknown":"error"),s.event_id}captureEvent(t,e,n){const r=R();if(e!=null&&e.originalException&&Be(e.originalException))return h&&p.log(dn),r;const s={event_id:r,...e},o=t.sdkProcessingMetadata||{},i=o.capturedSpanScope,a=o.capturedSpanIsolationScope,c=re(t.type);return this._process(()=>this._captureEvent(t,s,i||n,a),c),s.event_id}captureSession(t){this.sendSession(t),Z(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const e=this._transport;if(this.emit("flush"),!e)return!0;const n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){Object.defineProperty(this,Ir,{value:!0});const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&(this._setupIntegrations(),Ci(this._options))}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const e=this._integrations[t.name];!e&&t.beforeSetup&&t.beforeSetup(this),or(this,t,this._integrations),e||tn(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);const n=yi(t,this);let r=ei(t,this._dsn,this._options._metadata,this._options.tunnel);if(!ae(e))for(const s of e.attachments||[])r=sn(r,Ho(s));n&&(r=sn(r,n)),this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:e,environment:n=wo}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!e){h&&p.warn(pn);return}s.release=s.release||e,s.environment=s.environment||n,t.attrs=s}else{if(!t.release&&!e){h&&p.warn(pn);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=ti(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){const r=`${t}:${e}`;h&&p.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){const n=this._hooks[t]=this._hooks[t]||new Set,r=(...s)=>e(...s);return n.add(r),()=>{n.delete(r)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(r=>r(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{const e=await this._transport.send(t);return this.emit("afterEnvelope",t),e}catch(e){return h&&p.error("Error while sending envelope:",e),{}}return h&&p.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=To(this,t),tn(this,t)}_updateSessionFromEvent(t,e){var i,a;let n=e.level==="fatal",r=!1;const s=(i=e.exception)==null?void 0:i.values;if(s){r=!0,n=!1;for(const c of s)if(((a=c.mechanism)==null?void 0:a.handled)===!1){n=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&n)&&(Z(t,{...n&&{status:this._unhandledSessionStatus},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||esetTimeout(n,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,e,n,r){const s=this.getOptions(),o=this.getIntegrationNames();return!e.integrations&&o.length&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),ii(s,t,e,n,this,r).then(i=>{var a;return i===null||(this.emit("postprocessEvent",i,e),i.contexts={trace:{...(a=i.contexts)==null?void 0:a.trace,...Qn(n)},...i.contexts},i.sdkProcessingMetadata={dynamicSamplingContext:ar(this,n),...i.sdkProcessingMetadata}),i})}_captureEvent(t,e={},n=x(),r=K()){return h&&ue(t)&&p.log(`Captured error event \`${gr(t)[0]||""}\``),this._processEvent(t,e,n,r).then(s=>s.event_id,s=>{h&&(gn(s)?p.log(s.message):_n(s)?p.warn(s.message):p.warn(s))})}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=Tr(t),a=ue(t),c=`before send for type \`${t.type||"error"}\``;let u="before_send",f=0;const l=typeof o>"u"?void 0:so(o),d=a&&typeof l=="number"&&Te()>l,m=re(t.type);let y=0;const O=n.getSession()||r.getSession();return d&&(O==null?void 0:O.status)!=="ok"?(this.recordDroppedEvent("sample_rate","error"),Oe(mn(o))):this._prepareEvent(t,e,n,r).then(S=>{var v;if(S===null)throw ce("An event processor returned `null`, will not send event.");return y=((v=S.spans)==null?void 0:v.length)||0,ae(e)?S:Pi(s,S,e,w=>{u=w},w=>{f=w})}).then(S=>{var w;if(f&&this.recordDroppedEvent("ignored","span",f),!ht(S)||S===null)throw this.recordDroppedEvent(u,m),i&&this.recordDroppedEvent(u,"span",1+y-f),S!==null?hn(`${c} must return \`null\` or a valid event.`):ce(`${u==="ignored"?"Transaction matched `ignoreSpans`":`${c} ${u==="callback_error"?"threw an error":"returned `null`"}`}, will not send event.`);if(a&&O&&this._updateSessionFromEvent(O,S),d)throw this.recordDroppedEvent("sample_rate","error"),mn(o);if(i){const I=y-f-(((w=S.spans)==null?void 0:w.length)||0);I>0&&this.recordDroppedEvent("before_send","span",I)}const v=S.transaction_info;if(i&&v&&S.transaction!==t.transaction){const I="custom";S.transaction_info={...v,source:I}}return this.sendEvent(S,e),S}).then(null,S=>{throw gn(S)||_n(S)?S:(this.captureException(S,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:S}),hn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${S}`))})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n===Re&&this.recordDroppedEvent("queue_overflow",e),n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([e,n])=>{const[r,s]=e.split(":");return{reason:r,category:s,quantity:n}})}_flushOutcomes(){h&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&p.log("No outcomes to send");return}if(!this._dsn){h&&p.log("No dsn provided, will not send outcomes");return}h&&p.log("Sending outcomes:",t);const e=ki(t,this._options.tunnel&&Pt(this._dsn));this.sendEnvelope(e)}};function Pi(t,e,n,r,s){const{beforeSend:o,ignoreSpans:i,beforeSendTransaction:a}=t,c=ur(t.beforeSendSpan)&&t.beforeSendSpan;let u=e;if(ue(u)&&o){const f=u;return dt(h?"The `beforeSend` callback threw an error, dropping the event:":"",()=>o(f,n),()=>(r("callback_error"),null))}if(Tr(u)){if(c||i){const f=Oi(u);if(i!=null&&i.length&&Qe({description:f.description,op:f.op,attributes:f.data},i))return r("ignored"),null;if(c){const l=rn(f,c);u=yt(e,Ri(l))}if(u.spans){const l=[],d=u.spans;for(const m of d){if(i!=null&&i.length&&Qe({description:m.description,op:m.op,attributes:m.data},i)){Eo(d,m);continue}c?l.push(rn(m,c)):l.push(m)}s(d.length-l.length),u.spans=l}}if(a)return dt(h?"The `beforeSendTransaction` callback threw an error, dropping the event:":"",()=>a(u,n),()=>(r("callback_error"),null))}return u}function ue(t){return t.type===void 0}function Tr(t){return t.type==="transaction"}function $i(t,e){e.debug===!0&&(h?p.enable():B(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Mi(),x().update(e.initialScope);const n=new t(e);return Fi(n),n.init(),n}function Mi(){const t=b();t&&!xi(t)&&B(()=>{console.warn("[Sentry] `Sentry.init()` was called more than once. The new client replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` only once, or call `await Sentry.close()` before you call it again.")})}function Fi(t){x().setClient(t)}function wr(t,e){const n=t.indexOf("="),r=n===-1?t:t.slice(0,n),s=new URLSearchParams(`${r}=`).keys().next().value;return s!==void 0&&mr(s,e)?`${r}=${hr}`:t}function ji(t,e){if(!(!t||e===!1))return t.split("&").map(n=>wr(n,e)).join("&")}function Ui(t,e){if(!t||e===!1)return;const n=t.indexOf("?");return`${n===-1?"":t.slice(0,n+1)}${(n===-1?t:t.slice(n+1)).split("&").map(r=>r.includes("=")?wr(r,e):r).join("&")}`}function Bi(t,e){const n=t.indexOf("#"),r=n===-1?t:t.slice(0,n),s=n===-1?void 0:t.slice(n+1),o=r.indexOf("?");let i=r;if(o!==-1){const c=ji(r.slice(o+1),e);i=`${r.slice(0,o)}${c?`?${c}`:""}`}const a=s===void 0?void 0:Ui(s,e);return a?`${i}#${a}`:i}function Hi(t){var e;return((e=t??b())==null?void 0:e.getDataCollectionOptions().urlQueryParams)??!0}function nt(t,e){return t===void 0?void 0:Bi(t,Hi(e))}const Wi="thismessage:/";function Gi(t){return"isRelative"in t}function qi(t,e){const n=t.indexOf("://")<=0&&t.indexOf("//")!==0,r=e??(n?Wi:void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;const s=new URL(t,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function qt(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function zi(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=t.includes(";base64,"),o=t.indexOf(",");let i="";if(e&&o!==-1){const a=t.slice(o+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${s?",base64":""}${i?`,${i}`:""}`}return t}function Yi(t){let e=2166136261;for(let n=0;n>>0).toString(36)}function Ki(t){var n;const e=t?ke(t):(n=b())==null?void 0:n.getDsn();return e?`/${Yi(Pt(e))}`:void 0}function Vi(t){const e=(t!=null&&t.startsWith("./")?t.slice(1):t??"").replace(/\/$/,"");return!e||e.startsWith("/")?e:`/${e}`}function Xi(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function Ji(t){return Array.from(new Set(t))}function Qi(t){var r;if((r=t._metadata)!=null&&r.optionsSetByUser)return t;const{integrations:e}=t,n={...t._metadata,optionsSetByUser:Object.keys(t).filter(s=>s!=="_metadata").sort()};return Array.isArray(e)&&(n.integrationsSetByUser=Ji(e.map(s=>s.name))),{...t,_metadata:n,...typeof e=="function"&&{integrations:s=>{const o=new Set(s),i=e(s),a=Array.isArray(i)?i:[i],c=new Set,u=new Set;for(const l of a)c.add(l.name),!o.has(l)&&!l.isDefaultInstance&&u.add(l.name);const f=new Set;for(const l of o)c.has(l.name)||f.add(l.name);return n.integrationsSetByUser=Array.from(u),f.size&&(n.removedDefaultIntegrations=Array.from(f).sort()),a}}}}function Zi(t,e,n=[e],r="npm"){const s=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${e}`,s.packages=n.map(o=>({name:`${r}:@sentry/${o}`,version:Ot})),s.version=Ot)}const ta="sentry-release",ea=100;function G(t,e){const n=b(),r=K();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ea}=n.getOptions();if(o<=0)return;const i={timestamp:gt(),...t},a=s?dt(h?"The `beforeBreadcrumb` callback threw an error, dropping the breadcrumb:":"",()=>B(()=>s(i,e)),()=>null):i;a!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",a,e),r.addBreadcrumb(a,o))}const na="FunctionToString",yn=new WeakMap,ra=()=>({name:na,setupOnce(){const t=Function.prototype.toString,e=Function.prototype.call.bind(t),n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);try{Function.prototype.toString=function(){let r;try{yn.has(b())&&n(this,"__sentry_original__")&&(r=Ie(this))}catch{}return e(r??this)}}catch{}},setup(t){yn.set(t,!0)}}),sa=C(ra),oa=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],ia="EventFilters",aa=C((t={})=>{let e;return{name:ia,setup(n){e=Sn(t,n.getOptions())},processEvent(n,r,s){return e||(e=Sn(t,s.getOptions())),ca(n,e)?null:n}}});function Sn(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:oa],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function ca(t,e){if(t.type){if(t.type==="transaction"&&fa(t,e.ignoreTransactions))return h&&p.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. -Event: ${W(t)}`),!0}else{if(ua(t,e.ignoreErrors))return h&&p.warn(`Event dropped due to being matched by \`ignoreErrors\` option. -Event: ${W(t)}`),!0;if(ha(t))return h&&p.warn(`Event dropped due to not having an error message, error type or stacktrace. -Event: ${W(t)}`),!0;if(la(t,e.denyUrls))return h&&p.warn(`Event dropped due to being matched by \`denyUrls\` option. -Event: ${W(t)}. -Url: ${Ct(t)}`),!0;if(!da(t,e.allowUrls))return h&&p.warn(`Event dropped due to not being matched by \`allowUrls\` option. -Event: ${W(t)}. -Url: ${Ct(t)}`),!0}return!1}function ua(t,e){return e!=null&&e.length?gr(t).some(n=>_t(n,e)):!1}function fa(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?_t(n,e):!1}function la(t,e){if(!(e!=null&&e.length))return!1;const n=Ct(t);return n?_t(n,e):!1}function da(t,e){if(!(e!=null&&e.length))return!0;const n=Ct(t);return n?_t(n,e):!0}function pa(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Ct(t){var e,n,r;try{const s=(r=(n=[...((e=t.exception)==null?void 0:e.values)??[]].reverse().find(o=>{var i,a,c;return((i=o.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=o.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}))==null?void 0:n.stacktrace)==null?void 0:r.frames;return s?pa(s):null}catch{return h&&p.error(`Cannot extract url for event ${W(t)}`),null}}function ha(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function ma(t,e,n,r,s,o){var a;if(!((a=s.exception)!=null&&a.values)||!o||!D(o.originalException))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Tt(t,e,r,o.originalException,n,s.exception.values,i,0))}function Tt(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(D(r[s])){zt(i,a,r);const u=t(e,r[s]),f=c.length;Yt(u,s,f,a),c=Tt(t,e,n,r[s],s,[u,...c],u,f)}return kr(r)&&r.errors.forEach((u,f)=>{if(c.length{const f=r[u];if(c.length{for(const e of t)Nt.delete(e)}}const bn=new Set;function ba(){"console"in _&&Ln.forEach(function(t){bn.has(t)||!(t in _.console)||(bn.add(t),k(_.console,t,function(e){return Rt[t]=e,function(...n){const r=n[0],s=Rt[t],o=Nt.size&&typeof r=="string"&&_t(r,Nt);o||N("console",{args:n,level:t}),(!o||h&&p.isEnabled())&&(s==null||s.apply(_.console,n))}}))})}function va(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const Ia="Dedupe",Ta=()=>{let t;return{name:Ia,processEvent(e){if(e.type)return e;try{if(ka(e,t))return h&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},wa=C(Ta);function ka(t,e){return e?!!(Oa(t,e)||Ra(t,e)):!1}function Oa(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Rr(t,e)||!Or(t,e))}function Ra(t,e){const n=vn(e),r=vn(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Rr(t,e)||!Or(t,e))}function Or(t,e){const n=Me(t),r=Me(e);if(!n||!r)return!n&&!r;if(r.length!==n.length)return!1;for(let s=0;s{const e=new Set(t.levels||Ln);return{name:Ca,setup(n){const r=Sa(({args:s,level:o})=>{b()!==n||!e.has(o)||Da(o,s)});if(n.registerCleanup(r),t.filter){const s=Ea(t.filter);n.registerCleanup(s)}}}});function Da(t,e){const n={category:"console",data:{arguments:e,logger:"console"},level:va(t),message:In(e)};if(t==="assert")if(e[0]===!1){const r=e.slice(1);n.message=r.length>0?`Assertion failed: ${In(r)}`:"Assertion failed",n.data.arguments=r}else return;G(n,{input:e,level:t})}function In(t){return"util"in _&&typeof _.util.format=="function"?_.util.format(...t):us(t," ")}const Aa="ConversationId",xa=()=>({name:Aa,setup(t){t.on("spanStart",e=>{const n=x().getScopeData(),r=K().getScopeData(),s=n.conversationId||r.conversationId;if(s){const{op:o,data:i,description:a}=$t(e);if(!(o!=null&&o.startsWith("gen_ai."))&&!i["ai.operationId"]&&!(a!=null&&a.startsWith("ai.")))return;e.setAttribute(js,s)}})}}),La=C(xa),fe=_;function Pa(){if(!("fetch"in fe))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function le(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function $a(){var n;if(typeof EdgeRuntime=="string")return!0;if(!Pa())return!1;if(le(fe.fetch))return!0;let t=!1;const e=fe.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(t=le(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){h&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Ma(t){const e="fetch",n=q(e,t);return z(e,()=>Fa()),n}function Fa(t){pr()&&!$a()||k(_,"fetch",function(e){return new Proxy(e,{apply(n,r,s){const o=new Error,{method:i,url:a}=ja(s),c={args:s,fetchData:{method:i,url:a},startTimestamp:A()*1e3,virtualError:o,headers:Ua(s)};return N("fetch",{...c}),Reflect.apply(n,_,s).then(async u=>(N("fetch",{...c,endTimestamp:A()*1e3,response:u}),u),u=>{var l,d;N("fetch",{...c,endTimestamp:A()*1e3,error:u}),D(u)&&u.stack===void 0&&(u.stack=o.stack,U(u,"framesToPop",1));const f=((l=b())==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(f!==!1&&D(u)&&u.name==="TypeError"&&(u.message==="Failed to fetch"||u.message==="Load failed"||u.message==="NetworkError when attempting to fetch resource."))try{const m=new URL(c.fetchData.url,(d=_.location)==null?void 0:d.href).host;m&&(f==="always"?u.message=`${u.message} (${m})`:U(u,"__sentry_fetch_url_host__",m))}catch{}throw u})}})})}function wt(t,e){return At(t)&&!!t[e]}function Tn(t){return typeof t=="string"?t:t?wt(t,"url")?t.url:t.toString?t.toString():"":""}function ja(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:Tn(n),method:wt(r,"method")?String(r.method).toUpperCase():Un(n)&&wt(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Tn(e),method:wt(e,"method")?String(e.method).toUpperCase():"GET"}}function Ua(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Un(e))return new Headers(e.headers)}catch{}}function Cr(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const de=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,E=_,Ba=80,H={};try{typeof Node<"u"&&(H.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(H.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,H.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,H.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,H.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(H.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function F(t,e,n){const r=H[e];if(r)try{return r.call(t,n)}catch{}const s=t[e];return typeof s=="function"?s.call(t,n):s}function Nr(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let o=0,i=0;const a=" > ",c=3;let u;const f=Array.isArray(e)?e:e.keyAttrs,l=Array.isArray(e)?void 0:e.maskAttributeFn,d=!Array.isArray(e)&&e.maxStringLength||Ba;for(;n&&o++1&&i+s.length*c+u.length>=d));)s.push(u),i+=u.length,n=F(n,"parentNode");return s.reverse().join(a)}catch{return""}}function Ha(t,e,n){const r=[],s=F(t,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&t instanceof HTMLElement){const i=F(t,"dataset");if(i){if(i.sentryComponent)return n?n("data-sentry-component",i.sentryComponent,t):i.sentryComponent;if(i.sentryElement)return n?n("data-sentry-element",i.sentryElement,t):i.sentryElement}}r.push(s.toLowerCase());const o=e!=null&&e.length?e.filter(i=>F(t,"getAttribute",i)).map(i=>[i,F(t,"getAttribute",i)]):null;if(o!=null&&o.length)o.forEach(([i,a])=>{r.push(`[${i}="${n&&a?n(i,a,t):a}"]`)});else{const i=F(t,"id");i&&r.push(`#${n?n("id",i,t):i}`);const a=F(t,"className");if(a&&$(a)){const c=(n?n("class",a,t):a).split(/\s+/);for(const u of c)r.push(`.${u}`)}}for(const i of["aria-label","type","name","title","alt"]){const a=F(t,"getAttribute",i);a&&r.push(`[${i}="${n?n(i,a,t):a}"]`)}return r.join("")}function Wa(t,e,n){E.document&&E.addEventListener(t,e,n)}function Ga(t,e,n){E.document&&E.removeEventListener(t,e,n)}const qa=t=>{var n;const e=E.requestIdleCallback||E.setTimeout;if(((n=E.document)==null?void 0:n.visibilityState)==="hidden")t();else{let r=!1;const s=()=>{r||(t(),r=!0)};Wa("visibilitychange",s,{once:!0,capture:!0}),e(()=>{s(),Ga("visibilitychange",s,{capture:!0})})}};function za(t,e=5){if(!_.HTMLElement)return null;let n=t;for(let r=0;r{var s,o;const r=(s=E[n])==null?void 0:s.prototype;(o=r==null?void 0:r.hasOwnProperty)!=null&&o.call(r,"addEventListener")&&(k(r,"addEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=f[a]=f[a]||{captureListeners:new WeakSet,bubbleListeners:new WeakSet,listenerCount:0},d=kn(u);if(!l.handler){const y=On(t);l.handler=y,l.capture=d,i.call(this,a,y,l.capture)}const m=l[d?"captureListeners":"bubbleListeners"];m.has(c)||(typeof u=="object"&&(u!=null&&u.once||u!=null&&u.signal)?l.sticky=!0:(m.add(c),l.listenerCount++))}catch{}return i.call(this,a,c,u)}}),k(r,"removeEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__||{},l=f[a];l!=null&&l[kn(u)?"captureListeners":"bubbleListeners"].delete(c)&&(!--l.listenerCount&&!l.sticky&&(i.call(this,a,l.handler,l.capture),l.handler=void 0,delete f[a]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,u)}}))})}function Qa(t){if(t.type!==pe)return!1;try{if(!t.target||t.target._sentryId!==he)return!1}catch{}return!0}function Za(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function On(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=tc(n);if(Za(n.type,r))return;U(n,"_sentryCaptured",!0),r&&!r._sentryId&&U(r,"_sentryId",R());const s=n.type==="keypress"?"input":n.type;Qa(n)||(t({event:n,name:s,global:e}),pe=n.type,he=r?r._sentryId:void 0),clearTimeout(wn),wn=E.setTimeout(()=>{he=void 0,pe=void 0},Va)}}function tc(t){try{return t.target}catch{return null}}let vt;function ec(){return"history"in E&&!!E.history}function Ar(t){const e="history";q(e,t),z(e,nc)}function nc(){if(E.addEventListener("popstate",()=>{const e=E.location.href,n=vt;vt=e,n!==e&&N("history",{from:n,to:e})}),!ec())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=vt,o=rc(String(r));if(vt=o,s===o)return e.apply(this,n);N("history",{from:s,to:o})}return e.apply(this,n)}}k(E.history,"pushState",t),k(E.history,"replaceState",t)}function rc(t){try{return new URL(t,E.location.origin).toString()}catch{return t}}const kt={};function sc(t){const e=kt[t];if(e)return e;let n=E[t];if(le(n))return kt[t]=n.bind(E);const r=E.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o!=null&&o[t]&&(n=o[t]),r.head.removeChild(s)}catch(s){de&&p.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,s)}return n&&(kt[t]=n.bind(E))}function oc(t){kt[t]=void 0}const ut="__sentry_xhr_v3__";function ic(t){const e="xhr";q(e,t),z(e,ac)}function ac(){if(!E.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){let s=new Error;const o=A()*1e3,i=$(r[0])?r[0].toUpperCase():void 0,a=cc(r[1]);if(!i||a===void 0)return e.apply(n,r);n[ut]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[ut];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:A()*1e3,startTimestamp:o,xhr:n,virtualError:s};N("xhr",f),s=void 0,n.removeEventListener("readystatechange",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[d,m]=l,y=f[ut];return y&&$(d)&&$(m)&&(y.request_headers[d.toLowerCase()]=m),u.apply(f,l)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const s=n[ut];if(!s)return e.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:A()*1e3,xhr:n};return N("xhr",o),e.apply(n,r)}})}function cc(t){if($(t))return t;try{return t.toString()}catch{}}function uc(t){if(typeof Element>"u")return!1;try{return t instanceof Element}catch{return!1}}const g=_;let me=0;const Rn=[];function xr(t){if(me>0)return!0;const e=t?Rn.findIndex(n=>fc(n,t)):-1;return e===-1?!1:(Rn.splice(e,1),!0)}function fc(t,e){return t.msg===e.msg&&t.url===e.url&&t.line===e.line&&t.column===e.column}function lc(){me++,setTimeout(()=>{me--})}function rt(t,e={}){function n(s){return typeof s=="function"}if(!n(t))return t;try{if(Object.prototype.hasOwnProperty.call(t,"__sentry_wrapped__")){const s=t.__sentry_wrapped__;return typeof s=="function"?s:t}if(Ie(t))return t}catch{return t}const r=function(...s){_._sentryWrappedDepth=(_._sentryWrappedDepth||0)+1;try{const o=s.map(i=>rt(i,e));return t.apply(this,o)}catch(o){throw lc(),Ls(i=>{i.addEventProcessor(a=>(e.mechanism&&(Qt(a,void 0),J(a,e.mechanism)),a.extra={...a.extra,arguments:s},a)),pi(o)}),o}finally{_._sentryWrappedDepth=(_._sentryWrappedDepth||0)-1}};try{for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}catch{}Bn(r,t),U(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function Cn(t){const e=Ne(),{referrer:n}=g.document||{},{userAgent:r}=g.navigator||{};return{url:e,headers:{...n&&{Referer:nt(n,t)},...r&&{"User-Agent":r}}}}function De(t,e){const n=Ft(t,e),r={type:_c(e),value:gc(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function dc(t,e,n,r){var c;const s=(c=b())==null?void 0:c.getOptions().normalizeDepth,o=vc(e),i={__serialized__:Gn(e,s)};if(o)return{exception:{values:[De(t,o)]},extra:i};const a={exception:{values:[{type:xt(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:Ec(e,{isUnhandledRejection:r})}]},extra:i};if(n){const u=Ft(t,n);u.length&&(a.exception.values[0].stacktrace={frames:u})}return a}function Kt(t,e){return{exception:{values:[De(t,e)]}}}function Ft(t,e){const n=e.stacktrace||e.stack||"",r=hc(e),s=mc(e);try{return t(n,r,s)}catch{}return[]}const pc=/Minified React error #\d+;/i;function hc(t){return t&&pc.test(t.message)?1:0}function mc(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function Lr(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function _c(t){const e=t==null?void 0:t.name;return!e&&Lr(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function gc(t){const e=t==null?void 0:t.message;return Lr(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?En(e.error):En(t):"No error message"}function yc(t,e,n,r){const s=Ae(t,e,(n==null?void 0:n.syntheticException)||void 0,r);return J(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),St(s)}function Sc(t,e,n="info",r,s){const o=_e(t,e,(r==null?void 0:r.syntheticException)||void 0,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),St(o)}function Ae(t,e,n,r,s){var a,c;let o;if(jn(e)&&e.error)return Kt(t,e.error);if(je(e)||Xr(e)){const u=e;if("stack"in e){o=Kt(t,e);const f=(c=(a=o.exception)==null?void 0:a.values)==null?void 0:c[0];if(r&&n&&f&&!f.stacktrace){const l=Ft(t,n);l.length&&(f.stacktrace={frames:l},J(o,{synthetic:!0}))}}else{const f=u.name||(je(u)?"DOMError":"DOMException"),l=u.message?`${f}: ${u.message}`:f;o=_e(t,l,n,r),Qt(o,l)}return o}if(D(e))return Kt(t,e);if(ht(e)||xt(e))return o=dc(t,e,n,s),J(o,{synthetic:!0}),o;const i=String(e);return o=_e(t,i,n,r),Qt(o,i),J(o,{synthetic:!0}),o}function _e(t,e,n,r){const s={};if(r&&n){const o=Ft(t,n);o.length&&(s.exception={values:[{value:e,stacktrace:{frames:o}}]}),J(s,{synthetic:!0})}if(be(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return s.logentry={message:o,params:i},s}return s.message=e,s}function Ec(t,{isUnhandledRejection:e}){const n=Qr(t),r=e?"promise rejection":"exception";return jn(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:xt(t)?`Event \`${bc(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function bc(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function vc(t){return Object.values(t).find(D)}const Et=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Pr(t){const{tunnel:e,dsn:n,transportOptions:r}=t;if(!e)return{tunnel:e,transportOptions:r};if(typeof e=="string")return{tunnel:e,transportOptions:Ic(e)?Nn(r):r};const s=e===!0?{}:e,o=n&&ke(n),i=s.path??(o&&Ki(o));if(!i)return{tunnel:void 0,transportOptions:r};const a=`${Vi(s.basePath)}${i}${s.trailingSlash?"/":""}`;return Et&&p.log(`Tunneling events to "${a}"`),{tunnel:a,transportOptions:Nn(r)}}function Nn(t){return{...t,headers:{"Content-Type":"application/x-sentry-envelope",...t==null?void 0:t.headers}}}function Ic(t){var n,r;const e=qi(t,(n=g.location)==null?void 0:n.href);return e?Gi(e)||e.origin===((r=g.location)==null?void 0:r.origin):!1}var Tc=class extends Li{constructor(t){var a;const e=wc({...t,...Pr(t)}),n=g.SENTRY_SDK_SOURCE||zo();Zi(e,"browser",["browser"],n),super(e),e.routeProvider&&Ya(e.routeProvider,this),this._unhandledSessionStatus="unhandled";const{userInfo:r}=this.getDataCollectionOptions();(a=e._metadata)!=null&&a.sdk&&(e._metadata.sdk.settings={infer_ip:r?"auto":"never",...e._metadata.sdk.settings});const{sendClientReports:s}=this._options,o=()=>{A()},i=[[g.document,"visibilitychange",()=>{o(),g.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}],[g.document,"freeze",o],[g.document,"resume",o],[g,"pagehide",o],[g,"pageshow",o]];i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.addEventListener)==null?void 0:l.call(c,u,f)}),this.on("close",()=>i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.removeEventListener)==null?void 0:l.call(c,u,f)})),r&&this.on("beforeSendSession",Xi)}eventFromException(t,e){return yc(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return Sc(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}};function wc(t){return{sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t,release:t.release??kc()}}function kc(){var t;return typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Oc()??((t=g.SENTRY_RELEASE)==null?void 0:t.id)}function Oc(){var t,e,n;return((n=(e=(t=g.document)==null?void 0:t.querySelector)==null?void 0:e.call(t,`meta[name="${ta}"]`))==null?void 0:n.getAttribute("content"))||void 0}const Rc=40;function Cc(t,e=sc("fetch")){let n=0,r=0;async function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{const c=await e(t.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw oc("fetch"),c}finally{n-=i,r--}}return wi(t,s,Ce(t.bufferSize||Rc))}const Nc=30,Dc=50;function ge(t,e,n,r){const s={filename:t,function:e===""?Q:e,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const Ac=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,xc=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?![^(]*\) )(?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Lc=/\((\S*)(?::(\d+))(?::(\d+))\)/,Pc=/at (.+?) ?\(data:(.+?),/,$c=t=>{var s;const e=t.match(Pc);if(e)return{filename:``,function:e[1]};const n=Ac.exec(t);if(n){const[,o,i,a]=n;return ge(o,Q,+i,+a)}const r=xc.exec(t);if(r){if(((s=r[2])==null?void 0:s.indexOf("eval"))===0){const a=Lc.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=$r(r[1]||Q,r[2]);return ge(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},Mc=[Nc,$c],Fc=/^\s*(.*?)(?:\(([^()]*)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jc=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Uc=t=>{const e=Fc.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=jc.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let n=e[3],r=e[1]||Q;return[r,n]=$r(r,n),ge(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Bc=[Dc,Uc],Hc=[Mc,Bc],Wc=Mn(...Hc),$r=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Q,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},It=1024,Gc="Breadcrumbs",qc=(t={})=>{const e={dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:Gc,setup(n){e.dom&&Xa(Kc(n,e.dom)),e.xhr&&ic(Vc(n)),e.fetch&&Ma(Xc(n)),e.history&&Ar(Jc(n)),e.sentry&&n.on("beforeSendEvent",Yc(n))}}},zc=C(qc);function Yc(t){return function(n){b()===t&&G({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:W(n)},{event:n})}}function Kc(t,e){return function(r){if(b()!==t)return;let s,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>It&&(Et&&p.warn(`\`dom.maxStringLength\` cannot exceed ${It}, but a value of ${a} was configured. Sentry will use ${It} instead.`),a=It),typeof i=="string"&&(i=[i]);try{const u=r.event,f=Qc(u)?u.target:u;s=Nr(f,{keyAttrs:i,maxStringLength:a}),o=za(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),G(c,{event:r.event,name:r.name,global:r.global})}}function Vc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[ut];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:ye(a,t),status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:f,type:"http",level:Cr(c)};t.emit("beforeOutgoingRequestBreadcrumb",d,l),G(d,l)}}function Xc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},i={category:"fetch",data:{...n.fetchData,url:ye(n.fetchData.url,t)},level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o),G(i,o)}else{const o=n.response,i={...n.fetchData,url:ye(n.fetchData.url,t),status_code:o==null?void 0:o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Cr(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),G(c,a)}}}function Jc(t){return function(n){if(b()!==t)return;let r=n.from,s=n.to;const o=qt(g.location.href);let i=r?qt(r):void 0;const a=qt(s);i!=null&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),G({category:"navigation",data:{from:nt(r),to:nt(s)}})}}function ye(t,e){var r;const n=t===""?(r=g.location)==null?void 0:r.href:void 0;return nt(n?n.split("#")[0]??"":t,e)}function Qc(t){return!!t&&!!t.target}const Zc="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),tu="BrowserApiErrors",eu=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:tu,setupOnce(){e.setTimeout&&k(g,"setTimeout",Dn),e.setInterval&&k(g,"setInterval",Dn),e.requestAnimationFrame&&k(g,"requestAnimationFrame",ru),e.XMLHttpRequest&&"XMLHttpRequest"in g&&k(XMLHttpRequest.prototype,"send",su);const n=e.eventTarget;n&&(Array.isArray(n)?n:Zc).forEach(r=>ou(r,e))}}},nu=C(eu);function Dn(t){return function(...e){const n=e[0];return e[0]=rt(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${j(t)}`}}),t.apply(this,e)}}function ru(t){return function(e){return t.apply(this,[rt(e,{mechanism:{data:{handler:j(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function su(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&k(n,r,function(s){const o={mechanism:{data:{handler:j(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},i=Ie(s);return i&&(o.mechanism.data.handler=j(i)),rt(s,o)})}),t.apply(this,e)}}function ou(t,e){var r,s;const n=(r=g[t])==null?void 0:r.prototype;(s=n==null?void 0:n.hasOwnProperty)!=null&&s.call(n,"addEventListener")&&(k(n,"addEventListener",function(o){return function(i,a,c){try{iu(a)&&(a.handleEvent=rt(a.handleEvent,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&au(this,i,a),o.apply(this,[i,rt(a,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),c])}}),k(n,"removeEventListener",function(o){return function(i,a,c){try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){const u=a.__sentry_wrapped__;u&&o.call(this,i,u,c)}}catch{}return o.call(this,i,a,c)}}))}function iu(t){return typeof t.handleEvent=="function"}function au(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const cu=C((t={})=>{const e=t.lifecycle??"page";return{name:"BrowserSession",setupOnce(){if(typeof g.document>"u"){Et&&p.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ln({ignoreDuration:!0});let n=!1;qa(()=>{n||(Gt(),n=!0)});const r=K();let s=r.getUser();r.addScopeListener(o=>{const i=o.getUser();((s==null?void 0:s.id)!==(i==null?void 0:i.id)||(s==null?void 0:s.ip_address)!==(i==null?void 0:i.ip_address))&&(s=i,n&&Gt())}),e==="route"&&Ar(({from:o,to:i})=>{o!==i&&(ln({ignoreDuration:!0}),Gt(),n=!0)})}}}),uu="CultureContext",fu=()=>({name:uu,preprocessEvent(t){var n;const e=An();e&&(t.contexts={...t.contexts,culture:{...e,...(n=t.contexts)==null?void 0:n.culture}})},processSegmentSpan(t){const e=An();e&&fr(t,{[Ms]:e.locale,[Fs]:e.timezone,[$s]:e.calendar})}}),lu=C(fu);function An(){try{const t=g.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const du="GlobalHandlers",pu=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:du,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(mu(n),xn("onerror")),e.onunhandledrejection&&(_u(n),xn("onunhandledrejection"))}}},hu=C(pu);function mu(t){zr(e=>{const{stackParser:n,attachStacktrace:r}=Mr();if(b()!==t||xr(e))return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=Su(Ae(n,c||s,void 0,r,!1),o,i,a);u.level="error",yr(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function _u(t){Kr(e=>{const{stackParser:n,attachStacktrace:r}=Mr();if(b()!==t||xr())return;const s=gu(e),o=it(s)?yu(s):Ae(n,s,void 0,r,!0);o.level="error",yr(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function gu(t){if(it(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function yu(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Su(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:Eu(e)??Ne(),function:Q,in_app:!0}),t}function xn(t){Et&&p.log(`Global Handler attached: ${t}`)}function Mr(){var t;return((t=b())==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function Eu(t){if(!(!$(t)||t.length===0))return t.startsWith("data:")?`<${zi(t,!1)}>`:t}const bu=C(()=>({name:"HttpContext",preprocessEvent(t,e,n){var c;if(!g.navigator&&!g.location&&!g.document)return;const{url:r,headers:s}=Cn(n),o=n.getDataCollectionOptions().httpHeaders.request,i=Object.entries(((c=t.request)==null?void 0:c.headers)??{}).filter(([u])=>!(u in s)),a={...se(s,o),...Object.fromEntries(i)};t.request={url:nt(r,n),...t.request,...Object.keys(a).length>0?{headers:a}:{headers:void 0}}},processSpan(t,e){var a;if(!g.navigator&&!g.location&&!g.document)return;const n=Cn(e),r=se(n.headers,e.getDataCollectionOptions().httpHeaders.request),s=r.Referer,{hostname:o,protocol:i}=g.location||{};fr(t,{[qs]:r["User-Agent"],[Bs]:i==="file:"||o==="localhost"||o==="127.0.0.1"||o==="[::1]"||!!(o!=null&&o.endsWith(".localhost")),...t.is_segment&&{[Gs]:((a=t.attributes)==null?void 0:a[tr])!=="http.client"?nt(n.url):void 0,[`${Us}.referer`]:s?[s]:void 0}})}})),vu="cause",Iu=5,Tu="LinkedErrors",wu=(t={})=>{const e=t.limit||Iu,n=t.key||vu;return{name:Tu,preprocessEvent(r,s,o){const i=o.getOptions();ma(De,i.stackParser,n,e,r,s)}}},ku=C(wu),Ou=/^HTML(\w*)Element$/;function Ru(t){if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(uc(t)){const e=Cu(t);if(Ou.test(e))return`[HTMLElement: ${Nr(t)}]`}}function Cu(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function Nu(){return Du()?(Et&&B(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function Du(){var n,r;if(typeof g.window>"u")return!1;const t=g;if(t.nw||!((r=(n=t.chrome||t.browser)==null?void 0:n.runtime)!=null&&r.id))return!1;const e=Ne();return!(g===g.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(e))}function Au(t){return[aa(),sa(),La(),nu(),zc(),Na(),hu(),ku(),wa(),bu(),lu(),cu()]}function xu(t={}){const e=Qi(t),n=!e.skipBrowserExtensionCheck&&Nu();let r=e.defaultIntegrations==null?Au():e.defaultIntegrations;const s=Io({integrations:e.integrations,defaultIntegrations:r}),o={...e,...Pr(e),enabled:n?!1:e.enabled,stackParser:Gr(e.stackParser||Wc),integrations:s,transport:e.transport||Cc};return rs(Ru),$i(Tc,o)}xu({dsn:"https://1aeff3f1acac49409216ced9a2bf3b33@glitchtip.figli.io/3",environment:"production",release:"519433fdf1773a2878bb85aa4b6fbd25ff965159",sendDefaultPii:!1}); +`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(P(a))}s(c)}}return typeof r=="string"?r:Go(r)}function Go(t){const e=t.reduce((s,o)=>s+o.length,0),n=new Uint8Array(e);let r=0;for(const s of t)n.set(s,r),r+=s.length;return n}function qo(t){const e=typeof t.data=="string"?ne(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const pr={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",metric:"trace_metric"};function zo(t){return t in pr}function on(t){return zo(t)?pr[t]:t}function hr(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Yo(t,e,n,r){var o;const s=(o=t.sdkProcessingMetadata)==null?void 0:o.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(K()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:Pt(r)},...s&&{trace:s}}}function re(t){return t==="replay_event"?"replay":t||"error"}function Ko(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Vo(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function Xo(){return!Ko()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function mr(){return typeof window<"u"&&(!Xo()||Jo())}function Jo(){var t;return((t=g.process)==null?void 0:t.type)==="renderer"}function Qo(t,e){const n=e.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:t.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,ingest_settings:mr()?{infer_ip:n,infer_user_agent:n}:void 0,items:t}]}const Zo=new WeakMap;function ti(t){return at(t)?void 0:t}function ei(t,e,n){var i;const r=ti(e.originalException),s=r&&Zo.get(r);if(!s)return;const o=(i=t.contexts)==null?void 0:i.trace;((o==null?void 0:o.trace_id)??(n&&Zn(n).trace_id))===s.trace_id&&(t.contexts={...t.contexts,trace:{...o,...s}})}const an="ui.interaction.click";function ni(t,e){var r,s,o,i;if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...((r=t.sdk)==null?void 0:r.integrations)||[],...e.integrations||[]],packages:[...((s=t.sdk)==null?void 0:s.packages)||[],...e.packages||[]],settings:(o=t.sdk)!=null&&o.settings||e.settings?{...(i=t.sdk)==null?void 0:i.settings,...e.settings}:void 0},t}function ri(t,e,n,r){const s=hr(n),o={sent_at:new Date(K()).toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:Pt(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Mt(o,[i])}function si(t,e,n,r){const s=hr(n),o=t.type&&t.type!=="replay_event"?t.type:"event";ni(t,n==null?void 0:n.sdk);const i=Yo(t,s,r,e);return delete t.sdkProcessingMetadata,Mt(i,[[{type:o},t]])}const gr="[Filtered]",oi=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"];function ii(t,e){return e.some(n=>t.includes(n))}function _r(t,e,n){if(e===!1)return!0;const r=t.toLowerCase();if(ii(r,oi))return!0;if(e===!0)return!1;const s=("deny"in e?e.deny:e.allow).some(o=>r.includes(o.toLowerCase()));return"deny"in e?s:!s}function se(t,e,n){if(e===!1)return{};const r={};for(const[s,o]of Object.entries(t))r[s]=_r(s,e)?gr:o;return r}const Wt=0,cn=1,un=2;function Et(t){return new yr(e=>{e(t)})}function Oe(t){return new yr((e,n)=>{n(t)})}var yr=class oe{constructor(e){this._state=Wt,this._handlers=[],this._runExecutor(e)}then(e,n){return new oe((r,s)=>{this._handlers.push([!1,o=>{if(!e)r(o);else try{r(e(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new oe((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,e&&e()},i=>{o=!0,s=i,e&&e()}).then(()=>{if(o){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Wt)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===cn&&n[1](this._value),this._state===un&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(o,i)=>{if(this._state===Wt){if(gt(i)){i.then(r,s);return}this._state=o,this._value=i,this._executeHandlers()}},r=o=>{n(cn,o)},s=o=>{n(un,o)};try{e(r,s)}catch(o){s(o)}}};function ai(t,e,n,r=0,s){try{const o=ie(e,n,t,r,s);return gt(o)?o:Et(o)}catch(o){return Oe(o)}}function ie(t,e,n,r,s){const o=n[r];if(!t||!o)return t;const i=`Event processor "${o.id||"?"}"`;let a=!1;const c=pt(h?`${i} threw an error, dropping event:`:"",()=>o({...t},e),()=>(a=!0,null));return h&&c===null&&p.log(`${i} dropped event`),gt(c)?c.then(u=>u?ie(u,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)):c?ie(c,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)}let L,fn,ln,M;function ci(t){const e=g._sentryDebugIds,n=g._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(M&&r.length===fn&&s.length===ln)return M;fn=r.length,ln=s.length,M={},L||(L={});const o=(i,a)=>{var c;for(const u of i){const f=a[u],l=L==null?void 0:L[u];if(l&&M&&f)M[l[0]]=f,L&&(L[u]=[l[0],f]);else if(f){const d=t(u);for(let m=d.length-1;m>=0;m--){const y=(c=d[m])==null?void 0:c.filename;if(y&&M&&L){M[y]=f,L[u]=[y,f];break}}}}};return e&&o(r,e),n&&o(s,n),M}function ae(t){var e;return((e=t.data)==null?void 0:e.__sentry__)===!0}function Sr(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function ui(t,e,n,r,s,o){var w;const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||N(),timestamp:e.timestamp||yt()},u=n.integrations||t.integrations.map(I=>I.name);fi(c,t),pi(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&li(c,t.stackParser);const f=mi(r,n.captureContext);n.mechanism&&ms(c,n.mechanism);const l=s?s.getEventProcessors():[],d=ur(o,f),m=[...n.attachments||[],...d.attachments];m.length&&(n.attachments=m),Lo(c,d);const y=vo(f);y&&Fo(c,y),ei(c,n,f);const R=[...l,...d.eventProcessors],S=e.type==="transaction",v=((w=e.spans)==null?void 0:w.length)||0;return(ae(n)?Et(c):ai(R,c,n,0,I=>{s&&(s.recordDroppedEvent(I,re(e.type)),S&&s.recordDroppedEvent(I,"span",1+v))})).then(I=>{var xe;if(!I)return null;if(S&&s){const Le=v-(((xe=I.spans)==null?void 0:xe.length)||0);Le>0&&s.recordDroppedEvent("event_processor","span",Le)}return di(I),typeof i=="number"&&i>0?hi(I,i,a):I})}function fi(t,e){var a,c;const{environment:n,release:r,dist:s,maxValueLength:o}=e;t.environment=t.environment||n||"production",!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const i=t.request;i!=null&&i.url&&o&&(i.url=Jt(i.url,o)),o&&((c=(a=t.exception)==null?void 0:a.values)==null||c.forEach(u=>{u.value&&(u.value=Jt(u.value,o))}))}function li(t,e){var r,s;const n=ci(e);(s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function di(t){var r,s;const e={};if((s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.debug_id&&(c.abs_path?e[c.abs_path]=c.debug_id:c.filename&&(e[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([o,i])=>{n.push({type:"sourcemap",code_file:o,debug_id:i})})}function pi(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function hi(t,e,n){var s,o;if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))},...t.user&&{user:P(t.user,e,n)},...t.contexts&&{contexts:P(t.contexts,e,n)},...t.extra&&{extra:P(t.extra,e,n)}};return(s=t.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=P(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))),(o=t.contexts)!=null&&o.flags&&r.contexts&&(r.contexts.flags=P(t.contexts.flags,3,n)),r}function mi(t,e){if(!e)return t;const n=t?t.clone():new et;return n.update(e),n}function gi(t,e){return x().captureException(t,void 0)}function Er(t,e){return x().captureEvent(t,e)}function dn(t){var i,a;const e=V(),{user:n}=ur(e,x());let r=(i=g.navigator)==null?void 0:i.userAgent;if(r){const c=((a=b())==null?void 0:a.getDataCollectionOptions().httpHeaders.request)??!0;r=se({"User-Agent":r},c)["User-Agent"]}const s=Es({user:n,userAgent:r,...t}),o=e.getSession();return(o==null?void 0:o.status)==="ok"&&tt(o,{status:"exited"}),br(),e.setSession(s),s}function br(){const t=V(),e=x().getSession()||t.getSession();e&&bs(e),vr(),t.setSession()}function vr(){const t=V(),e=b(),n=t.getSession();n&&e&&e.captureSession(n)}function Gt(t=!1){if(t){br();return}vr()}function _i(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function yi(t){return`${_i(t)}${t.projectId}/envelope/`}function Si(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function Ei(t,e,n){return e||`${yi(t)}?${Si(t,n)}`}function bi(t,e){var s,o,i;if(t.type!=="transaction"||!((s=t.spans)!=null&&s.length)||!((o=t.sdkProcessingMetadata)!=null&&o.hasGenAiSpans)||Bo(e))return;const n=[],r=[];for(const a of t.spans)(i=a.op)!=null&&i.startsWith("gen_ai.")?n.push(Uo(a)):r.push(a);if(n.length!==0)return t.spans=r,Qo(n,e)}const Re=Symbol.for("SentryBufferFullError");function Ne(t=100){const e=new Set;function n(){return e.sizer(a),()=>r(a)),a}function o(i){if(!e.size)return Et(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>Ho(setTimeout(()=>u(!1),i)))];return Promise.race(c)}return{get $(){return Array.from(e)},add:s,drain:o}}const vi=6e4;function Ii(t,e=K()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?vi:r-e}function Ti(t,e){return t[e]||t.all||0}function wi(t,e,n=K()){return Ti(t,e)>n}function ki(t,e,n=K()){const r={...t};return Oi(e,n,(s,o)=>{r[s]=Math.max(r[s]||0,o)}),r}function Oi({statusCode:t,headers:e},n,r){const s=e==null?void 0:e["x-sentry-rate-limits"],o=e==null?void 0:e["retry-after"];if(s)for(const i of s.trim().split(",")){const[a,c,,,u]=i.split(":",5),f=parseInt(a,10),l=(isNaN(f)?60:f)*1e3;if(!c)r("all",n+l);else for(const d of c.split(";"))d==="metric_bucket"?(!u||u.split(";").includes("custom"))&&r(d,n+l):r(d,n+l)}else o?r("all",n+Ii(o,n)):t===429&&r("all",n+6e4)}function Ri(t,e,n=Ne(t.bufferSize||64)){let r={};const s=a=>n.drain(a);function o(a,[c,u],f){var d;const l=on(f);f==="transaction"&&t.recordDroppedEvent(a,"span",(((d=u.spans)==null?void 0:d.length)??0)+1),t.recordDroppedEvent(a,l,typeof c.item_count=="number"?c.item_count:1)}function i(a){const c=[];if(ee(a,(d,m)=>{wi(r,on(m))?o("ratelimit_backoff",d,m):c.push(d)}),c.length===0)return Promise.resolve({});const u=Mt(a[0],c),f=d=>{if(Wo(u,["client_report"])){h&&p.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}ee(u,(m,y)=>{o(d,m,y)})},l=()=>e({body:dr(u)}).then(d=>d.statusCode===413?(h&&p.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),f("send_error"),d):(h&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&p.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=ki(r,d),d),d=>{throw f("network_error"),h&&p.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===Re)return h&&p.error("Skipped sending event because buffer is full."),f("queue_overflow"),Promise.resolve({});throw d})}return{send:i,flush:s}}function Ni(t,e,n){const r=[{type:"client_report"},{timestamp:yt(),discarded_events:t}];return Mt(e?{dsn:e}:{},[r])}function Ci(t){var u;const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a,links:c}=((u=t.contexts)==null?void 0:u.trace)??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s??"ok",timestamp:t.timestamp,trace_id:e??"",origin:o,links:c,profile_id:i==null?void 0:i[nr],exclusive_time:i==null?void 0:i[tr],measurements:t.measurements,is_segment:!0}}function Di(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,links:t.links,data:{...t.data,...t.profile_id&&{[nr]:t.profile_id},...t.exclusive_time&&{[tr]:t.exclusive_time}}}},measurements:t.measurements}}function Ai(t){var e;t.traceLifecycle!=="stream"||!(t.beforeSendTransaction||(e=t.ignoreTransactions)!=null&&e.length)||H(()=>{console.warn("[Sentry] `beforeSendTransaction` and `ignoreTransactions` are ignored with `traceLifecycle: 'stream'` (enabled by default). Use `beforeSendSpan` and `ignoreSpans` instead, or set `traceLifecycle: 'static'`.")})}const T={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},mcp:{inputs:!0,outputs:!0},databaseQueryData:!0,queues:!0,stackFrameVariables:!0,frameContextLines:5};function xi(t){return typeof t=="boolean"||"allow"in t||"deny"in t}function Li(t){return t===void 0?{...T.httpHeaders}:xi(t)?{request:t,response:t}:{request:t.request??T.httpHeaders.request,response:t.response??T.httpHeaders.response}}function Pi(t){var n,r,s,o,i,a;const e=t.dataCollection??{};return{userInfo:e.userInfo??T.userInfo,cookies:e.cookies??T.cookies,httpHeaders:Li(e.httpHeaders),httpBodies:e.httpBodies??T.httpBodies,urlQueryParams:e.urlQueryParams??T.urlQueryParams,graphQL:{document:((n=e.graphQL)==null?void 0:n.document)??T.graphQL.document,variables:((r=e.graphQL)==null?void 0:r.variables)??T.graphQL.variables},genAI:{inputs:((s=e.genAI)==null?void 0:s.inputs)??T.genAI.inputs,outputs:((o=e.genAI)==null?void 0:o.outputs)??T.genAI.outputs},mcp:{inputs:((i=e.mcp)==null?void 0:i.inputs)??T.mcp.inputs,outputs:((a=e.mcp)==null?void 0:a.outputs)??T.mcp.outputs},databaseQueryData:e.databaseQueryData??T.databaseQueryData,queues:e.queues??T.queues,stackFrameVariables:e.stackFrameVariables??T.stackFrameVariables,frameContextLines:e.frameContextLines??T.frameContextLines}}const pn="Not capturing exception because it's already been captured.",hn="Discarded session because of missing or non-string release",Ir=Symbol.for("SentryInternalError"),Tr=Symbol.for("SentryDoNotSendEventError"),wr=Symbol.for("SentryClosedClient");function $i(t){return wr in t}function mn(t){return{message:t,[Ir]:!0}}function ce(t){return{message:t,[Tr]:!0}}function gn(t){return ce(`Discarding event because it's not included in the random sample (sampling rate = ${t})`)}function _n(t){return At(t)&&Ir in t}function yn(t){return At(t)&&Tr in t}var Mi=class{constructor(t){var r;this._options={attachStacktrace:!0,...t,traceLifecycle:t.traceLifecycle==="static"?"static":"stream"},this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Ne(((r=t.transportOptions)==null?void 0:r.bufferSize)??64),this._dataCollection=Pi(t),this._unhandledSessionStatus="crashed",this._attachStacktraceIsDefault=t.attachStacktrace===void 0,t.dsn?this._dsn=ke(t.dsn):h&&p.warn("No DSN provided, client will not send events.");const{beforeSendSpan:e,traceLifecycle:n}=this._options;if(h&&e&&fr(e)!==(n==="static")&&H(()=>{console.warn(`Ignoring \`beforeSendSpan\`: ${n==="static"?"wrap it with":"remove"} \`Sentry.withStaticSpan\` to use it with \`traceLifecycle: "${n}"\`.`)}),this._dsn){const s=Ei(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}}captureException(t,e,n){const r=N();if(Be(t))return h&&p.log(pn),r;const s={event_id:r,...e};return this._process(()=>this.eventFromException(t,s).then(o=>this._captureEvent(o,s,n)).then(o=>o),"error"),s.event_id}captureMessage(t,e,n,r){const s={event_id:N(),...n},o=be(t)?t:String(t),i=at(t),a=i?this.eventFromMessage(o,e,s).then(c=>(c.exception&&this._attachStacktraceIsDefault&&(c.sdkProcessingMetadata={...c.sdkProcessingMetadata,hasDefaultSyntheticStacktrace:!0}),c)):this.eventFromException(t,s);return this._process(()=>a.then(c=>this._captureEvent(c,s,r)),i?"unknown":"error"),s.event_id}captureEvent(t,e,n){const r=N();if(e!=null&&e.originalException&&Be(e.originalException))return h&&p.log(pn),r;const s={event_id:r,...e},o=t.sdkProcessingMetadata||{},i=o.capturedSpanScope,a=o.capturedSpanIsolationScope,c=re(t.type);return this._process(()=>this._captureEvent(t,s,i||n,a),c),s.event_id}captureSession(t){this.sendSession(t),tt(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const e=this._transport;if(this.emit("flush"),!e)return!0;const n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){Object.defineProperty(this,wr,{value:!0});const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&(this._setupIntegrations(),Ai(this._options))}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const e=this._integrations[t.name];!e&&t.beforeSetup&&t.beforeSetup(this),ir(this,t,this._integrations),e||tn(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);const n=bi(t,this);let r=si(t,this._dsn,this._options._metadata,this._options.tunnel);if(!ae(e))for(const s of e.attachments||[])r=sn(r,qo(s));n&&(r=sn(r,n)),this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:e,environment:n=No}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!e){h&&p.warn(hn);return}s.release=s.release||e,s.environment=s.environment||n,t.attrs=s}else{if(!t.release&&!e){h&&p.warn(hn);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=ri(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){const r=`${t}:${e}`;h&&p.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){const n=this._hooks[t]=this._hooks[t]||new Set,r=(...s)=>e(...s);return n.add(r),()=>{n.delete(r)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(r=>r(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{const e=await this._transport.send(t);return this.emit("afterEnvelope",t),e}catch(e){return h&&p.error("Error while sending envelope:",e),{}}return h&&p.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Ro(this,t),tn(this,t)}_updateSessionFromEvent(t,e){var i,a;let n=e.level==="fatal",r=!1;const s=(i=e.exception)==null?void 0:i.values;if(s){r=!0,n=!1;for(const c of s)if(((a=c.mechanism)==null?void 0:a.handled)===!1){n=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&n)&&(tt(t,{...n&&{status:this._unhandledSessionStatus},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||esetTimeout(n,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,e,n,r){const s=this.getOptions(),o=this.getIntegrationNames();return!e.integrations&&o.length&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),ui(s,t,e,n,this,r).then(i=>{var a;return i===null||(this.emit("postprocessEvent",i,e),i.contexts={trace:{...(a=i.contexts)==null?void 0:a.trace,...Zn(n)},...i.contexts},i.sdkProcessingMetadata={dynamicSamplingContext:cr(this,n),...i.sdkProcessingMetadata}),i})}_captureEvent(t,e={},n=x(),r=V()){return h&&ue(t)&&p.log(`Captured error event \`${Sr(t)[0]||""}\``),this._processEvent(t,e,n,r).then(s=>s.event_id,s=>{h&&(yn(s)?p.log(s.message):_n(s)?p.warn(s.message):p.warn(s))})}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=kr(t),a=ue(t),c=`before send for type \`${t.type||"error"}\``;let u="before_send",f=0;const l=typeof o>"u"?void 0:co(o),d=a&&typeof l=="number"&&Te()>l,m=re(t.type);let y=0;const R=n.getSession()||r.getSession();return d&&(R==null?void 0:R.status)!=="ok"?(this.recordDroppedEvent("sample_rate","error"),Oe(gn(o))):this._prepareEvent(t,e,n,r).then(S=>{var v;if(S===null)throw ce("An event processor returned `null`, will not send event.");return y=((v=S.spans)==null?void 0:v.length)||0,ae(e)?S:Fi(s,S,e,w=>{u=w},w=>{f=w})}).then(S=>{var w;if(f&&this.recordDroppedEvent("ignored","span",f),!mt(S)||S===null)throw this.recordDroppedEvent(u,m),i&&this.recordDroppedEvent(u,"span",1+y-f),S!==null?mn(`${c} must return \`null\` or a valid event.`):ce(`${u==="ignored"?"Transaction matched `ignoreSpans`":`${c} ${u==="callback_error"?"threw an error":"returned `null`"}`}, will not send event.`);if(a&&R&&this._updateSessionFromEvent(R,S),d)throw this.recordDroppedEvent("sample_rate","error"),gn(o);if(i){const I=y-f-(((w=S.spans)==null?void 0:w.length)||0);I>0&&this.recordDroppedEvent("before_send","span",I)}const v=S.transaction_info;if(i&&v&&S.transaction!==t.transaction){const I="custom";S.transaction_info={...v,source:I}}return this.sendEvent(S,e),S}).then(null,S=>{throw yn(S)||_n(S)?S:(this.captureException(S,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:S}),mn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${S}`))})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n===Re&&this.recordDroppedEvent("queue_overflow",e),n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([e,n])=>{const[r,s]=e.split(":");return{reason:r,category:s,quantity:n}})}_flushOutcomes(){h&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&p.log("No outcomes to send");return}if(!this._dsn){h&&p.log("No dsn provided, will not send outcomes");return}h&&p.log("Sending outcomes:",t);const e=Ni(t,this._options.tunnel&&Pt(this._dsn));this.sendEnvelope(e)}};function Fi(t,e,n,r,s){const{beforeSend:o,ignoreSpans:i,beforeSendTransaction:a}=t,c=fr(t.beforeSendSpan)&&t.beforeSendSpan;let u=e;if(ue(u)&&o){const f=u;return pt(h?"The `beforeSend` callback threw an error, dropping the event:":"",()=>o(f,n),()=>(r("callback_error"),null))}if(kr(u)){if(c||i){const f=Ci(u);if(i!=null&&i.length&&Qe({description:f.description,op:f.op,attributes:f.data},i))return r("ignored"),null;if(c){const l=rn(f,c);u=St(e,Di(l))}if(u.spans){const l=[],d=u.spans;for(const m of d){if(i!=null&&i.length&&Qe({description:m.description,op:m.op,attributes:m.data},i)){To(d,m);continue}c?l.push(rn(m,c)):l.push(m)}s(d.length-l.length),u.spans=l}}if(a)return pt(h?"The `beforeSendTransaction` callback threw an error, dropping the event:":"",()=>a(u,n),()=>(r("callback_error"),null))}return u}function ue(t){return t.type===void 0}function kr(t){return t.type==="transaction"}function ji(t,e){e.debug===!0&&(h?p.enable():H(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Ui(),x().update(e.initialScope);const n=new t(e);return Bi(n),n.init(),n}function Ui(){const t=b();t&&!$i(t)&&H(()=>{console.warn("[Sentry] `Sentry.init()` was called more than once. The new client replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` only once, or call `await Sentry.close()` before you call it again.")})}function Bi(t){x().setClient(t)}function Or(t,e){const n=t.indexOf("="),r=n===-1?t:t.slice(0,n),s=new URLSearchParams(`${r}=`).keys().next().value;return s!==void 0&&_r(s,e)?`${r}=${gr}`:t}function Hi(t,e){if(!(!t||e===!1))return t.split("&").map(n=>Or(n,e)).join("&")}function Wi(t,e){if(!t||e===!1)return;const n=t.indexOf("?");return`${n===-1?"":t.slice(0,n+1)}${(n===-1?t:t.slice(n+1)).split("&").map(r=>r.includes("=")?Or(r,e):r).join("&")}`}function Gi(t,e){const n=t.indexOf("#"),r=n===-1?t:t.slice(0,n),s=n===-1?void 0:t.slice(n+1),o=r.indexOf("?");let i=r;if(o!==-1){const c=Hi(r.slice(o+1),e);i=`${r.slice(0,o)}${c?`?${c}`:""}`}const a=s===void 0?void 0:Wi(s,e);return a?`${i}#${a}`:i}function qi(t){var e;return((e=t??b())==null?void 0:e.getDataCollectionOptions().urlQueryParams)??!0}function rt(t,e){return t===void 0?void 0:Gi(t,qi(e))}const zi="thismessage:/";function Yi(t){return"isRelative"in t}function Ki(t,e){const n=t.indexOf("://")<=0&&t.indexOf("//")!==0,r=e??(n?zi:void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;const s=new URL(t,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function qt(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function Vi(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=t.includes(";base64,"),o=t.indexOf(",");let i="";if(e&&o!==-1){const a=t.slice(o+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${s?",base64":""}${i?`,${i}`:""}`}return t}function Xi(t){let e=2166136261;for(let n=0;n>>0).toString(36)}function Ji(t){var n;const e=t?ke(t):(n=b())==null?void 0:n.getDsn();return e?`/${Xi(Pt(e))}`:void 0}function Qi(t){const e=(t!=null&&t.startsWith("./")?t.slice(1):t??"").replace(/\/$/,"");return!e||e.startsWith("/")?e:`/${e}`}function Zi(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function ta(t){return Array.from(new Set(t))}function ea(t){var r;if((r=t._metadata)!=null&&r.optionsSetByUser)return t;const{integrations:e}=t,n={...t._metadata,optionsSetByUser:Object.keys(t).filter(s=>s!=="_metadata").sort()};return Array.isArray(e)&&(n.integrationsSetByUser=ta(e.map(s=>s.name))),{...t,_metadata:n,...typeof e=="function"&&{integrations:s=>{const o=new Set(s),i=e(s),a=Array.isArray(i)?i:[i],c=new Set,u=new Set;for(const l of a)c.add(l.name),!o.has(l)&&!l.isDefaultInstance&&u.add(l.name);const f=new Set;for(const l of o)c.has(l.name)||f.add(l.name);return n.integrationsSetByUser=Array.from(u),f.size&&(n.removedDefaultIntegrations=Array.from(f).sort()),a}}}}function na(t,e,n=[e],r="npm"){const s=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${e}`,s.packages=n.map(o=>({name:`${r}:@sentry/${o}`,version:Ot})),s.version=Ot)}const ra="sentry-release",sa=100;function q(t,e){const n=b(),r=V();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=sa}=n.getOptions();if(o<=0)return;const i={timestamp:yt(),...t},a=s?pt(h?"The `beforeBreadcrumb` callback threw an error, dropping the breadcrumb:":"",()=>H(()=>s(i,e)),()=>null):i;a!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",a,e),r.addBreadcrumb(a,o))}const oa="FunctionToString",Sn=new WeakMap,ia=()=>({name:oa,setupOnce(){const t=Function.prototype.toString,e=Function.prototype.call.bind(t),n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);try{Function.prototype.toString=function(){let r;try{Sn.has(b())&&n(this,"__sentry_original__")&&(r=Ie(this))}catch{}return e(r??this)}}catch{}},setup(t){Sn.set(t,!0)}}),aa=O(ia),ca=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],ua="EventFilters",fa=O((t={})=>{let e;return{name:ua,setup(n){e=En(t,n.getOptions())},processEvent(n,r,s){return e||(e=En(t,s.getOptions())),la(n,e)?null:n}}});function En(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:ca],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function la(t,e){if(t.type){if(t.type==="transaction"&&pa(t,e.ignoreTransactions))return h&&p.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${G(t)}`),!0}else{if(da(t,e.ignoreErrors))return h&&p.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${G(t)}`),!0;if(_a(t))return h&&p.warn(`Event dropped due to not having an error message, error type or stacktrace. +Event: ${G(t)}`),!0;if(ha(t,e.denyUrls))return h&&p.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${G(t)}. +Url: ${Nt(t)}`),!0;if(!ma(t,e.allowUrls))return h&&p.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${G(t)}. +Url: ${Nt(t)}`),!0}return!1}function da(t,e){return e!=null&&e.length?Sr(t).some(n=>_t(n,e)):!1}function pa(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?_t(n,e):!1}function ha(t,e){if(!(e!=null&&e.length))return!1;const n=Nt(t);return n?_t(n,e):!1}function ma(t,e){if(!(e!=null&&e.length))return!0;const n=Nt(t);return n?_t(n,e):!0}function ga(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Nt(t){var e,n,r;try{const s=(r=(n=[...((e=t.exception)==null?void 0:e.values)??[]].reverse().find(o=>{var i,a,c;return((i=o.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=o.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}))==null?void 0:n.stacktrace)==null?void 0:r.frames;return s?ga(s):null}catch{return h&&p.error(`Cannot extract url for event ${G(t)}`),null}}function _a(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function ya(t,e,n,r,s,o){var a;if(!((a=s.exception)!=null&&a.values)||!o||!D(o.originalException))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Tt(t,e,r,o.originalException,n,s.exception.values,i,0))}function Tt(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(D(r[s])){zt(i,a,r);const u=t(e,r[s]),f=c.length;Yt(u,s,f,a),c=Tt(t,e,n,r[s],s,[u,...c],u,f)}return Rr(r)&&r.errors.forEach((u,f)=>{if(c.length{const f=r[u];if(c.length{for(const e of t)Ct.delete(e)}}const vn=new Set;function Ta(){"console"in g&&Pn.forEach(function(t){vn.has(t)||!(t in g.console)||(vn.add(t),k(g.console,t,function(e){return Rt[t]=e,function(...n){const r=n[0],s=Rt[t],o=Ct.size&&typeof r=="string"&&_t(r,Ct);o||C("console",{args:n,level:t}),(!o||h&&p.isEnabled())&&(s==null||s.apply(g.console,n))}}))})}function wa(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const ka="Dedupe",Oa=()=>{let t;return{name:ka,processEvent(e){if(e.type)return e;try{if(Na(e,t))return h&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},Ra=O(Oa);function Na(t,e){return e?!!(Ca(t,e)||Da(t,e)):!1}function Ca(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Cr(t,e)||!Nr(t,e))}function Da(t,e){const n=In(e),r=In(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Cr(t,e)||!Nr(t,e))}function Nr(t,e){const n=Me(t),r=Me(e);if(!n||!r)return!n&&!r;if(r.length!==n.length)return!1;for(let s=0;s{const e=new Set(t.levels||Pn);return{name:Aa,setup(n){const r=va(({args:s,level:o})=>{b()!==n||!e.has(o)||La(o,s)});if(n.registerCleanup(r),t.filter){const s=Ia(t.filter);n.registerCleanup(s)}}}});function La(t,e){const n={category:"console",data:{arguments:e,logger:"console"},level:wa(t),message:Tn(e)};if(t==="assert")if(e[0]===!1){const r=e.slice(1);n.message=r.length>0?`Assertion failed: ${Tn(r)}`:"Assertion failed",n.data.arguments=r}else return;q(n,{input:e,level:t})}function Tn(t){return"util"in g&&typeof g.util.format=="function"?g.util.format(...t):ds(t," ")}const Pa="ConversationId",$a=()=>({name:Pa,setup(t){t.on("spanStart",e=>{const n=x().getScopeData(),r=V().getScopeData(),s=n.conversationId||r.conversationId;if(s){const{op:o,data:i,description:a}=$t(e);if(!(o!=null&&o.startsWith("gen_ai."))&&!i["ai.operationId"]&&!(a!=null&&a.startsWith("ai.")))return;e.setAttribute(Ws,s)}})}}),Ma=O($a),fe=g;function Fa(){if(!("fetch"in fe))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function le(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ja(){var n;if(typeof EdgeRuntime=="string")return!0;if(!Fa())return!1;if(le(fe.fetch))return!0;let t=!1;const e=fe.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(t=le(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){h&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Ua(t){const e="fetch",n=z(e,t);return Y(e,()=>Ba()),n}function Ba(t){mr()&&!ja()||k(g,"fetch",function(e){return new Proxy(e,{apply(n,r,s){const o=new Error,{method:i,url:a}=Ha(s),c={args:s,fetchData:{method:i,url:a},startTimestamp:A()*1e3,virtualError:o,headers:Wa(s)};return C("fetch",{...c}),Reflect.apply(n,g,s).then(async u=>(C("fetch",{...c,endTimestamp:A()*1e3,response:u}),u),u=>{var l,d;C("fetch",{...c,endTimestamp:A()*1e3,error:u}),D(u)&&u.stack===void 0&&(u.stack=o.stack,U(u,"framesToPop",1));const f=((l=b())==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(f!==!1&&D(u)&&u.name==="TypeError"&&(u.message==="Failed to fetch"||u.message==="Load failed"||u.message==="NetworkError when attempting to fetch resource."))try{const m=new URL(c.fetchData.url,(d=g.location)==null?void 0:d.href).host;m&&(f==="always"?u.message=`${u.message} (${m})`:U(u,"__sentry_fetch_url_host__",m))}catch{}throw u})}})})}function wt(t,e){return At(t)&&!!t[e]}function wn(t){return typeof t=="string"?t:t?wt(t,"url")?t.url:t.toString?t.toString():"":""}function Ha(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:wn(n),method:wt(r,"method")?String(r.method).toUpperCase():Bn(n)&&wt(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:wn(e),method:wt(e,"method")?String(e.method).toUpperCase():"GET"}}function Wa(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Bn(e))return new Headers(e.headers)}catch{}}function Dr(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const de=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,E=g,Ga=80,W={};try{typeof Node<"u"&&(W.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(W.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,W.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,W.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,W.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(W.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function F(t,e,n){const r=W[e];if(r)try{return r.call(t,n)}catch{}const s=t[e];return typeof s=="function"?s.call(t,n):s}function Ar(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let o=0,i=0;const a=" > ",c=3;let u;const f=Array.isArray(e)?e:e.keyAttrs,l=Array.isArray(e)?void 0:e.maskAttributeFn,d=!Array.isArray(e)&&e.maxStringLength||Ga;for(;n&&o++1&&i+s.length*c+u.length>=d));)s.push(u),i+=u.length,n=F(n,"parentNode");return s.reverse().join(a)}catch{return""}}function qa(t,e,n){const r=[],s=F(t,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&t instanceof HTMLElement){const i=F(t,"dataset");if(i){if(i.sentryComponent)return n?n("data-sentry-component",i.sentryComponent,t):i.sentryComponent;if(i.sentryElement)return n?n("data-sentry-element",i.sentryElement,t):i.sentryElement}}r.push(s.toLowerCase());const o=e!=null&&e.length?e.filter(i=>F(t,"getAttribute",i)).map(i=>[i,F(t,"getAttribute",i)]):null;if(o!=null&&o.length)o.forEach(([i,a])=>{r.push(`[${i}="${n&&a?n(i,a,t):a}"]`)});else{const i=F(t,"id");i&&r.push(`#${n?n("id",i,t):i}`);const a=F(t,"className");if(a&&$(a)){const c=(n?n("class",a,t):a).split(/\s+/);for(const u of c)r.push(`.${u}`)}}for(const i of["aria-label","type","name","title","alt"]){const a=F(t,"getAttribute",i);a&&r.push(`[${i}="${n?n(i,a,t):a}"]`)}return r.join("")}function za(t,e,n){E.document&&E.addEventListener(t,e,n)}function Ya(t,e,n){E.document&&E.removeEventListener(t,e,n)}const Ka=t=>{var n;const e=E.requestIdleCallback||E.setTimeout;if(((n=E.document)==null?void 0:n.visibilityState)==="hidden")t();else{let r=!1;const s=()=>{r||(t(),r=!0)};za("visibilitychange",s,{once:!0,capture:!0}),e(()=>{s(),Ya("visibilitychange",s,{capture:!0})})}};function Va(t,e=5){if(!g.HTMLElement)return null;let n=t;for(let r=0;r{var s,o;const r=(s=E[n])==null?void 0:s.prototype;(o=r==null?void 0:r.hasOwnProperty)!=null&&o.call(r,"addEventListener")&&(k(r,"addEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=f[a]=f[a]||{captureListeners:new WeakSet,bubbleListeners:new WeakSet,listenerCount:0},d=On(u);if(!l.handler){const y=Rn(t);l.handler=y,l.capture=d,i.call(this,a,y,l.capture)}const m=l[d?"captureListeners":"bubbleListeners"];m.has(c)||(typeof u=="object"&&(u!=null&&u.once||u!=null&&u.signal)?l.sticky=!0:(m.add(c),l.listenerCount++))}catch{}return i.call(this,a,c,u)}}),k(r,"removeEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__||{},l=f[a];l!=null&&l[On(u)?"captureListeners":"bubbleListeners"].delete(c)&&(!--l.listenerCount&&!l.sticky&&(i.call(this,a,l.handler,l.capture),l.handler=void 0,delete f[a]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,u)}}))})}function ec(t){if(t.type!==pe)return!1;try{if(!t.target||t.target._sentryId!==he)return!1}catch{}return!0}function nc(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function Rn(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=rc(n);if(nc(n.type,r))return;U(n,"_sentryCaptured",!0),r&&!r._sentryId&&U(r,"_sentryId",N());const s=n.type==="keypress"?"input":n.type;ec(n)||(t({event:n,name:s,global:e}),pe=n.type,he=r?r._sentryId:void 0),clearTimeout(kn),kn=E.setTimeout(()=>{he=void 0,pe=void 0},Qa)}}function rc(t){try{return t.target}catch{return null}}let vt;function sc(){return"history"in E&&!!E.history}function Lr(t){const e="history";z(e,t),Y(e,oc)}function oc(){if(E.addEventListener("popstate",()=>{const e=E.location.href,n=vt;vt=e,n!==e&&C("history",{from:n,to:e})}),!sc())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=vt,o=ic(String(r));if(vt=o,s===o)return e.apply(this,n);C("history",{from:s,to:o})}return e.apply(this,n)}}k(E.history,"pushState",t),k(E.history,"replaceState",t)}function ic(t){try{return new URL(t,E.location.origin).toString()}catch{return t}}const kt={};function Pr(t){const e=kt[t];if(e)return e;let n=E[t];if(le(n))return kt[t]=n.bind(E);const r=E.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o!=null&&o[t]&&(n=o[t]),r.head.removeChild(s)}catch(s){de&&p.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,s)}return n&&(kt[t]=n.bind(E))}function ac(t){kt[t]=void 0}const ft="__sentry_xhr_v3__";function cc(t){const e="xhr";z(e,t),Y(e,uc)}function uc(){if(!E.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){let s=new Error;const o=A()*1e3,i=$(r[0])?r[0].toUpperCase():void 0,a=fc(r[1]);if(!i||a===void 0)return e.apply(n,r);n[ft]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[ft];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:A()*1e3,startTimestamp:o,xhr:n,virtualError:s};C("xhr",f),s=void 0,n.removeEventListener("readystatechange",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[d,m]=l,y=f[ft];return y&&$(d)&&$(m)&&(y.request_headers[d.toLowerCase()]=m),u.apply(f,l)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const s=n[ft];if(!s)return e.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:A()*1e3,xhr:n};return C("xhr",o),e.apply(n,r)}})}function fc(t){if($(t))return t;try{return t.toString()}catch{}}function lc(t){if(typeof Element>"u")return!1;try{return t instanceof Element}catch{return!1}}const _=g;let me=0;const Nn=[];function $r(t){if(me>0)return!0;const e=t?Nn.findIndex(n=>dc(n,t)):-1;return e===-1?!1:(Nn.splice(e,1),!0)}function dc(t,e){return t.msg===e.msg&&t.url===e.url&&t.line===e.line&&t.column===e.column}function pc(){me++,setTimeout(()=>{me--})}function st(t,e={}){function n(s){return typeof s=="function"}if(!n(t))return t;try{if(Object.prototype.hasOwnProperty.call(t,"__sentry_wrapped__")){const s=t.__sentry_wrapped__;return typeof s=="function"?s:t}if(Ie(t))return t}catch{return t}const r=function(...s){g._sentryWrappedDepth=(g._sentryWrappedDepth||0)+1;try{const o=s.map(i=>st(i,e));return t.apply(this,o)}catch(o){throw pc(),Ms(i=>{i.addEventProcessor(a=>(e.mechanism&&(Qt(a,void 0),Q(a,e.mechanism)),a.extra={...a.extra,arguments:s},a)),gi(o)}),o}finally{g._sentryWrappedDepth=(g._sentryWrappedDepth||0)-1}};try{for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}catch{}Hn(r,t),U(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function Cn(t){const e=Ce(),{referrer:n}=_.document||{},{userAgent:r}=_.navigator||{};return{url:e,headers:{...n&&{Referer:rt(n,t)},...r&&{"User-Agent":r}}}}function De(t,e){const n=Ft(t,e),r={type:yc(e),value:Sc(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function hc(t,e,n,r){var c;const s=(c=b())==null?void 0:c.getOptions().normalizeDepth,o=Tc(e),i={__serialized__:qn(e,s)};if(o)return{exception:{values:[De(t,o)]},extra:i};const a={exception:{values:[{type:xt(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:vc(e,{isUnhandledRejection:r})}]},extra:i};if(n){const u=Ft(t,n);u.length&&(a.exception.values[0].stacktrace={frames:u})}return a}function Kt(t,e){return{exception:{values:[De(t,e)]}}}function Ft(t,e){const n=e.stacktrace||e.stack||"",r=gc(e),s=_c(e);try{return t(n,r,s)}catch{}return[]}const mc=/Minified React error #\d+;/i;function gc(t){return t&&mc.test(t.message)?1:0}function _c(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function Mr(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function yc(t){const e=t==null?void 0:t.name;return!e&&Mr(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function Sc(t){const e=t==null?void 0:t.message;return Mr(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?bn(e.error):bn(t):"No error message"}function Ec(t,e,n,r){const s=Ae(t,e,(n==null?void 0:n.syntheticException)||void 0,r);return Q(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),Et(s)}function bc(t,e,n="info",r,s){const o=ge(t,e,(r==null?void 0:r.syntheticException)||void 0,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),Et(o)}function Ae(t,e,n,r,s){var a,c;let o;if(Un(e)&&e.error)return Kt(t,e.error);if(je(e)||Zr(e)){const u=e;if("stack"in e){o=Kt(t,e);const f=(c=(a=o.exception)==null?void 0:a.values)==null?void 0:c[0];if(r&&n&&f&&!f.stacktrace){const l=Ft(t,n);l.length&&(f.stacktrace={frames:l},Q(o,{synthetic:!0}))}}else{const f=u.name||(je(u)?"DOMError":"DOMException"),l=u.message?`${f}: ${u.message}`:f;o=ge(t,l,n,r),Qt(o,l)}return o}if(D(e))return Kt(t,e);if(mt(e)||xt(e))return o=hc(t,e,n,s),Q(o,{synthetic:!0}),o;const i=String(e);return o=ge(t,i,n,r),Qt(o,i),Q(o,{synthetic:!0}),o}function ge(t,e,n,r){const s={};if(r&&n){const o=Ft(t,n);o.length&&(s.exception={values:[{value:e,stacktrace:{frames:o}}]}),Q(s,{synthetic:!0})}if(be(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return s.logentry={message:o,params:i},s}return s.message=e,s}function vc(t,{isUnhandledRejection:e}){const n=es(t),r=e?"promise rejection":"exception";return Un(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:xt(t)?`Event \`${Ic(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Ic(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function Tc(t){return Object.values(t).find(D)}const B=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Fr(t){const{tunnel:e,dsn:n,transportOptions:r}=t;if(!e)return{tunnel:e,transportOptions:r};if(typeof e=="string")return{tunnel:e,transportOptions:wc(e)?Dn(r):r};const s=e===!0?{}:e,o=n&&ke(n),i=s.path??(o&&Ji(o));if(!i)return{tunnel:void 0,transportOptions:r};const a=`${Qi(s.basePath)}${i}${s.trailingSlash?"/":""}`;return B&&p.log(`Tunneling events to "${a}"`),{tunnel:a,transportOptions:Dn(r)}}function Dn(t){return{...t,headers:{"Content-Type":"application/x-sentry-envelope",...t==null?void 0:t.headers}}}function wc(t){var n,r;const e=Ki(t,(n=_.location)==null?void 0:n.href);return e?Yi(e)||e.origin===((r=_.location)==null?void 0:r.origin):!1}var kc=class extends Mi{constructor(t){var a;const e=Oc({...t,...Fr(t)}),n=_.SENTRY_SDK_SOURCE||Vo();na(e,"browser",["browser"],n),super(e),e.routeProvider&&Xa(e.routeProvider,this),this._unhandledSessionStatus="unhandled";const{userInfo:r}=this.getDataCollectionOptions();(a=e._metadata)!=null&&a.sdk&&(e._metadata.sdk.settings={infer_ip:r?"auto":"never",...e._metadata.sdk.settings});const{sendClientReports:s}=this._options,o=()=>{A()},i=[[_.document,"visibilitychange",()=>{o(),_.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}],[_.document,"freeze",o],[_.document,"resume",o],[_,"pagehide",o],[_,"pageshow",o]];i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.addEventListener)==null?void 0:l.call(c,u,f)}),this.on("close",()=>i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.removeEventListener)==null?void 0:l.call(c,u,f)})),r&&this.on("beforeSendSession",Zi)}eventFromException(t,e){return Ec(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return bc(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}};function Oc(t){return{sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t,release:t.release??Rc()}}function Rc(){var t;return typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Nc()??((t=_.SENTRY_RELEASE)==null?void 0:t.id)}function Nc(){var t,e,n;return((n=(e=(t=_.document)==null?void 0:t.querySelector)==null?void 0:e.call(t,`meta[name="${ra}"]`))==null?void 0:n.getAttribute("content"))||void 0}const Cc=40;function Dc(t,e=Pr("fetch")){let n=0,r=0;async function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{const c=await e(t.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw ac("fetch"),c}finally{n-=i,r--}}return Ri(t,s,Ne(t.bufferSize||Cc))}const Ac=30,xc=50;function _e(t,e,n,r){const s={filename:t,function:e===""?Z:e,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const Lc=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Pc=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?![^(]*\) )(?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,$c=/\((\S*)(?::(\d+))(?::(\d+))\)/,Mc=/at (.+?) ?\(data:(.+?),/,Fc=t=>{var s;const e=t.match(Mc);if(e)return{filename:``,function:e[1]};const n=Lc.exec(t);if(n){const[,o,i,a]=n;return _e(o,Z,+i,+a)}const r=Pc.exec(t);if(r){if(((s=r[2])==null?void 0:s.indexOf("eval"))===0){const a=$c.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=jr(r[1]||Z,r[2]);return _e(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},jc=[Ac,Fc],Uc=/^\s*(.*?)(?:\(([^()]*)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Bc=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Hc=t=>{const e=Uc.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=Bc.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let n=e[3],r=e[1]||Z;return[r,n]=jr(r,n),_e(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Wc=[xc,Hc],Gc=[jc,Wc],qc=Fn(...Gc),jr=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Z,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},It=1024,zc="Breadcrumbs",Yc=(t={})=>{const e={dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:zc,setup(n){e.dom&&Za(Xc(n,e.dom)),e.xhr&&cc(Jc(n)),e.fetch&&Ua(Qc(n)),e.history&&Lr(Zc(n)),e.sentry&&n.on("beforeSendEvent",Vc(n))}}},Kc=O(Yc);function Vc(t){return function(n){b()===t&&q({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:G(n)},{event:n})}}function Xc(t,e){return function(r){if(b()!==t)return;let s,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>It&&(B&&p.warn(`\`dom.maxStringLength\` cannot exceed ${It}, but a value of ${a} was configured. Sentry will use ${It} instead.`),a=It),typeof i=="string"&&(i=[i]);try{const u=r.event,f=tu(u)?u.target:u;s=Ar(f,{keyAttrs:i,maxStringLength:a}),o=Va(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),q(c,{event:r.event,name:r.name,global:r.global})}}function Jc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[ft];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:ye(a,t),status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:f,type:"http",level:Dr(c)};t.emit("beforeOutgoingRequestBreadcrumb",d,l),q(d,l)}}function Qc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},i={category:"fetch",data:{...n.fetchData,url:ye(n.fetchData.url,t)},level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o),q(i,o)}else{const o=n.response,i={...n.fetchData,url:ye(n.fetchData.url,t),status_code:o==null?void 0:o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Dr(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),q(c,a)}}}function Zc(t){return function(n){if(b()!==t)return;let r=n.from,s=n.to;const o=qt(_.location.href);let i=r?qt(r):void 0;const a=qt(s);i!=null&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),q({category:"navigation",data:{from:rt(r),to:rt(s)}})}}function ye(t,e){var r;const n=t===""?(r=_.location)==null?void 0:r.href:void 0;return rt(n?n.split("#")[0]??"":t,e)}function tu(t){return!!t&&!!t.target}const eu="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),nu="BrowserApiErrors",ru=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:nu,setupOnce(){e.setTimeout&&k(_,"setTimeout",An),e.setInterval&&k(_,"setInterval",An),e.requestAnimationFrame&&k(_,"requestAnimationFrame",ou),e.XMLHttpRequest&&"XMLHttpRequest"in _&&k(XMLHttpRequest.prototype,"send",iu);const n=e.eventTarget;n&&(Array.isArray(n)?n:eu).forEach(r=>au(r,e))}}},su=O(ru);function An(t){return function(...e){const n=e[0];return e[0]=st(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${j(t)}`}}),t.apply(this,e)}}function ou(t){return function(e){return t.apply(this,[st(e,{mechanism:{data:{handler:j(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function iu(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&k(n,r,function(s){const o={mechanism:{data:{handler:j(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},i=Ie(s);return i&&(o.mechanism.data.handler=j(i)),st(s,o)})}),t.apply(this,e)}}function au(t,e){var r,s;const n=(r=_[t])==null?void 0:r.prototype;(s=n==null?void 0:n.hasOwnProperty)!=null&&s.call(n,"addEventListener")&&(k(n,"addEventListener",function(o){return function(i,a,c){try{cu(a)&&(a.handleEvent=st(a.handleEvent,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&uu(this,i,a),o.apply(this,[i,st(a,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),c])}}),k(n,"removeEventListener",function(o){return function(i,a,c){try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){const u=a.__sentry_wrapped__;u&&o.call(this,i,u,c)}}catch{}return o.call(this,i,a,c)}}))}function cu(t){return typeof t.handleEvent=="function"}function uu(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const fu=O((t={})=>{const e=t.lifecycle??"page";return{name:"BrowserSession",setupOnce(){if(typeof _.document>"u"){B&&p.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}dn({ignoreDuration:!0});let n=!1;Ka(()=>{n||(Gt(),n=!0)});const r=V();let s=r.getUser();r.addScopeListener(o=>{const i=o.getUser();((s==null?void 0:s.id)!==(i==null?void 0:i.id)||(s==null?void 0:s.ip_address)!==(i==null?void 0:i.ip_address))&&(s=i,n&&Gt())}),e==="route"&&Lr(({from:o,to:i})=>{o!==i&&(dn({ignoreDuration:!0}),Gt(),n=!0)})}}}),lu="CultureContext",du=()=>({name:lu,preprocessEvent(t){var n;const e=xn();e&&(t.contexts={...t.contexts,culture:{...e,...(n=t.contexts)==null?void 0:n.culture}})},processSegmentSpan(t){const e=xn();e&&lr(t,{[Bs]:e.locale,[Hs]:e.timezone,[Us]:e.calendar})}}),pu=O(du);function xn(){try{const t=_.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const hu="GlobalHandlers",mu=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:hu,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(_u(n),Ln("onerror")),e.onunhandledrejection&&(yu(n),Ln("onunhandledrejection"))}}},gu=O(mu);function _u(t){Vr(e=>{const{stackParser:n,attachStacktrace:r}=Ur();if(b()!==t||$r(e))return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=bu(Ae(n,c||s,void 0,r,!1),o,i,a);u.level="error",Er(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function yu(t){Jr(e=>{const{stackParser:n,attachStacktrace:r}=Ur();if(b()!==t||$r())return;const s=Su(e),o=at(s)?Eu(s):Ae(n,s,void 0,r,!0);o.level="error",Er(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function Su(t){if(at(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function Eu(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function bu(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:vu(e)??Ce(),function:Z,in_app:!0}),t}function Ln(t){B&&p.log(`Global Handler attached: ${t}`)}function Ur(){var t;return((t=b())==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function vu(t){if(!(!$(t)||t.length===0))return t.startsWith("data:")?`<${Vi(t,!1)}>`:t}const Iu=O(()=>({name:"HttpContext",preprocessEvent(t,e,n){var c;if(!_.navigator&&!_.location&&!_.document)return;const{url:r,headers:s}=Cn(n),o=n.getDataCollectionOptions().httpHeaders.request,i=Object.entries(((c=t.request)==null?void 0:c.headers)??{}).filter(([u])=>!(u in s)),a={...se(s,o),...Object.fromEntries(i)};t.request={url:rt(r,n),...t.request,...Object.keys(a).length>0?{headers:a}:{headers:void 0}}},processSpan(t,e){var a;if(!_.navigator&&!_.location&&!_.document)return;const n=Cn(e),r=se(n.headers,e.getDataCollectionOptions().httpHeaders.request),s=r.Referer,{hostname:o,protocol:i}=_.location||{};lr(t,{[Vs]:r["User-Agent"],[qs]:i==="file:"||o==="localhost"||o==="127.0.0.1"||o==="[::1]"||!!(o!=null&&o.endsWith(".localhost")),...t.is_segment&&{[Ks]:((a=t.attributes)==null?void 0:a[er])!=="http.client"?rt(n.url):void 0,[`${Gs}.referer`]:s?[s]:void 0}})}})),Tu="cause",wu=5,ku="LinkedErrors",Ou=(t={})=>{const e=t.limit||wu,n=t.key||Tu;return{name:ku,preprocessEvent(r,s,o){const i=o.getOptions();ya(De,i.stackParser,n,e,r,s)}}},Ru=O(Ou),Nu="SpotlightBrowser",Cu=[{op:an,name:"#sentry-spotlight"},{op:an,attributes:{[js]:"#sentry-spotlight"}}],Du=(t={})=>{const e=t.sidecarUrl||"http://localhost:8969/stream";return{name:Nu,setup:()=>{B&&p.log("Using Sidecar URL",e)},beforeSetup(n){const r=n.getOptions();r.ignoreSpans=[...r.ignoreSpans||[],...Cu]},afterAllSetup:n=>{Au(n,e)}}};function Au(t,e){const n=Pr("fetch");let r=0;t.on("beforeEnvelope",s=>{if(r>3){B&&p.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(e,{method:"POST",body:dr(s),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(o=>{o.status>=200&&o.status<400&&(r=0)},o=>{r++,B&&p.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",o)})})}const xu=O(Du),Lu=/^HTML(\w*)Element$/;function Pu(t){if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(lc(t)){const e=$u(t);if(Lu.test(e))return`[HTMLElement: ${Ar(t)}]`}}function $u(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function Mu(){return Fu()?(B&&H(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function Fu(){var n,r;if(typeof _.window>"u")return!1;const t=_;if(t.nw||!((r=(n=t.chrome||t.browser)==null?void 0:n.runtime)!=null&&r.id))return!1;const e=Ce();return!(_===_.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(e))}function ju(t){return[fa(),aa(),Ma(),su(),Kc(),xa(),gu(),Ru(),Ra(),Iu(),pu(),fu()]}function Uu(t={}){const e=ea(t),n=!e.skipBrowserExtensionCheck&&Mu();let r=e.defaultIntegrations==null?ju():e.defaultIntegrations;/*! rollup-include-development-only */if(e.spotlight){r||(r=[]);const i=typeof e.spotlight=="string"?{sidecarUrl:e.spotlight}:void 0;r.push(xu(i))}/*! rollup-include-development-only-end */const s=Oo({integrations:e.integrations,defaultIntegrations:r}),o={...e,...Fr(e),enabled:n?!1:e.enabled,stackParser:Yr(e.stackParser||qc),integrations:s,transport:e.transport||Dc};return is(Pu),ji(kc,o)}Uu({dsn:"https://1aeff3f1acac49409216ced9a2bf3b33@glitchtip.figli.io/3",environment:"production",release:"87957c9355c3b7aa297d5de37c521584106fb97c",sendDefaultPii:!1}); diff --git a/web/themes/custom/leshed/assets/scss/partials/abstracts/_node-full.scss b/web/themes/custom/leshed/assets/scss/partials/abstracts/_node-full.scss index cede8da..008a51b 100644 --- a/web/themes/custom/leshed/assets/scss/partials/abstracts/_node-full.scss +++ b/web/themes/custom/leshed/assets/scss/partials/abstracts/_node-full.scss @@ -79,6 +79,12 @@ } } + .field_infos_pratiques{ + p{ + margin:0 0 0.5em 0; + } + } + div.field_projet_s_lie_s{ // margin-top: 2em; // .field-label{ diff --git a/web/themes/custom/leshed/assets/scss/partials/pages/_evenement.scss b/web/themes/custom/leshed/assets/scss/partials/pages/_evenement.scss index e41e39e..7a66e4b 100644 --- a/web/themes/custom/leshed/assets/scss/partials/pages/_evenement.scss +++ b/web/themes/custom/leshed/assets/scss/partials/pages/_evenement.scss @@ -17,7 +17,6 @@ article.node-type-evenement.view-mode-full{ transform-origin: 0 0; @include event-date-time(); } - } diff --git a/web/themes/custom/leshed/assets/scss/partials/pages/_views-archives-evenements.scss b/web/themes/custom/leshed/assets/scss/partials/pages/_views-archives-evenements.scss index 81ec578..9686275 100644 --- a/web/themes/custom/leshed/assets/scss/partials/pages/_views-archives-evenements.scss +++ b/web/themes/custom/leshed/assets/scss/partials/pages/_views-archives-evenements.scss @@ -34,16 +34,22 @@ div.views-archives-evenements { & > h3{ // border-bottom: 1px solid #999; margin-bottom: 0; - font-size: 2em; - font-weight: 200; + // font-weight: 200; span.month{ - font-weight: 100; + font-size: 0.7em; + font-weight: 300; } span.year{ - font-weight: 400; + font-size: 0.7em; + font-weight: 700; } } + header>p:last-of-type { + // border-bottom: 1px solid #ccc; + margin:0; + font-weight: 400; + } article.node-type-evenement.view-mode-calendrier{ @include event_calendar(); }