2026-07-29 08:29:29 +00:00
// Module ID: 1026
// Function ID: 1027
// Name: mergeOptions
// Dependencies: [32, 5, 817]
// Exports: buildFeedbackIntegration, feedbackModalIntegration, feedbackScreenshotIntegration, getFeedback
// Module 1026 (mergeOptions)
2026-08-24 06:08:38 +00:00
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" /* 817 */ ;
import closure _2 from "_slicedToArray" /* 32 */ ;
import closure _3 from "asyncGeneratorStep" /* 5 */ ;
2026-07-29 08:29:29 +00:00
function mergeOptions ( tags , tags2 ) {
2026-08-24 06:08:38 +00:00
closure _0 = tags ;
closure _1 = tags2 ;
obj = { } ;
2026-07-29 08:29:29 +00:00
const merged = Object . assign ( tags ) ;
const merged1 = Object . assign ( tags2 ) ;
obj = { } ;
const merged2 = Object . assign ( tags . tags ) ;
const merged3 = Object . assign ( tags2 . tags ) ;
obj . tags = obj ;
obj . onFormOpen = function onFormOpen ( ) {
const onFormOpen = obj . onFormOpen ;
if ( onFormOpen != null ) {
onFormOpen ( ) ;
}
const onFormOpen2 = closure _0 . onFormOpen ;
if ( onFormOpen2 != null ) {
onFormOpen2 ( ) ;
}
} ;
obj . onFormClose = function onFormClose ( ) {
const onFormClose = obj . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
const onFormClose2 = closure _0 . onFormClose ;
if ( onFormClose2 != null ) {
onFormClose2 ( ) ;
}
} ;
obj . onSubmitSuccess = function onSubmitSuccess ( arg0 , arg1 ) {
const onSubmitSuccess = obj . onSubmitSuccess ;
if ( onSubmitSuccess != null ) {
onSubmitSuccess ( arg0 , arg1 ) ;
}
const onSubmitSuccess2 = closure _0 . onSubmitSuccess ;
if ( onSubmitSuccess2 != null ) {
onSubmitSuccess2 ( arg0 , arg1 ) ;
}
} ;
obj . onSubmitError = function onSubmitError ( arg0 ) {
const onSubmitError = obj . onSubmitError ;
if ( onSubmitError != null ) {
onSubmitError ( arg0 ) ;
}
const onSubmitError2 = closure _0 . onSubmitError ;
if ( onSubmitError2 != null ) {
onSubmitError2 ( arg0 ) ;
}
} ;
obj . onFormSubmitted = function onFormSubmitted ( ) {
const onFormSubmitted = obj . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
const onFormSubmitted2 = closure _0 . onFormSubmitted ;
if ( onFormSubmitted2 != null ) {
onFormSubmitted2 ( ) ;
}
} ;
obj = { } ;
const merged4 = Object . assign ( tags . themeDark ) ;
const merged5 = Object . assign ( tags2 . themeDark ) ;
obj . themeDark = obj ;
const merged6 = Object . assign ( tags . themeLight ) ;
const merged7 = Object . assign ( tags2 . themeLight ) ;
obj . themeLight = { } ;
return obj ;
}
function v$1 ( _ _s , _ _s2 ) {
for ( const key10004 in arg1 ) {
let tmp = key10004 ;
arg0 [ key10004 ] = arg1 [ key10004 ] ;
continue ;
}
return _ _s ;
}
function p$1 ( _ _e ) {
const parentNode = _ _e . parentNode ;
if ( parentNode ) {
parentNode . removeChild ( _ _e ) ;
}
}
function y$1 ( span , arg1 , formTitle ) {
let tmp2 ;
let tmp3 ;
2026-08-24 06:08:38 +00:00
obj = { } ;
2026-07-29 08:29:29 +00:00
let tmp4 ;
let tmp5 ;
const keys = Object . keys ( ) ;
if ( keys !== undefined ) {
tmp4 = tmp2 ;
tmp5 = tmp3 ;
while ( keys [ tmp ] !== undefined ) {
let tmp19 = tmp9 ;
if ( "key" == tmp9 ) {
tmp3 = arg1 [ tmp9 ] ;
continue ;
} else {
if ( "ref" == tmp9 ) {
tmp2 = arg1 [ tmp9 ] ;
continue ;
} else {
obj [ tmp9 ] = arg1 [ tmp9 ] ;
continue ;
}
continue ;
}
continue ;
}
}
if ( arguments . length > 2 ) {
if ( arguments . length <= 3 ) {
obj . children = formTitle ;
} else {
const call = slice . call ;
if ( typeof call === "unknown" ) {
let callResult = tmp11 ( 2 ) ;
} else {
callResult = call ( arguments , 2 ) ;
}
tmp11 = slice ;
}
}
2026-08-04 21:03:28 +00:00
if ( typeof span === "function" ) {
2026-07-29 08:29:29 +00:00
if ( null != span . defaultProps ) {
const keys1 = Object . keys ( ) ;
if ( keys1 !== undefined ) {
while ( keys1 [ 3 ] !== undefined ) {
let tmp23 = tmp16 ;
if ( undefined !== obj [ tmp16 ] ) {
continue ;
} else {
obj [ tmp16 ] = span . defaultProps [ tmp16 ] ;
continue ;
}
continue ;
}
}
}
}
2026-08-05 07:35:12 +00:00
obj = { type : span , props : obj , key : tmp5 , ref : tmp4 , _ _k : null , _ _ : null , _ _b : 0 , _ _e : null , _ _d : "Array" , _ _c : "Array" , constructor : - 1 , _ _v : 0 , _ _i : "5.9.4" , _ _u : 24 } ;
2026-07-29 08:29:29 +00:00
const sum = c14 + 1 ;
c14 = sum ;
obj [ 11 ] = sum ;
if ( null != obj . vnode ) {
obj . vnode ( obj ) ;
}
return obj ;
}
function g$1 ( children ) {
return children . children ;
}
class b$1 {
constructor ( arg0 , arg1 ) {
return ;
}
setState ( arg0 , arg1 ) {
self = this ;
if ( null != this . _ _s ) {
if ( self . _ _s !== self . state ) {
_ _s = self . _ _s ;
}
tmp = global ;
tmp2 = global ;
2026-08-04 21:03:28 +00:00
if ( typeof global === "function" ) {
2026-07-29 08:29:29 +00:00
obj = { } ;
tmp16 = _ _s ;
for ( const key10012 in _ _s ) {
tmp17 = key10012 ;
obj [ key10012 ] = _ _s [ key10012 ] ;
continue ;
}
tmp2 = global ( obj , self . props ) ;
}
if ( tmp2 ) {
tmp3 = tmp2 ;
for ( const key10017 in tmp2 ) {
tmp18 = key10017 ;
_ _s [ key10017 ] = tmp2 [ key10017 ] ;
continue ;
}
}
tmp4 = null != tmp2 && self . _ _v ;
if ( tmp4 ) {
tmp5 = require ;
if ( require ) {
_sb = self . _sb ;
arr = _sb . push ( require ) ;
}
_ _ _d = self . _ _d ;
flag = ! _ _ _d ;
if ( ! _ _ _d ) {
flag2 = true ;
self . _ _d = true ;
flag = true ;
}
if ( flag ) {
2026-08-24 06:08:38 +00:00
tmp7 = closure _15 ;
flag = closure _15 . push ( self ) ;
2026-07-29 08:29:29 +00:00
}
if ( flag ) {
tmp8 = C$1 ;
tmp9 = + C$1 . _ _r ;
C$1 . _ _r = tmp9 + 1 ;
flag = ! tmp9 ;
}
if ( ! flag ) {
tmp10 = debounceRendering ;
2026-08-24 06:08:38 +00:00
tmp11 = closure _13 ;
flag = debounceRendering !== closure _13 . debounceRendering ;
2026-07-29 08:29:29 +00:00
}
if ( flag ) {
2026-08-24 06:08:38 +00:00
tmp12 = closure _13 ;
debounceRendering = closure _13 . debounceRendering ;
2026-07-29 08:29:29 +00:00
if ( ! debounceRendering ) {
debounceRendering = setTimeout ;
}
tmp13 = C$1 ;
debounceRenderingResult = debounceRendering ( C$1 ) ;
}
}
return ;
}
_ _s = { } ;
state = self . state ;
for ( const key10009 in state ) {
tmp15 = key10009 ;
_ _s [ key10009 ] = state [ key10009 ] ;
continue ;
}
self . _ _s = _ _s ;
return ;
}
forceUpdate ( arg0 ) {
self = this ;
if ( this . _ _v ) {
tmp = global ;
flag = true ;
self . _ _e = true ;
if ( global ) {
_ _h = self . _ _h ;
arr = _ _h . push ( global ) ;
}
_ _ _d = self . _ _d ;
flag2 = ! _ _ _d ;
if ( ! _ _ _d ) {
self . _ _d = true ;
flag2 = true ;
}
if ( flag2 ) {
2026-08-24 06:08:38 +00:00
tmp3 = closure _15 ;
flag2 = closure _15 . push ( self ) ;
2026-07-29 08:29:29 +00:00
}
if ( flag2 ) {
tmp4 = C$1 ;
tmp5 = + C$1 . _ _r ;
C$1 . _ _r = tmp5 + 1 ;
flag2 = ! tmp5 ;
}
if ( ! flag2 ) {
tmp6 = debounceRendering ;
2026-08-24 06:08:38 +00:00
tmp7 = closure _13 ;
flag2 = debounceRendering !== closure _13 . debounceRendering ;
2026-07-29 08:29:29 +00:00
}
if ( flag2 ) {
2026-08-24 06:08:38 +00:00
tmp8 = closure _13 ;
debounceRendering = closure _13 . debounceRendering ;
2026-07-29 08:29:29 +00:00
if ( ! debounceRendering ) {
debounceRendering = setTimeout ;
}
tmp9 = C$1 ;
debounceRenderingResult = debounceRendering ( C$1 ) ;
}
}
return ;
}
}
function m$1 ( _ _2 , arg1 ) {
let tmp2 ;
let sum = arg1 ;
if ( null == arg1 ) {
let tmp5 = null ;
if ( _ _2 . _ _ ) {
tmp5 = m$1 ( _ _2 . _ _ , _ _2 . _ _i + 1 ) ;
}
return tmp5 ;
} else {
if ( sum < _ _2 . _ _k . length ) {
while ( true ) {
tmp2 = _ _2 . _ _k [ sum ] ;
let tmp3 = sum ;
if ( null != tmp2 ) {
if ( null != tmp2 . _ _e ) {
break ;
}
}
sum = sum + 1 ;
}
return tmp2 . _ _e ;
}
let tmp4 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _2 . type === "function" ) {
2026-07-29 08:29:29 +00:00
tmp4 = m$1 ( _ _2 ) ;
}
return tmp4 ;
}
}
function k$1 ( _ _2 ) {
let tmp ;
const _ _ = _ _2 . _ _ ;
if ( null != _ _ ) {
if ( null != _ _ . _ _c ) {
_ _ . _ _c . base = null ;
_ _ . _ _e = null ;
let num = 0 ;
if ( 0 < _ _ . _ _k . length ) {
while ( true ) {
tmp = _ _ . _ _k [ num ] ;
let tmp2 = num ;
if ( null != tmp ) {
if ( null != tmp . _ _e ) {
break ;
}
}
num = num + 1 ;
}
const _ _e = tmp . _ _e ;
_ _ . _ _c . base = _ _e ;
_ _ . _ _e = _ _e ;
}
return k$1 ( _ _ ) ;
}
}
}
class C$1 {
constructor ( ) {
items = [ ] ;
items1 = [ ] ;
2026-08-24 06:08:38 +00:00
sorted = closure _15 . sort ( H ) ;
arr = closure _15 . shift ( ) ;
2026-07-29 08:29:29 +00:00
tmp4 = undefined ;
if ( arr ) {
tmp5 = tmp3 ;
tmp6 = arr ;
tmp7 = tmp3 ;
while ( ! arr . _ _d ) {
2026-08-24 06:08:38 +00:00
tmp49 = closure _15 ;
arr = closure _15 . shift ( ) ;
2026-07-29 08:29:29 +00:00
tmp3 = tmp5 ;
tmp4 = tmp5 ;
}
2026-08-24 06:08:38 +00:00
arr3 = closure _15 ;
length = closure _15 . length ;
2026-07-29 08:29:29 +00:00
_ _v = arr . _ _v ;
_ _e = _ _v . _ _e ;
_ _P = arr . _ _P ;
tmp8 = undefined ;
if ( _ _P ) {
obj = { } ;
tmp9 = _ _v ;
for ( const key10028 in _ _v ) {
tmp58 = key10028 ;
obj [ key10028 ] = _ _v [ key10028 ] ;
continue ;
}
obj . _ _v = _ _v . _ _v + 1 ;
2026-08-24 06:08:38 +00:00
obj2 = closure _13 ;
if ( closure _13 . vnode ) {
2026-07-29 08:29:29 +00:00
vnodeResult = obj2 . vnode ( obj ) ;
}
_ _n = arr . _ _n ;
tmp12 = null ;
tmp11 = M ;
if ( 32 & _ _v . _ _u ) {
items2 = [ ] ;
items2 [ 0 ] = _ _e ;
tmp12 = items2 ;
}
tmp13 = _ _e ;
if ( null == _ _e ) {
tmp59 = null ;
if ( ! _ _v . _ _ ) {
tmp13 = null ;
} else {
_ _ = _ _v . _ _ ;
sum = _ _v . _ _i + 1 ;
if ( sum < _ _ . _ _k . length ) {
while ( true ) {
tmp15 = _ _ . _ _k [ sum ] ;
tmp16 = sum ;
if ( null == tmp15 ) {
sum = sum + 1 ;
_ _e2 = tmp15 . _ _e ;
break ;
} else if ( null != tmp15 . _ _e ) {
break ;
}
}
}
tmp17 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _ . type === "function" ) {
2026-07-29 08:29:29 +00:00
tmp60 = m$1 ;
tmp17 = m$1 ( _ _ ) ;
}
}
}
tmp18 = _ _P ;
tmp19 = obj ;
tmp20 = _ _v ;
tmp21 = _ _n ;
tmp22 = tmp12 ;
tmp23 = items ;
tmp24 = tmp13 ;
tmp25 = items1 ;
tmp11Result = tmp11 ( _ _P , obj , _ _v , _ _n , undefined !== _ _P . ownerSVGElement , tmp12 , items , tmp13 , 32 & _ _v . _ _u , items1 ) ;
obj . _ _ . _ _k [ obj . _ _i ] = obj ;
obj . _ _d = undefined ;
tmp8 = obj ;
if ( obj . _ _e != _ _e ) {
_ _3 = obj . _ _ ;
tmp8 = obj ;
if ( null != _ _3 ) {
tmp8 = obj ;
if ( null != _ _3 . _ _c ) {
_ _3 . _ _c . base = null ;
_ _3 . _ _e = null ;
num = 0 ;
if ( 0 < _ _3 . _ _k . length ) {
while ( true ) {
tmp27 = _ _3 . _ _k [ num ] ;
tmp28 = num ;
if ( null != tmp27 ) {
if ( null != tmp27 . _ _e ) {
break ;
}
}
num = num + 1 ;
}
_ _e3 = tmp27 . _ _e ;
_ _3 . _ _c . base = _ _e3 ;
_ _3 . _ _e = _ _e3 ;
}
_ _2 = _ _3 . _ _ ;
tmp8 = obj ;
if ( null != _ _2 ) {
tmp8 = obj ;
if ( null != _ _2 . _ _c ) {
_ _2 . _ _c . base = null ;
_ _2 . _ _e = null ;
num2 = 0 ;
if ( 0 >= _ _2 . _ _k . length ) {
tmp29 = k$1 ;
tmp31 = k$1 ( _ _2 ) ;
tmp32 = obj ;
} else {
while ( true ) {
tmp29 = _ _2 . _ _k [ num2 ] ;
tmp30 = num2 ;
if ( null == tmp29 ) {
num2 = num2 + 1 ;
} else if ( null != tmp29 . _ _e ) {
break ;
}
break ;
}
}
_ _e4 = tmp29 . _ _e ;
_ _2 . _ _c . base = _ _e4 ;
_ _2 . _ _e = _ _e4 ;
}
}
}
}
}
}
if ( ! tmp8 ) {
tmp8 = tmp3 ;
}
if ( 0 !== length ) {
if ( arr3 . length <= length ) {
_ _c = tmp8 ;
if ( tmp8 ) {
2026-08-24 06:08:38 +00:00
tmp33 = closure _13 ;
_ _c = closure _13 . _ _c ;
2026-07-29 08:29:29 +00:00
}
tmp34 = tmp8 ;
if ( _ _c ) {
2026-08-24 06:08:38 +00:00
tmp35 = closure _13 ;
tmp36 = closure _20 ;
_ _cResult = closure _13 . _ _c ( tmp8 , closure _20 ) ;
2026-07-29 08:29:29 +00:00
tmp34 = tmp8 ;
}
}
tmp48 = tmp34 ;
}
closure _0 = items ;
num3 = 0 ;
if ( 0 < items1 . length ) {
do {
tmp38 = N ;
sum1 = num3 + 1 ;
sum2 = sum1 + 1 ;
tmp41 = N ( items1 [ num3 ] , items1 [ sum1 ] , items1 [ sum2 ] ) ;
num3 = sum2 + 1 ;
length2 = items1 . length ;
} while ( num3 < length2 ) ;
}
2026-08-24 06:08:38 +00:00
obj3 = closure _13 ;
if ( closure _13 . _ _c ) {
2026-07-29 08:29:29 +00:00
tmp42 = closure _0 ;
_ _cResult1 = obj3 . _ _c ( tmp8 , closure _0 ) ;
}
tmp44 = closure _0 ;
someResult = closure _0 . some ( ( _ _h ) => {
try {
_ _h = _ _h . _ _h ;
_ _h . _ _h = [ ] ;
_ _h . some ( ( call ) => {
call = call . call ;
if ( typeof call === "unknown" ) {
call ( ) ;
} else {
call ( _ _h ) ;
}
} ) ;
} catch ( tmp4 ) {
2026-08-24 06:08:38 +00:00
closure _1 _13 . _ _e ( tmp4 , tmp . _ _v ) ;
2026-07-29 08:29:29 +00:00
}
} ) ;
items . length = 0 ;
items1 . length = 0 ;
tmp46 = H ;
sorted1 = arr3 . sort ( H ) ;
}
if ( tmp4 ) {
closure _0 = items ;
num4 = 0 ;
if ( 0 < items1 . length ) {
do {
tmp50 = N ;
sum3 = num4 + 1 ;
sum4 = sum3 + 1 ;
tmp53 = N ( items1 [ num4 ] , items1 [ sum3 ] , items1 [ sum4 ] ) ;
num4 = sum4 + 1 ;
length3 = items1 . length ;
} while ( num4 < length3 ) ;
}
2026-08-24 06:08:38 +00:00
obj4 = closure _13 ;
if ( closure _13 . _ _c ) {
2026-07-29 08:29:29 +00:00
tmp54 = closure _0 ;
_ _cResult2 = obj4 . _ _c ( tmp4 , closure _0 ) ;
}
tmp56 = closure _0 ;
someResult1 = closure _0 . some ( ( _ _h ) => {
try {
_ _h = _ _h . _ _h ;
_ _h . _ _h = [ ] ;
_ _h . some ( ( call ) => {
call = call . call ;
if ( typeof call === "unknown" ) {
call ( ) ;
} else {
call ( _ _h ) ;
}
} ) ;
} catch ( tmp4 ) {
2026-08-24 06:08:38 +00:00
closure _1 _13 . _ _e ( tmp4 , tmp . _ _v ) ;
2026-07-29 08:29:29 +00:00
}
} ) ;
}
C$1 . _ _r = 0 ;
return ;
}
}
function P$1 ( insertBefore , arg1 , _ _k , _ _k2 , arg4 , arg5 , arg6 , arg7 , _ _d , arg9 , arr ) {
let tmp63 ;
_ _k = _ _k2 ;
if ( _ _k2 ) {
_ _k = _ _k2 . _ _k ;
}
if ( ! _ _k ) {
_ _k = items ;
}
_ _k . _ _d = _ _d ;
let length2 = arg1 . length ;
_ _k . _ _k = [ ] ;
let num = 0 ;
let tmp = length3 ;
let num2 = 0 ;
let tmp2 = length3 ;
if ( 0 < length2 ) {
do {
let vnodeResult2 = arg1 [ num2 ] ;
let tmp4 = num ;
let tmp5 = tmp ;
let tmp6 = num2 ;
let tmp7 = null ;
if ( null != vnodeResult2 ) {
tmp7 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof vnodeResult2 !== "boolean" ) {
2026-07-29 08:29:29 +00:00
tmp7 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof vnodeResult2 !== "function" ) {
if ( typeof vnodeResult2 !== "string" ) {
if ( typeof vnodeResult2 !== "number" ) {
if ( typeof vnodeResult2 !== "bigint" ) {
2026-07-29 08:29:29 +00:00
let _String = String ;
if ( vnodeResult2 . constructor != String ) {
tmp = isArray ;
if ( isArray ( vnodeResult2 ) ) {
let tmp17 = g$1 ;
2026-08-24 06:08:38 +00:00
obj = { children : null } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = vnodeResult2 ;
2026-08-05 07:35:12 +00:00
obj = { type : null , props : null , key : null , ref : null , _ _k : null , _ _ : null , _ _b : 0 , _ _e : null , _ _d : "Array" , _ _c : "Array" , constructor : - 1 , _ _v : 0 , _ _i : "5.9.4" , _ _u : 24 } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = g$1 ;
obj [ 1 ] = obj ;
2026-08-24 06:08:38 +00:00
let tmp18 = sum2 ;
let sum = sum2 + 1 ;
sum2 = sum ;
2026-07-29 08:29:29 +00:00
obj [ 11 ] = sum ;
let obj4 = obj ;
let tmp8 = obj ;
if ( null != obj . vnode ) {
let vnodeResult = obj4 . vnode ( obj ) ;
tmp8 = obj ;
}
} else {
tmp8 = vnodeResult2 ;
if ( undefined === vnodeResult2 . constructor ) {
tmp8 = vnodeResult2 ;
if ( vnodeResult2 . _ _b > 0 ) {
let ref = null ;
( { type : type2 , props , key : key2 } = vnodeResult2 ) ;
if ( vnodeResult2 . ref ) {
ref = vnodeResult2 . ref ;
}
let _ _v = vnodeResult2 . _ _v ;
2026-08-05 07:35:12 +00:00
obj = { type : null , props : null , key : null , ref : null , _ _k : null , _ _ : null , _ _b : 0 , _ _e : null , _ _d : "Array" , _ _c : "Array" , constructor : - 1 , _ _v : 0 , _ _i : "5.9.4" , _ _u : 24 } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = type2 ;
obj [ 1 ] = props ;
obj [ 2 ] = key2 ;
obj [ 3 ] = ref ;
let tmp10 = _ _v ;
if ( null == _ _v ) {
2026-08-24 06:08:38 +00:00
let tmp11 = sum2 ;
let sum1 = sum2 + 1 ;
sum2 = sum1 ;
2026-07-29 08:29:29 +00:00
tmp10 = sum1 ;
}
obj [ 11 ] = tmp10 ;
let tmp13 = null == _ _v ;
if ( tmp13 ) {
let tmp14 = obj ;
tmp13 = null != obj . vnode ;
}
tmp8 = obj ;
if ( tmp13 ) {
let tmp15 = obj ;
let vnodeResult1 = obj . vnode ( obj ) ;
tmp8 = obj ;
}
}
}
}
}
let tmp27 = tmp8 ;
}
}
}
2026-08-24 06:08:38 +00:00
obj1 = { type : null , props : null , key : null , ref : null , _ _k : null , _ _ : null , _ _b : 0 , _ _e : null , _ _d : "Array" , _ _c : "Array" , constructor : - 1 , _ _v : 0 , _ _i : "5.9.4" , _ _u : 24 } ;
2026-07-29 08:29:29 +00:00
obj1 [ 1 ] = vnodeResult2 ;
let tmp21 = vnodeResult2 ;
if ( null == vnodeResult2 ) {
2026-08-24 06:08:38 +00:00
let tmp22 = sum2 ;
sum2 = sum2 + 1 ;
2026-07-29 08:29:29 +00:00
tmp21 = sum2 ;
}
obj1 [ 11 ] = tmp21 ;
let tmp24 = null == vnodeResult2 ;
if ( tmp24 ) {
let tmp25 = obj ;
tmp24 = null != obj . vnode ;
}
tmp8 = obj1 ;
if ( tmp24 ) {
let tmp26 = obj ;
vnodeResult2 = obj . vnode ( obj1 ) ;
tmp8 = obj1 ;
}
}
}
}
_ _k . _ _k [ num2 ] = tmp7 ;
if ( null != tmp7 ) {
tmp7 . _ _ = _ _k ;
tmp7 . _ _b = _ _k . _ _b + 1 ;
let sum3 = num2 + num ;
( { key , type } = tmp7 ) ;
let diff = sum3 - 1 ;
let sum4 = sum3 + 1 ;
let tmp38 = _ _k [ sum3 ] ;
let num3 = sum3 ;
if ( null !== tmp38 ) {
if ( tmp38 ) {
let _ _u = tmp38 . key ;
if ( key == _ _u ) {
num3 = sum3 ;
}
}
if ( null == tmp38 ) {
let num4 = 0 ;
} else {
num4 = 1 ;
}
num3 = - 1 ;
if ( tmp > num4 ) {
let tmp39 = sum4 ;
let tmp40 = diff ;
if ( 0 <= diff ) {
while ( true ) {
let tmp41 = tmp39 ;
let tmp42 = tmp40 ;
let diff1 = tmp40 ;
if ( 0 <= tmp40 ) {
let tmp44 = _ _k [ tmp40 ] ;
if ( tmp44 ) {
_ _u = tmp44 . _ _u ;
if ( ! ( 131072 & _ _u ) ) {
if ( key == tmp44 . key ) {
num3 = tmp40 ;
if ( type === tmp44 . type ) {
break ;
}
}
break ;
}
}
diff1 = tmp40 - 1 ;
}
let sum5 = tmp39 ;
if ( tmp39 < _ _k . length ) {
let tmp46 = _ _k [ tmp39 ] ;
if ( tmp46 ) {
_ _u = tmp46 . _ _u ;
if ( ! ( 131072 & _ _u ) ) {
if ( key == tmp46 . key ) {
num3 = tmp39 ;
if ( type === tmp46 . type ) {
break ;
}
}
break ;
}
}
sum5 = tmp39 + 1 ;
}
tmp39 = sum5 ;
tmp40 = diff1 ;
if ( 0 <= diff1 ) {
continue ;
} else {
tmp39 = sum5 ;
tmp40 = diff1 ;
num3 = - 1 ;
if ( sum5 >= _ _k . length ) {
break ;
}
}
continue ;
}
} else {
tmp39 = sum4 ;
tmp40 = diff ;
num3 = - 1 ;
}
}
}
tmp7 . _ _i = num3 ;
let tmp47 = tmp ;
let tmp48 = null ;
if ( - 1 !== num3 ) {
let diff2 = tmp - 1 ;
let tmp50 = _ _k [ num3 ] ;
tmp47 = diff2 ;
tmp48 = tmp50 ;
if ( tmp50 ) {
tmp50 . _ _u = tmp50 . _ _u | 131072 ;
tmp47 = diff2 ;
tmp48 = tmp50 ;
}
}
if ( null != tmp48 ) {
if ( null !== tmp48 . _ _v ) {
let tmp28 = num ;
let diff4 = tmp47 ;
if ( num3 !== sum3 ) {
if ( num3 === sum4 ) {
let num5 = num + 1 ;
} else if ( sum3 < num3 ) {
if ( tmp47 > length2 - sum3 ) {
num5 = num + ( num3 - sum3 ) ;
} else {
num5 = num - 1 ;
}
} else {
num5 = 0 ;
if ( num3 < sum3 ) {
num5 = 0 ;
if ( num3 === diff ) {
num5 = num3 - sum3 ;
}
}
}
tmp28 = num5 ;
diff4 = tmp47 ;
if ( num3 !== num2 + num5 ) {
tmp7 . _ _u = tmp7 . _ _u | 65536 ;
tmp28 = num5 ;
diff4 = tmp47 ;
}
}
}
}
let diff3 = num ;
if ( - 1 === num3 ) {
diff3 = num - 1 ;
}
tmp28 = diff3 ;
diff4 = tmp47 ;
2026-08-04 21:03:28 +00:00
if ( typeof tmp7 . type !== "function" ) {
2026-07-29 08:29:29 +00:00
tmp7 . _ _u = tmp7 . _ _u | 65536 ;
tmp28 = diff3 ;
diff4 = tmp47 ;
}
} else {
tmp = _ _k [ num2 ] ;
let _ _e = tmp ;
if ( tmp ) {
_ _e = null == tmp . key ;
}
if ( _ _e ) {
_ _e = tmp . _ _e ;
}
tmp28 = num ;
diff4 = tmp ;
if ( _ _e ) {
if ( tmp . _ _e == _ _k . _ _d ) {
tmp = null ;
if ( ! tmp . _ _ ) {
_ _k . _ _d = null ;
} else {
let _ _ = tmp . _ _ ;
let sum6 = tmp . _ _i + 1 ;
if ( sum6 < _ _ . _ _k . length ) {
while ( true ) {
_ _u = _ _ . _ _k [ sum6 ] ;
let tmp31 = sum6 ;
if ( null == _ _u ) {
sum6 = sum6 + 1 ;
let _ _e2 = _ _u . _ _e ;
break ;
} else if ( null != _ _u . _ _e ) {
break ;
}
}
}
let tmp32 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _ . type === "function" ) {
2026-07-29 08:29:29 +00:00
tmp = m$1 ;
tmp32 = m$1 ( _ _ ) ;
}
}
}
let tmp33 = O ;
let tmp34 = O ( tmp , tmp , false ) ;
_ _k [ num2 ] = null ;
diff4 = tmp - 1 ;
tmp28 = num ;
}
}
num2 = num2 + 1 ;
num = tmp28 ;
tmp = diff4 ;
tmp2 = diff4 ;
} while ( num2 < length2 ) ;
}
if ( tmp2 ) {
for ( let num6 = 0 ; num6 < length3 ; num6 = num6 + 1 ) {
let tmp52 = _ _k [ num6 ] ;
let tmp53 = null != tmp52 ;
let tmp54 = num6 ;
if ( tmp53 ) {
tmp53 = ! ( 131072 & tmp52 . _ _u ) ;
}
if ( tmp53 ) {
if ( tmp52 . _ _e == _ _k . _ _d ) {
tmp = null ;
if ( ! tmp52 . _ _ ) {
_ _k . _ _d = null ;
} else {
let _ _2 = tmp52 . _ _ ;
let sum7 = tmp52 . _ _i + 1 ;
if ( sum7 < _ _2 . _ _k . length ) {
while ( true ) {
length2 = _ _2 . _ _k [ sum7 ] ;
let tmp56 = sum7 ;
if ( null == length2 ) {
sum7 = sum7 + 1 ;
let _ _e3 = length2 . _ _e ;
break ;
} else if ( null != length2 . _ _e ) {
break ;
}
}
}
let tmp57 = null ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _2 . type === "function" ) {
2026-07-29 08:29:29 +00:00
tmp = m$1 ;
tmp57 = m$1 ( _ _2 ) ;
}
}
}
let tmp58 = O ;
let tmp59 = O ( tmp52 , tmp52 ) ;
}
}
}
let _ _ _d = _ _k . _ _d ;
let num7 = 0 ;
let tmp61 ;
let tmp62 = _ _ _d ;
if ( 0 < arg1 . length ) {
while ( true ) {
tmp63 = _ _k . _ _k [ num7 ] ;
let tmp64 = null != tmp63 ;
let tmp65 = tmp60 ;
let tmp66 = num7 ;
let tmp67 = _ _ _d ;
if ( tmp64 ) {
2026-08-04 21:03:28 +00:00
tmp64 = typeof tmp63 !== "boolean" ;
2026-07-29 08:29:29 +00:00
}
if ( tmp64 ) {
2026-08-04 21:03:28 +00:00
tmp64 = typeof tmp63 !== "function" ;
2026-07-29 08:29:29 +00:00
}
let tmp68 = tmp65 ;
let tmp69 = tmp67 ;
if ( tmp64 ) {
break ;
} else {
num7 = num7 + 1 ;
tmp60 = tmp65 ;
_ _ _d = tmp67 ;
tmp61 = tmp65 ;
tmp62 = tmp67 ;
}
}
if ( - 1 === tmp63 . _ _i ) {
let tmp70 = closure _19 ;
} else {
tmp70 = _ _k [ tmp63 . _ _i ] || closure _19 ;
}
tmp63 . _ _i = num7 ;
M ( insertBefore , tmp63 , tmp70 , arg4 , arg5 , arg6 , arg7 , tmp67 , arg9 , arr ) ;
const _ _e4 = tmp63 . _ _e ;
if ( tmp83 ) {
if ( tmp70 . ref ) {
N ( tmp70 . ref , null , tmp63 ) ;
}
let _ _c = tmp63 . _ _c ;
if ( ! _ _c ) {
_ _c = _ _e4 ;
}
arr . push ( tmp63 . ref , _ _c , tmp63 ) ;
}
if ( tmp87 ) {
tmp65 = _ _e4 ;
}
if ( ! ( 65536 & tmp63 . _ _u ) ) {
if ( tmp70 . _ _k !== tmp63 . _ _k ) {
2026-08-04 21:03:28 +00:00
if ( typeof tmp63 . type !== "function" ) {
2026-07-29 08:29:29 +00:00
let _ _ _d2 = tmp67 ;
if ( _ _e4 ) {
_ _ _d2 = _ _e4 . nextSibling ;
}
tmp63 . _ _d = undefined ;
tmp63 . _ _u = tmp63 . _ _u & - 196609 ;
tmp = _ _ _d2 ;
tmp = tmp65 ;
}
_ _ _d2 = tmp63 . _ _d ;
}
}
2026-08-04 21:03:28 +00:00
if ( typeof tmp63 . type === "function" ) {
2026-07-29 08:29:29 +00:00
const _ _k1 = tmp63 . _ _k ;
let tmp92 = tmp67 ;
if ( _ _k1 ) {
let num8 = 0 ;
let tmp93 = tmp67 ;
tmp92 = tmp67 ;
if ( 0 < _ _k1 . length ) {
tmp67 = _ _k1 [ num8 ] ;
let tmp95 = tmp93 ;
while ( ! tmp67 ) {
tmp92 = tmp95 ;
if ( _ _k1 ) {
num8 = num8 + 1 ;
tmp93 = tmp95 ;
tmp92 = tmp95 ;
}
continue ;
}
_ _k1 [ num8 ] . _ _ = tmp63 ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _k1 [ num8 ] . type === "function" ) {
2026-07-29 08:29:29 +00:00
_ _k2 = tmp97 . _ _k ;
tmp = tmp95 ;
if ( _ _k2 ) {
let num9 = 0 ;
tmp = tmp95 ;
tmp = tmp95 ;
if ( 0 < _ _k2 . length ) {
while ( true ) {
tmp95 = _ _k2 [ num9 ] ;
tmp = num9 ;
if ( tmp95 ) {
_ _k2 [ num9 ] . _ _ = tmp97 ;
tmp = $ ;
tmp = $ ( _ _k2 [ num9 ] , tmp , insertBefore ) ;
}
if ( ! _ _k2 ) {
break ;
} else {
num9 = num9 + 1 ;
if ( num9 >= _ _k2 . length ) {
break ;
}
}
}
}
}
} else {
let _ _e6 = tmp95 ;
if ( tmp97 . _ _e != tmp95 ) {
let tmp98 = tmp95 ;
if ( ! tmp95 ) {
tmp98 = null ;
}
insertBefore . insertBefore ( tmp97 . _ _e , tmp98 ) ;
_ _e6 = tmp97 . _ _e ;
}
while ( true ) {
tmp = _ _e6 ;
let nextSibling2 = _ _e6 ;
if ( _ _e6 ) {
nextSibling2 = _ _e6 . nextSibling ;
}
tmp = nextSibling2 ;
if ( null == nextSibling2 ) {
break ;
} else {
_ _e6 = nextSibling2 ;
tmp = nextSibling2 ;
if ( 8 === nextSibling2 . nodeType ) {
continue ;
} else {
break ;
}
break ;
}
}
}
}
}
let tmp91 = tmp92 ;
} else {
let _ _e5 = tmp67 ;
if ( tmp63 . _ _e != tmp67 ) {
let tmp88 = tmp67 ;
if ( ! tmp67 ) {
tmp88 = null ;
}
insertBefore . insertBefore ( tmp63 . _ _e , tmp88 ) ;
_ _e5 = tmp63 . _ _e ;
}
while ( true ) {
let tmp90 = _ _e5 ;
let nextSibling = _ _e5 ;
if ( _ _e5 ) {
nextSibling = _ _e5 . nextSibling ;
}
tmp91 = nextSibling ;
if ( null == nextSibling ) {
break ;
} else {
_ _e5 = nextSibling ;
tmp91 = nextSibling ;
if ( 8 === nextSibling . nodeType ) {
continue ;
} else {
break ;
}
break ;
}
}
}
tmp = tmp91 ;
tmp83 = tmp63 . ref && tmp70 . ref != tmp63 . ref ;
tmp87 = null == tmp65 && null != _ _e4 ;
}
_ _k . _ _d = tmp62 ;
_ _k . _ _e = tmp61 ;
}
function $ ( type , arg1 , insertBefore ) {
let nextSibling ;
2026-08-04 21:03:28 +00:00
if ( typeof type . type === "function" ) {
2026-07-29 08:29:29 +00:00
const _ _k = type . _ _k ;
let tmp4 = arg1 ;
if ( _ _k ) {
let num = 0 ;
let tmp5 = arg1 ;
tmp4 = arg1 ;
if ( 0 < _ _k . length ) {
while ( true ) {
let tmp6 = num ;
let tmp7 = tmp5 ;
let tmp8 = tmp5 ;
if ( _ _k [ num ] ) {
_ _k [ num ] . _ _ = type ;
let tmp9 = $ ;
tmp8 = $ ( _ _k [ num ] , tmp5 , insertBefore ) ;
}
tmp4 = tmp8 ;
if ( ! _ _k ) {
break ;
} else {
num = num + 1 ;
tmp5 = tmp8 ;
tmp4 = tmp8 ;
if ( num >= _ _k . length ) {
break ;
}
}
}
}
}
return tmp4 ;
} else {
let _ _e = arg1 ;
if ( type . _ _e != arg1 ) {
let tmp = arg1 ;
if ( ! arg1 ) {
tmp = null ;
}
insertBefore . insertBefore ( type . _ _e , tmp ) ;
_ _e = type . _ _e ;
}
while ( true ) {
let tmp3 = _ _e ;
nextSibling = _ _e ;
if ( _ _e ) {
nextSibling = _ _e . nextSibling ;
}
if ( null == nextSibling ) {
break ;
} else {
_ _e = nextSibling ;
if ( 8 !== nextSibling . nodeType ) {
break ;
}
}
}
return nextSibling ;
}
}
2026-08-04 21:03:28 +00:00
function T$1 ( style , key10064 , num ) {
2026-07-29 08:29:29 +00:00
if ( "-" === key10064 [ 0 ] ) {
let str3 = "" ;
2026-08-04 21:03:28 +00:00
if ( null != num ) {
str3 = num ;
2026-07-29 08:29:29 +00:00
}
style . setProperty ( key10064 , str3 ) ;
} else {
let str = "" ;
2026-08-04 21:03:28 +00:00
if ( null != num ) {
let text = num ;
if ( typeof num === "number" ) {
text = num ;
2026-07-29 08:29:29 +00:00
if ( ! regex . test ( key10064 ) ) {
2026-08-04 21:03:28 +00:00
text = ` ${ num } px ` ;
2026-07-29 08:29:29 +00:00
}
}
str = text ;
}
style [ key10064 ] = str ;
}
}
2026-08-04 21:03:28 +00:00
function A$1 ( iter , checked , str , checked2 , flag ) {
str = checked2 ;
2026-07-29 08:29:29 +00:00
if ( "style" === checked ) {
2026-08-04 21:03:28 +00:00
if ( typeof str === "string" ) {
iter . style . cssText = str ;
2026-07-29 08:29:29 +00:00
} else {
2026-08-04 21:03:28 +00:00
if ( typeof str === "string" ) {
2026-07-29 08:29:29 +00:00
iter . style . cssText = "" ;
str = "" ;
}
if ( str ) {
for ( const key10064 in str ) {
let tmp21 = key10064 ;
let tmp13 = arg2 ;
if ( arg2 ) {
tmp13 = key10064 in arg2 ;
}
if ( tmp13 ) {
continue ;
} else {
let tmp14 = T$1 ;
let tmp15 = T$1 ( arg0 . style , key10064 , "" ) ;
continue ;
}
continue ;
}
}
2026-08-04 21:03:28 +00:00
if ( str ) {
2026-07-29 08:29:29 +00:00
for ( const key10072 in arg2 ) {
let tmp22 = key10072 ;
let tmp17 = str ;
if ( str ) {
tmp17 = arg2 [ key10072 ] === str [ key10072 ] ;
}
if ( tmp17 ) {
continue ;
} else {
let tmp18 = T$1 ;
let tmp19 = T$1 ( arg0 . style , key10072 , arg2 [ key10072 ] ) ;
continue ;
}
continue ;
}
}
}
} else {
if ( "o" === checked [ 0 ] ) {
if ( "n" === checked [ 1 ] ) {
const str11 = checked . replace ( /(PointerCapture)$|Capture$/i , "$1" ) ;
if ( str11 . toLowerCase ( ) in iter ) {
const formatted = str11 . toLowerCase ( ) ;
let substr = formatted . slice ( 2 ) ;
} else {
substr = str11 . slice ( 2 ) ;
}
if ( ! iter . l ) {
iter . l = { } ;
}
2026-08-04 21:03:28 +00:00
iter . l [ substr + ( checked !== str11 ) ] = str ;
if ( str ) {
2026-07-29 08:29:29 +00:00
if ( str ) {
2026-08-04 21:03:28 +00:00
str . u = str . u ;
2026-07-29 08:29:29 +00:00
} else {
const _Date = Date ;
2026-08-04 21:03:28 +00:00
str . u = Date . now ( ) ;
2026-07-29 08:29:29 +00:00
const listener = iter . addEventListener ( substr , tmp8 ? L : D$1 , tmp8 ) ;
}
} else {
const removed = iter . removeEventListener ( substr , tmp8 ? L : D$1 , tmp8 ) ;
}
}
}
if ( flag ) {
let replaced = checked . replace ( /xlink(H|:h)/ , "h" ) . replace ( /sName$/ , "s" ) ;
const str7 = checked . replace ( /xlink(H|:h)/ , "h" ) ;
} else {
replaced = checked ;
if ( "width" !== checked ) {
replaced = checked ;
if ( "height" !== checked ) {
replaced = checked ;
if ( "href" !== checked ) {
replaced = checked ;
if ( "list" !== checked ) {
replaced = checked ;
if ( "form" !== checked ) {
replaced = checked ;
if ( "tabIndex" !== checked ) {
replaced = checked ;
if ( "download" !== checked ) {
replaced = checked ;
if ( "rowSpan" !== checked ) {
replaced = checked ;
if ( "colSpan" !== checked ) {
replaced = checked ;
if ( "role" !== checked ) {
replaced = checked ;
if ( checked in iter ) {
try {
let str5 = "" ;
2026-08-04 21:03:28 +00:00
if ( null != str ) {
str5 = str ;
2026-07-29 08:29:29 +00:00
}
iter [ checked ] = str5 ;
} catch ( err ) {
replaced = tmp ;
}
}
}
}
}
}
}
}
}
}
}
}
}
2026-08-04 21:03:28 +00:00
if ( typeof str !== "function" ) {
if ( null == str ) {
2026-07-29 08:29:29 +00:00
iter . removeAttribute ( replaced ) ;
} else {
2026-08-04 21:03:28 +00:00
const attr = iter . setAttribute ( replaced , str ) ;
2026-07-29 08:29:29 +00:00
}
}
}
}
function D$1 ( items ) {
if ( this . l ) {
if ( ! items . t ) {
const _Date = Date ;
items . t = Date . now ( ) ;
}
let eventResult = items ;
if ( obj . event ) {
eventResult = obj . event ( items ) ;
}
return tmp . l [ items . type + false ] ( eventResult ) ;
}
}
function L ( items ) {
if ( this . l ) {
const l = tmp . l ;
let eventResult = items ;
if ( obj . event ) {
eventResult = obj . event ( items ) ;
}
return l [ items . type + true ] ( eventResult ) ;
}
}
function M ( _ _P , type , _ _u , _ _s2 , flag , arg5 , arr ) {
let length ;
let length2 ;
let sum ;
2026-08-24 06:08:38 +00:00
closure _0 = type ;
2026-07-29 08:29:29 +00:00
let tmp5 = _ _s2 ;
type = type . type ;
if ( undefined !== type . constructor ) {
let componentWillMountResult = null ;
return null ;
} else {
componentWillMountResult = _ _u ;
let tmp9 = arg5 ;
let tmp8 = arg7 ;
let tmp7 = arg8 ;
if ( 128 & _ _u . _ _u ) {
tmp7 = 32 & _ _u . _ _u ;
const _ _e = _ _u . _ _e ;
type . _ _e = _ _e ;
2026-08-24 06:08:38 +00:00
items = [ _ _e ] ;
2026-07-29 08:29:29 +00:00
tmp8 = _ _e ;
tmp9 = items ;
}
const _ _b = obj . _ _b ;
if ( _ _b ) {
tmp11 ( type ) ;
}
2026-08-04 21:03:28 +00:00
if ( typeof type === "function" ) {
2026-07-29 08:29:29 +00:00
try {
const props = type . props ;
const contextType = type . contextType ;
obj = contextType ;
if ( contextType ) {
if ( obj ) {
let _ _ = obj . props . value ;
} else {
_ _ = tmp26 . _ _ ;
}
} else {
if ( _ _u . _ _c ) {
const _ _c = _ _u . _ _c ;
type . _ _c = _ _c ;
2026-08-24 06:08:38 +00:00
obj1 = _ _c ;
2026-07-29 08:29:29 +00:00
obj = _ _c ;
const _ _E = _ _c . _ _E ;
_ _c . _ _ = _ _E ;
const tmp6 = _ _E ;
} else {
if ( "prototype" in type ) {
if ( type . prototype . render ) {
type = new type ( props , tmp35 ) ;
obj1 = type ;
obj = type ;
type . _ _c = type ;
}
if ( obj ) {
obj . sub ( obj1 ) ;
}
obj1 . props = props ;
if ( ! obj1 . state ) {
obj1 . state = { } ;
}
obj1 . context = tmp35 ;
obj1 . _ _n = tmp5 ;
obj1 . _ _d = true ;
flag = true ;
obj1 . _ _h = [ ] ;
obj1 . _sb = [ ] ;
}
obj = Object . create ( b$1 . prototype ) ;
new b$1 ( props , tmp35 ) ;
obj1 = obj ;
type . _ _c = obj ;
obj . constructor = type ;
obj . render = q$1 ;
}
if ( null == obj1 . _ _s ) {
obj1 . _ _s = obj1 . state ;
}
if ( null != type . getDerivedStateFromProps ) {
if ( obj1 . _ _s == obj1 . state ) {
obj = { } ;
v$1 ( obj , obj1 . _ _s ) ;
obj1 . _ _s = obj ;
}
v$1 ( obj1 . _ _s , type . getDerivedStateFromProps ( props , obj1 . _ _s ) ) ;
}
const props2 = obj1 . props ;
const state = obj1 . state ;
obj1 . _ _v = type ;
let tmp74 = null == type . getDerivedStateFromProps ;
if ( flag ) {
if ( tmp74 ) {
componentWillMountResult = obj1 ;
tmp74 = null != obj1 . componentWillMount ;
}
if ( tmp74 ) {
componentWillMountResult = obj1 ;
componentWillMountResult = obj1 . componentWillMount ( ) ;
}
componentWillMountResult = obj1 ;
if ( null != obj1 . componentDidMount ) {
componentWillMountResult = obj1 ;
const _ _h = obj1 . _ _h ;
componentWillMountResult = _ _h . push ( obj1 . componentDidMount ) ;
}
} else {
let tmp75 = tmp74 ;
if ( tmp74 ) {
tmp75 = props !== tmp71 ;
}
if ( tmp75 ) {
tmp75 = null != obj1 . componentWillReceiveProps ;
}
if ( tmp75 ) {
const result = obj1 . componentWillReceiveProps ( props , tmp35 ) ;
}
if ( ! obj1 . _ _e ) {
if ( type . _ _v !== _ _u . _ _v ) {
obj1 . props = props ;
obj1 . state = obj1 . _ _s ;
obj1 . _ _d = false ;
}
( { _ _e : type . _ _e , _ _k : type . _ _k } = _ _u ) ;
const _ _k = type . _ _k ;
const item = _ _k . forEach ( ( arg0 ) => {
if ( arg0 ) {
arg0 . _ _ = closure _0 ;
}
} ) ;
let num3 = 0 ;
if ( 0 < obj1 . _sb . length ) {
do {
let tmp92 = obj1 ;
let _ _h1 = obj1 . _ _h ;
let tmp93 = num3 ;
arr = _ _h1 . push ( obj1 . _sb [ num3 ] ) ;
sum = num3 + 1 ;
num3 = sum ;
length = obj1 . _sb . length ;
} while ( sum < length ) ;
}
obj1 . _sb = [ ] ;
if ( obj1 . _ _h . length ) {
arr = arr . push ( obj1 ) ;
}
}
if ( null != obj1 . componentWillUpdate ) {
componentWillMountResult = obj1 ;
componentWillMountResult = props ;
componentWillMountResult = tmp30 ;
componentWillMountResult = obj1 . componentWillUpdate ( props , obj1 . _ _s , tmp35 ) ;
}
componentWillMountResult = obj1 ;
if ( null != obj1 . componentDidUpdate ) {
componentWillMountResult = obj1 ;
const _ _h2 = obj1 . _ _h ;
componentWillMountResult = _ _h2 . push ( ( ) => {
obj . componentDidUpdate ( props2 , state , closure _4 ) ;
} ) ;
}
}
componentWillMountResult = _ _P ;
componentWillMountResult = obj1 ;
obj1 . context = tmp5 ;
obj1 . props = props ;
obj1 . _ _P = _ _P ;
obj1 . _ _e = false ;
const _ _ _r = obj . _ _r ;
let num5 = 0 ;
if ( "prototype" in type ) {
if ( type . prototype . render ) {
componentWillMountResult = obj1 ;
obj1 . state = obj1 . _ _s ;
obj1 . _ _d = false ;
componentWillMountResult = _ _ _r ;
if ( _ _ _r ) {
componentWillMountResult = _ _ _r ( type ) ;
}
componentWillMountResult = obj1 ;
let element = obj1 . render ( obj1 . props , obj1 . state , obj1 . context ) ;
let num7 = 0 ;
if ( 0 < obj1 . _sb . length ) {
do {
componentWillMountResult = obj1 ;
let _ _h3 = obj1 . _ _h ;
componentWillMountResult = num7 ;
componentWillMountResult = _ _h3 . push ( obj1 . _sb [ num7 ] ) ;
componentWillMountResult = num7 + 1 ;
num7 = componentWillMountResult ;
length2 = obj1 . _sb . length ;
} while ( componentWillMountResult < length2 ) ;
}
componentWillMountResult = obj1 ;
obj1 . _sb = [ ] ;
}
componentWillMountResult = obj1 ;
obj1 . state = obj1 . _ _s ;
if ( null != obj1 . getChildContext ) {
componentWillMountResult = v$1 ;
obj1 = { } ;
componentWillMountResult = tmp5 ;
componentWillMountResult = v$1 ( obj1 , tmp5 ) ;
componentWillMountResult = obj1 ;
componentWillMountResult = v$1 ( obj1 , obj1 . getChildContext ( ) ) ;
tmp5 = obj1 ;
}
if ( ! flag ) {
componentWillMountResult = obj1 ;
flag = null == obj1 . getSnapshotBeforeUpdate ;
}
if ( ! flag ) {
componentWillMountResult = obj1 ;
const snapshotBeforeUpdate = obj1 . getSnapshotBeforeUpdate ( props2 , state ) ;
}
componentWillMountResult = element ;
if ( null != element ) {
componentWillMountResult = element ;
componentWillMountResult = g$1 ;
if ( element . type === g$1 ) {
componentWillMountResult = element ;
if ( null == element . key ) {
componentWillMountResult = element ;
let children = element . props . children ;
}
componentWillMountResult = children ;
if ( componentWillMountResult ( children ) ) {
let items1 = children ;
} else {
items1 = [ children ] ;
}
componentWillMountResult = tmp5 ;
componentWillMountResult = _ _P ;
componentWillMountResult = items1 ;
componentWillMountResult = type ;
componentWillMountResult = _ _u ;
componentWillMountResult = flag ;
componentWillMountResult = tmp9 ;
componentWillMountResult = arr ;
componentWillMountResult = tmp8 ;
componentWillMountResult = tmp7 ;
componentWillMountResult = arg9 ;
componentWillMountResult = componentWillMountResult ( _ _P , items1 , type , _ _u , tmp5 , flag , tmp9 , arr , tmp8 , tmp7 , arg9 ) ;
componentWillMountResult = obj1 ;
obj1 . base = type . _ _e ;
type . _ _u = type . _ _u & - 161 ;
if ( obj1 . _ _h . length ) {
componentWillMountResult = obj1 ;
componentWillMountResult = arr . push ( obj1 ) ;
}
if ( tmp6 ) {
obj1 . _ _ = null ;
obj1 . _ _E = null ;
}
}
}
children = element ;
}
while ( true ) {
componentWillMountResult = obj1 ;
obj1 . _ _d = false ;
componentWillMountResult = _ _ _r ;
if ( _ _ _r ) {
componentWillMountResult = _ _ _r ;
componentWillMountResult = _ _ _r ( type ) ;
}
componentWillMountResult = obj1 ;
element = obj1 . render ( obj1 . props , obj1 . state , obj1 . context ) ;
obj1 . state = obj1 . _ _s ;
if ( ! obj1 . _ _d ) {
break ;
} else {
componentWillMountResult = num5 ;
componentWillMountResult = num5 + 1 ;
num5 = componentWillMountResult ;
if ( componentWillMountResult < 25 ) {
continue ;
} else {
break ;
}
break ;
}
}
}
} catch ( componentWillMountResult ) {
componentWillMountResult = null ;
componentWillMountResult . _ _v = null ;
if ( ! tmp4 ) {
if ( componentWillMountResult == arr ) {
( { _ _e : tmp . _ _e , _ _k : tmp . _ _k } = tmp2 ) ;
}
componentWillMountResult = obj ;
componentWillMountResult = obj . _ _e ( componentWillMountResult , componentWillMountResult , tmp2 ) ;
}
componentWillMountResult . _ _e = tmp3 ;
let num9 = 32 ;
if ( tmp4 ) {
num9 = 160 ;
}
componentWillMountResult . _ _u = componentWillMountResult . _ _u | num9 ;
arr [ arr . indexOf ( tmp3 ) ] = componentWillMountResult ;
}
} else {
componentWillMountResult = null ;
if ( null == tmp9 ) {
if ( type . _ _v === _ _u . _ _v ) {
( { _ _k : type . _ _k , _ _e : type . _ _e } = _ _u ) ;
}
}
type . _ _e = z$1 ( _ _u . _ _e , type , _ _u , tmp5 , flag , tmp9 , arr , tmp7 , arg9 ) ;
}
componentWillMountResult = obj ;
const diffed = obj . diffed ;
componentWillMountResult = diffed ;
if ( diffed ) {
componentWillMountResult = diffed ( type ) ;
}
}
}
function z$1 ( _ _e , type , props , _ _s2 , flag , arg5 , arr , arg7 , arg8 ) {
let length ;
let tmp ;
let tmp30 ;
let tmp73 ;
( { props , type } = type ) ;
if ( "svg" === type ) {
flag = true ;
}
let iter = _ _e ;
if ( null != arg5 ) {
let num = 0 ;
let num3 = 3 ;
iter = _ _e ;
if ( 0 < arg5 . length ) {
while ( true ) {
tmp = arg5 [ num ] ;
let tmp2 = num ;
if ( tmp ) {
if ( "setAttribute" in tmp === type ) {
if ( type ) {
let tmp3 = tmp . localName === type ;
} else {
tmp3 = num3 === tmp . nodeType ;
}
if ( tmp3 ) {
break ;
}
}
}
num = num + 1 ;
iter = _ _e ;
}
arg5 [ num ] = null ;
iter = tmp ;
}
}
let tmp4 = arg7 ;
if ( null != iter ) {
if ( null === type ) {
let tmp91 = props . props === props ;
if ( ! tmp91 ) {
if ( tmp4 ) {
tmp4 = iter . data === props ;
}
tmp91 = tmp4 ;
}
if ( ! tmp91 ) {
iter . data = props ;
}
} else if ( ! arg5 ) {
let iter2 = tmp10 ;
if ( ! tmp4 ) {
iter2 = tmp10 ;
if ( null != arg5 ) {
2026-08-24 06:08:38 +00:00
obj = { } ;
2026-07-29 08:29:29 +00:00
num3 = 0 ;
iter2 = obj ;
if ( 0 < iter . attributes . length ) {
do {
let iter3 = iter . attributes [ num3 ] ;
obj [ iter3 . name ] = iter3 . value ;
num3 = num3 + 1 ;
iter2 = obj ;
length = iter . attributes . length ;
} while ( num3 < length ) ;
}
}
}
const keys = Object . keys ( ) ;
if ( keys !== undefined ) {
while ( keys [ num3 ] !== undefined ) {
let tmp95 = iter2 [ tmp16 ] ;
if ( "children" == tmp16 ) {
continue ;
} else {
let tmp17 = tmp95 ;
if ( "dangerouslySetInnerHTML" != tmp16 ) {
let tmp18 = "key" === tmp16 || tmp16 in props ;
tmp17 = tmp15 ;
if ( ! tmp18 ) {
let tmp19 = A$1 ;
let tmp20 = iter ;
let tmp21 = tmp16 ;
let tmp22 = null ;
let tmp23 = tmp95 ;
let tmp24 = flag ;
let tmp25 = A$1 ( iter , tmp94 , null , tmp95 , flag ) ;
tmp17 = tmp15 ;
}
}
let tmp12 = tmp17 ;
continue ;
}
continue ;
}
}
let tmp34 ;
const keys1 = Object . keys ( ) ;
if ( keys1 !== undefined ) {
tmp34 = tmp30 ;
while ( keys1 [ num3 ] !== undefined ) {
let tmp97 = props [ tmp40 ] ;
let tmp29 = tmp97 ;
if ( "children" == tmp40 ) {
continue ;
} else {
let tmp27 = tmp36 ;
let tmp28 = tmp37 ;
tmp29 = tmp38 ;
tmp30 = tmp97 ;
if ( "dangerouslySetInnerHTML" == tmp40 ) {
continue ;
} else {
tmp27 = tmp36 ;
tmp28 = tmp97 ;
tmp29 = tmp38 ;
tmp30 = tmp39 ;
if ( "value" == tmp40 ) {
continue ;
} else {
tmp27 = tmp97 ;
tmp28 = tmp37 ;
tmp29 = tmp38 ;
tmp30 = tmp39 ;
if ( "checked" == tmp40 ) {
continue ;
} else {
let tmp41 = "key" === tmp40 ;
if ( ! tmp41 ) {
let tmp42 = tmp4 ;
if ( tmp4 ) {
2026-08-04 21:03:28 +00:00
tmp42 = typeof tmp97 !== "function" ;
2026-07-29 08:29:29 +00:00
}
tmp41 = tmp42 ;
}
if ( ! tmp41 ) {
tmp41 = iter2 [ tmp40 ] === tmp97 ;
}
tmp27 = tmp36 ;
tmp28 = tmp37 ;
tmp29 = tmp38 ;
tmp30 = tmp39 ;
if ( tmp41 ) {
continue ;
} else {
let tmp43 = A$1 ;
let tmp44 = iter ;
let tmp45 = tmp40 ;
let tmp46 = tmp97 ;
let tmp47 = flag ;
let tmp48 = A$1 ( iter , tmp96 , tmp97 , iter2 [ tmp40 ] , flag ) ;
tmp27 = tmp36 ;
tmp28 = tmp37 ;
tmp29 = tmp38 ;
tmp30 = tmp39 ;
continue ;
}
continue ;
}
continue ;
}
continue ;
}
continue ;
}
continue ;
}
}
if ( tmp34 ) {
let tmp75 = tmp4 ;
if ( ! tmp4 ) {
let tmp76 = tmp13 ;
if ( tmp13 ) {
tmp76 = tmp34 . _ _html === tmp13 . _ _html || tmp34 . _ _html === iter . innerHTML ;
const tmp77 = tmp34 . _ _html === tmp13 . _ _html || tmp34 . _ _html === iter . innerHTML ;
}
tmp75 = tmp76 ;
}
if ( ! tmp75 ) {
iter . innerHTML = tmp34 . _ _html ;
}
type . _ _k = [ ] ;
} else {
if ( tmp13 ) {
iter . innerHTML = "" ;
}
2026-08-24 06:08:38 +00:00
items = isArray ( tmp33 ) ;
2026-07-29 08:29:29 +00:00
let tmp51 = tmp33 ;
if ( ! items ) {
items = [ tmp33 ] ;
tmp51 = items ;
}
let tmp52 = flag ;
if ( flag ) {
tmp52 = "foreignObject" !== type ;
}
if ( arg5 ) {
const first = 32 ;
} else if ( props . _ _k ) {
let num5 = 0 ;
if ( 0 < props . _ _k . length ) {
while ( true ) {
items = props . _ _k [ num5 ] ;
let tmp54 = num5 ;
if ( null == items ) {
num5 = num5 + 1 ;
_ _e = items . _ _e ;
break ;
} else if ( null != items . _ _e ) {
break ;
}
}
}
2026-08-04 21:03:28 +00:00
if ( typeof props . type === "function" ) {
2026-07-29 08:29:29 +00:00
let tmp57 = null ;
if ( props . _ _ ) {
tmp57 = m$1 ( props . _ _ , props . _ _i + 1 ) ;
}
}
}
P$1 ( iter , tmp51 , type , props , _ _s2 , tmp52 , arg5 , arr , first , tmp4 , arg8 ) ;
if ( null != arg5 ) {
let diff = tmp98 - 1 ;
if ( + arg5 . length ) {
do {
let tmp70 = diff ;
if ( null != arg5 [ diff ] ) {
let tmp71 = arg5 [ diff ] ;
let parentNode = tmp71 . parentNode ;
if ( parentNode ) {
let removeChildResult = parentNode . removeChild ( tmp71 ) ;
}
}
tmp73 = + diff ;
diff = tmp73 - 1 ;
} while ( tmp73 ) ;
}
}
const tmp49 = P$1 ;
}
if ( ! tmp4 ) {
let tmp78 = undefined !== tmp32 ;
if ( tmp78 ) {
let tmp79 = tmp32 !== iter . value ;
if ( ! tmp79 ) {
tmp79 = "progress" === type && ! tmp32 ;
const tmp80 = "progress" === type && ! tmp32 ;
}
if ( ! tmp79 ) {
tmp79 = "option" === type && tmp32 !== iter2 . value ;
const tmp81 = "option" === type && tmp32 !== iter2 . value ;
}
tmp78 = tmp79 ;
}
if ( tmp78 ) {
A$1 ( iter , "value" , tmp32 , iter2 . value , false ) ;
}
if ( tmp86 ) {
A$1 ( iter , "checked" , tmp31 , iter2 . checked , false ) ;
}
tmp86 = undefined !== tmp31 && tmp31 !== iter . checked ;
}
} else {
const call = slice . call ;
const childNodes = iter . childNodes ;
typeof call === "unknown" ? slice ( ) : call ( childNodes ) ;
const tmp8 = slice ;
}
return iter ;
} else if ( null === type ) {
const _document = document ;
return document . createTextNode ( props ) ;
} else {
const _document2 = document ;
if ( flag ) {
let elementNS = _document2 . createElementNS ( "http://www.w3.org/2000/svg" , type ) ;
} else {
let is = props . is ;
if ( is ) {
is = props ;
}
elementNS = < type { ... ... is } / > ;
}
}
}
2026-08-04 21:03:28 +00:00
function N ( fn , current , _ _v ) {
2026-07-29 08:29:29 +00:00
try {
2026-08-04 21:03:28 +00:00
if ( typeof fn === "function" ) {
fn ( current ) ;
2026-07-29 08:29:29 +00:00
} else {
2026-08-04 21:03:28 +00:00
fn . current = current ;
2026-07-29 08:29:29 +00:00
}
} catch ( tmp4 ) {
obj . _ _e ( tmp4 , _ _v ) ;
}
}
function O ( ref , _ _v ) {
if ( obj . unmount ) {
obj . unmount ( ref ) ;
}
if ( ref . ref ) {
if ( ! tmp2 ) {
N ( ref , null , _ _v ) ;
}
tmp2 = ref . current && ref . current !== ref . _ _e ;
}
const _ _c = ref . _ _c ;
if ( null == _ _c ) {
let tmp9 = arg2 ;
const _ _k = ref . _ _k ;
if ( _ _k ) {
for ( let num = 0 ; num < _ _k . length ; num = num + 1 ) {
let tmp10 = num ;
if ( _ _k [ num ] ) {
let tmp12 = tmp9 ;
let tmp11 = O ;
if ( ! tmp9 ) {
2026-08-04 21:03:28 +00:00
tmp12 = typeof ref . type !== "function" ;
2026-07-29 08:29:29 +00:00
}
let tmp11Result = tmp11 ( _ _k [ num ] , _ _v , tmp12 ) ;
}
}
}
if ( ! tmp9 ) {
tmp9 = null == ref . _ _e ;
}
if ( ! tmp9 ) {
p$1 ( ref . _ _e ) ;
}
ref . _ _d = undefined ;
ref . _ _e = undefined ;
ref . _ _ = undefined ;
} else {
if ( _ _c . componentWillUnmount ) {
try {
_ _c . componentWillUnmount ( ) ;
} catch ( tmp7 ) {
obj . _ _e ( tmp7 , _ _v ) ;
}
}
_ _c . _ _P = null ;
_ _c . base = null ;
ref . _ _c = undefined ;
}
}
function q$1 ( arg0 , arg1 , arg2 ) {
return this . constructor ( arg0 , arg2 ) ;
}
2026-08-04 21:03:28 +00:00
let fn = function y ( arg0 , fn ) {
2026-08-24 06:08:38 +00:00
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 2 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
let _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
2026-08-24 06:08:38 +00:00
closure _0 = tmp7 ;
2026-07-29 08:29:29 +00:00
_ _H . _ _ [ + closure _42 ] . t = arg0 ;
if ( ! _ _H . _ _ [ + closure _42 ] . _ _c ) {
if ( arg2 ) {
2026-08-04 21:03:28 +00:00
let tmp10 = arg2 ( fn ) ;
2026-07-29 08:29:29 +00:00
} else {
2026-08-04 21:03:28 +00:00
tmp10 = fn ;
if ( typeof fn === "function" ) {
tmp10 = fn ( undefined ) ;
2026-07-29 08:29:29 +00:00
}
}
2026-08-24 06:08:38 +00:00
items = [
2026-07-29 08:29:29 +00:00
tmp10 ,
( arg0 ) => {
2026-08-24 06:08:38 +00:00
if ( closure _0 . _ _N ) {
2026-07-29 08:29:29 +00:00
let first = obj . _ _N [ 0 ] ;
} else {
first = obj . _ _ [ 0 ] ;
}
2026-08-24 06:08:38 +00:00
const tResult = closure _0 . t ( first , arg0 ) ;
2026-07-29 08:29:29 +00:00
if ( first !== tResult ) {
2026-08-24 06:08:38 +00:00
items = [ tResult , obj . _ _ [ 1 ] ] ;
2026-07-29 08:29:29 +00:00
obj . _ _N = items ;
const _ _c = obj . _ _c ;
_ _c . setState ( { } ) ;
}
}
] ;
tmp7 . _ _ = items ;
tmp7 . _ _c = closure _43 ;
if ( ! closure _43 . u ) {
2026-08-04 21:03:28 +00:00
fn = function f ( arg0 , arg1 , arg2 ) {
2026-08-24 06:08:38 +00:00
if ( c0 . _ _c . _ _H ) {
2026-07-29 08:29:29 +00:00
const self = this ;
const _ _ = tmp . _ _c . _ _H . _ _ ;
const found = _ _ . filter ( ( _ _c ) => _ _c . _ _c ) ;
if ( found . every ( ( _ _N ) => ! _ _N . _ _N ) ) {
if ( ! shouldComponentUpdate ) {
return ! shouldComponentUpdate ;
} else {
const call2 = shouldComponentUpdate . call ;
if ( typeof call2 === "unknown" ) {
let call2Result = tmp14 ( arg0 , arg1 , arg2 ) ;
} else {
call2Result = call2 ( self , arg0 , arg1 , arg2 ) ;
}
}
} else {
2026-08-24 06:08:38 +00:00
c0 = false ;
2026-07-29 08:29:29 +00:00
const item = found . forEach ( ( _ _N ) => {
if ( _ _N . _ _N ) {
_ _N . _ _ = _ _N . _ _N ;
_ _N . _ _N = undefined ;
if ( _ _N . _ _ [ 0 ] !== _ _N . _ _ [ 0 ] ) {
2026-08-24 06:08:38 +00:00
c0 = true ;
2026-07-29 08:29:29 +00:00
}
}
} ) ;
2026-08-24 06:08:38 +00:00
let tmp7 = ! c0 ;
if ( ! c0 ) {
2026-07-29 08:29:29 +00:00
tmp7 = tmp . _ _c . props === arg0 ;
}
let tmp8 = ! tmp7 ;
if ( ! tmp7 ) {
if ( ! shouldComponentUpdate ) {
tmp8 = ! shouldComponentUpdate ;
} else {
const call = shouldComponentUpdate . call ;
if ( typeof call === "unknown" ) {
let callResult = tmp10 ( arg0 , arg1 , arg2 ) ;
} else {
callResult = call ( self , arg0 , arg1 , arg2 ) ;
}
}
}
return tmp8 ;
}
} else {
return true ;
}
} ;
closure _43 . u = true ;
const shouldComponentUpdate = closure _43 . shouldComponentUpdate ;
const componentWillUpdate = closure _43 . componentWillUpdate ;
closure _43 . componentWillUpdate = function ( D , _ _getInternalProperties ) {
const self = this ;
if ( this . _ _e ) {
2026-08-24 06:08:38 +00:00
closure _2 = undefined ;
2026-07-29 08:29:29 +00:00
fn ( D , _ _getInternalProperties , arg2 ) ;
}
if ( componentWillUpdate ) {
const call = tmp4 . call ;
if ( typeof call === "unknown" ) {
tmp4 ( D , _ _getInternalProperties , arg2 ) ;
} else {
call ( self , D , _ _getInternalProperties , arg2 ) ;
}
}
} ;
closure _43 . shouldComponentUpdate = fn ;
}
}
return _ _H . _ _ [ + closure _42 ] . _ _N || _ _H . _ _ [ + closure _42 ] . _ _ ;
} ;
class A {
constructor ( arg0 , arg1 ) {
tmp = + closure _42 ;
closure _42 = tmp + 1 ;
2026-08-24 06:08:38 +00:00
obj = closure _49 ;
if ( closure _49 . _ _h ) {
2026-07-29 08:29:29 +00:00
num = c46 ;
tmp2 = closure _43 ;
if ( ! c46 ) {
num = 4 ;
}
_ _hResult = obj . _ _h ( tmp2 , tmp , num ) ;
}
c46 = 0 ;
_ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
tmp4 = closure _43 ;
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( tmp >= _ _H . _ _ . length ) {
_ _ = _ _H . _ _ ;
obj1 = { _ _V : null } ;
2026-08-24 06:08:38 +00:00
tmp5 = closure _48 ;
obj1 [ 0 ] = closure _48 ;
2026-07-29 08:29:29 +00:00
arr = _ _ . push ( obj1 ) ;
}
tmp7 = _ _H . _ _ [ tmp ] ;
_ _s = obj . _ _s ;
tmp8 = ! _ _s ;
if ( ! _ _s ) {
_ _H = tmp7 . _ _H ;
someResult = ! _ _H ;
if ( _ _H ) {
someResult = _ _H . length !== require . length ;
}
if ( ! someResult ) {
someResult = require . some ( ( arg0 , arg1 ) => arg0 !== _ _H [ arg1 ] ) ;
}
tmp8 = someResult ;
}
if ( tmp8 ) {
tmp10 = global ;
tmp7 . _ _ = global ;
tmp7 . i = require ;
tmp11 = closure _43 ;
_ _h = closure _43 . _ _h ;
arr1 = _ _h . push ( tmp7 ) ;
}
return ;
}
}
let closure _57 = A ;
const fn2 = function q ( _ _h , arr ) {
2026-08-24 06:08:38 +00:00
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 7 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
let _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
_ _H = tmp7 . _ _H ;
let someResult = ! _ _H ;
if ( _ _H ) {
someResult = _ _H . length !== arr . length ;
}
if ( ! someResult ) {
someResult = arr . some ( ( arg0 , arg1 ) => arg0 !== _ _H [ arg1 ] ) ;
}
if ( someResult ) {
tmp7 . _ _V = _ _h ( ) ;
tmp7 . i = arr ;
tmp7 . _ _h = _ _h ;
_ _ = tmp7 . _ _V ;
} else {
_ _ = tmp7 . _ _ ;
}
return _ _ ;
} ;
function j ( ) {
let arr = arr2 . shift ( ) ;
if ( arr ) {
if ( arr . _ _P ) {
if ( arr . _ _H ) {
try {
const _ _h = arr . _ _H . _ _h ;
const item = _ _h . forEach ( z ) ;
const _ _h1 = arr . _ _H . _ _h ;
const item1 = _ _h1 . forEach ( B ) ;
arr . _ _H . _ _h = [ ] ;
} catch ( tmp8 ) {
tmp . _ _H . _ _h = [ ] ;
obj . _ _e ( tmp8 , tmp . _ _v ) ;
}
}
}
arr = arr2 . shift ( ) ;
}
}
function w ( arg0 ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
fn = function r ( ) {
2026-07-29 08:29:29 +00:00
clearTimeout ( closure _2 ) ;
2026-08-24 06:08:38 +00:00
if ( closure _1 _60 ) {
2026-07-29 08:29:29 +00:00
const _cancelAnimationFrame = cancelAnimationFrame ;
cancelAnimationFrame ( closure _1 ) ;
}
const timerId = setTimeout ( closure _0 ) ;
} ;
const timeout = setTimeout ( fn , 100 ) ;
if ( closure _60 ) {
const _requestAnimationFrame = requestAnimationFrame ;
2026-08-24 06:08:38 +00:00
closure _1 = requestAnimationFrame ( fn ) ;
2026-07-29 08:29:29 +00:00
}
}
function z ( _ _c ) {
_ _c = _ _c . _ _c ;
2026-08-04 21:03:28 +00:00
if ( typeof _ _c === "function" ) {
2026-07-29 08:29:29 +00:00
_ _c . _ _c = undefined ;
_ _c ( ) ;
}
}
function B ( arg0 ) {
arg0 . _ _c = arg0 . _ _ ( ) ;
}
2026-08-04 21:03:28 +00:00
function D ( arg0 , fn ) {
let tmp = fn ;
if ( typeof fn === "function" ) {
tmp = fn ( arg0 ) ;
2026-07-29 08:29:29 +00:00
}
return tmp ;
}
function DialogHeader ( options ) {
options = options . options ;
const tmp = fn2 ( ( ) => {
2026-08-24 06:08:38 +00:00
obj = { _ _html : null } ;
2026-07-29 08:29:29 +00:00
const elementNS = closure _4 . createElementNS ( "http://www.w3.org/2000/svg" , "svg" ) ;
let elementNS1 = elementNS ;
const entries = Object . entries ( { width : "32" , height : "30" , viewBox : "0 0 72 66" , fill : "inherit" } ) ;
const item = entries . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS1 = closure _4 . createElementNS ( "http://www.w3.org/2000/svg" , "path" ) ;
const entries1 = Object . entries ( { transform : "translate(11, 11)" , d : "M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z" } ) ;
const item1 = entries1 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS . appendChild ( elementNS1 ) ;
obj [ 0 ] = elementNS . outerHTML ;
return obj ;
} , [ ] ) ;
let tmp2Result = null ;
if ( options . showBranding ) {
2026-08-24 06:08:38 +00:00
obj = { class : "brand-link" , target : "_blank" , href : "https://sentry.io/welcome/" , title : "Powered by Sentry" , rel : "noopener noreferrer" , dangerouslySetInnerHTML : null } ;
2026-07-29 08:29:29 +00:00
obj [ 5 ] = tmp ;
tmp2Result = tmp2 ( "a" , obj ) ;
}
return y$1 ( "h2" , { class : "dialog__header" } , y$1 ( "span" , { class : "dialog__title" } , options . formTitle ) , tmp2Result ) ;
}
function retrieveStringValue ( get ) {
const str = get . get ( arg1 ) ;
let str2 = "" ;
2026-08-04 21:03:28 +00:00
if ( typeof str === "string" ) {
2026-07-29 08:29:29 +00:00
str2 = str . trim ( ) ;
}
return str2 ;
}
function Form ( onSubmitError ) {
2026-08-24 06:08:38 +00:00
( { options , defaultEmail , defaultName , onSubmit : f104119 , onSubmitSuccess } = onSubmitError ) ;
2026-07-29 08:29:29 +00:00
onSubmitError = onSubmitError . onSubmitError ;
let screenshotInput = onSubmitError . screenshotInput ;
c4 = undefined ;
emailLabel = undefined ;
let isEmailRequired ;
let isNameRequired ;
let messageLabel ;
let nameLabel ;
c10 = undefined ;
c11 = undefined ;
let first ;
2026-08-24 06:08:38 +00:00
closure _13 = undefined ;
2026-07-29 08:29:29 +00:00
c14 = undefined ;
2026-08-24 06:08:38 +00:00
closure _15 = undefined ;
2026-07-29 08:29:29 +00:00
( { tags : c4 , addScreenshotButtonLabel , emailLabel } = options ) ;
isEmailRequired = options . isEmailRequired ;
isNameRequired = options . isNameRequired ;
messageLabel = options . messageLabel ;
nameLabel = options . nameLabel ;
const isRequiredLabel = options . isRequiredLabel ;
2026-08-24 06:08:38 +00:00
c46 = 1 ;
2026-07-29 08:29:29 +00:00
( { onFormClose , showEmail , showName } = onSubmitError ) ;
( { removeScreenshotButtonLabel , cancelButtonLabel , emailPlaceholder , messagePlaceholder , namePlaceholder , submitButtonLabel } = options ) ;
[ tmp5 , c10 ] = onSubmitError ( fn ( D , false ) , 2 ) ;
c46 = 1 ;
const tmp = fn ;
let tmp2 = D ;
let tmp3 = onSubmitError ;
const tmp4 = onSubmitError ( fn ( D , false ) , 2 ) ;
[ tmp7 , c11 ] = onSubmitError ( fn ( D , null ) , 2 ) ;
c46 = 1 ;
const tmp8 = onSubmitError ( fn ( D , false ) , 2 ) ;
first = tmp8 [ 0 ] ;
closure _13 = tmp8 [ 1 ] ;
let input ;
if ( screenshotInput != null ) {
input = screenshotInput . input ;
}
c46 = 1 ;
const tmp6 = onSubmitError ( fn ( D , null ) , 2 ) ;
[ tmp12 , c14 ] = tmp3 ( tmp ( tmp2 , null ) , 2 ) ;
2026-08-24 06:08:38 +00:00
f104119 = ( arg0 ) => {
2026-07-29 08:29:29 +00:00
_undefined2 ( arg0 ) ;
callback ( false ) ;
} ;
c46 = 8 ;
2026-08-24 06:08:38 +00:00
items = [ emailLabel , isEmailRequired , isNameRequired , messageLabel , nameLabel ] ;
f104119 = ( name ) => {
2026-07-29 08:29:29 +00:00
let tmp2 = isEmailRequired ;
let tmp3 = isNameRequired ;
if ( isNameRequired ) {
tmp3 = ! name . name ;
}
2026-08-24 06:08:38 +00:00
items = [ ] ;
2026-07-29 08:29:29 +00:00
if ( tmp3 ) {
items . push ( nameLabel ) ;
}
if ( tmp2 ) {
tmp2 = ! name . email ;
}
if ( tmp2 ) {
items . push ( emailLabel ) ;
}
if ( ! name . message ) {
items . push ( messageLabel ) ;
}
if ( items . length > 0 ) {
const _HermesInternal = HermesInternal ;
_undefined ( "Please enter in the following required fields: " + items . join ( ", " ) ) ;
} else {
_undefined ( null ) ;
}
return 0 === items . length ;
} ;
c46 = 8 ;
const tmp13 = fn2 ;
const tmp3Result = tmp3 ( tmp ( tmp2 , null ) , 2 ) ;
2026-08-24 06:08:38 +00:00
closure _15 = fn2 ( ( ) => f69186 , items ) ;
f104119 = undefined ;
f104119 = screenshotInput ( ( arg0 ) => {
closure _0 = arg0 ;
c5 = 0 ;
c6 = 0 ;
closure _4 = 0 ;
2026-07-29 08:29:29 +00:00
return ( function * ( arg0 ) {
if ( c6 === 2 ) {
c6 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp7 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c6 = 2 ;
if ( 0 === c5 ) {
if ( arg0 === 1 ) {
c6 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c6 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
c2 = tmp3 ;
c1 = tmp5 ;
2026-07-29 08:29:29 +00:00
let formData ;
c1 = undefined ;
c2 = undefined ;
2026-08-24 06:08:38 +00:00
closure _3 = undefined ;
closure _1 _10 ( true ) ;
c4 = 1 ;
2026-07-29 08:29:29 +00:00
formData . preventDefault ( ) ;
if ( formData . target instanceof globalThis . HTMLFormElement ) {
const _FormData = FormData ;
formData = new FormData ( tmp88 . target ) ;
let valueResult ;
2026-08-24 06:08:38 +00:00
if ( closure _1 _3 ) {
if ( closure _1 _12 ) {
valueResult = closure _1 _3 . value ( ) ;
2026-07-29 08:29:29 +00:00
}
}
c5 = 2 ;
c6 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = valueResult ;
return obj1 ;
} else {
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
c6 = 3 ;
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
tmp88 = formData ;
}
} else if ( 1 === tmp8 ) {
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
throw closure _3 ;
} else if ( 2 === tmp8 ) {
if ( arg0 === 1 ) {
c6 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
c6 = 3 ;
const obj2 = { value : null , done : true } ;
obj2 [ 0 ] = arg1 ;
return obj2 ;
} else {
2026-08-24 06:08:38 +00:00
const callback2 = arg1 ;
obj3 = { name : null , email : null , message : null , attachments : null } ;
obj3 [ 0 ] = closure _2 _67 ( callback , "name" ) ;
obj3 [ 1 ] = closure _2 _67 ( callback , "email" ) ;
obj3 [ 2 ] = closure _2 _67 ( callback , "message" ) ;
2026-07-29 08:29:29 +00:00
let tmp40 ;
2026-08-24 06:08:38 +00:00
if ( callback2 ) {
items = [ callback2 ] ;
2026-07-29 08:29:29 +00:00
tmp40 = items ;
}
obj3 [ 3 ] = tmp40 ;
2026-08-24 06:08:38 +00:00
if ( closure _1 _15 ( obj3 ) ) {
2026-07-29 08:29:29 +00:00
c4 = 2 ;
const obj4 = { name : null , email : null , message : null , source : "widget" , tags : null } ;
2026-08-24 06:08:38 +00:00
obj4 [ 0 ] = obj3 . name ;
obj4 [ 1 ] = obj3 . email ;
obj4 [ 2 ] = obj3 . message ;
obj4 [ 4 ] = closure _4 ;
2026-07-29 08:29:29 +00:00
const obj5 = { attachments : null } ;
2026-08-24 06:08:38 +00:00
obj5 [ 0 ] = obj3 . attachments ;
2026-07-29 08:29:29 +00:00
c5 = 4 ;
c6 = 1 ;
const obj6 = { value : null , done : false } ;
obj6 [ 0 ] = callback ( obj4 , obj5 ) ;
return obj6 ;
} else {
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
c6 = 3 ;
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
}
} else {
if ( 3 === tmp8 ) {
c4 = 1 ;
2026-08-24 06:08:38 +00:00
closure _4 = closure _3 ;
2026-07-29 08:29:29 +00:00
if ( messageLabel ) {
2026-08-24 06:08:38 +00:00
const debug = f104119 ( onSubmitSuccess [ 2 ] ) . debug ;
debug . error ( closure _4 ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
closure _1 _11 ( closure _4 ) ;
obj3 ( closure _4 ) ;
2026-07-29 08:29:29 +00:00
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
c6 = 3 ;
} else if ( arg0 === 1 ) {
c6 = 3 ;
throw arg1 ;
} else if ( arg0 !== 2 ) {
closure _3 = arg1 ;
2026-08-24 06:08:38 +00:00
callback2 ( c2 , closure _3 ) ;
2026-07-29 08:29:29 +00:00
c4 = 1 ;
}
c4 = 0 ;
2026-08-24 06:08:38 +00:00
closure _1 _10 ( false ) ;
2026-07-29 08:29:29 +00:00
c6 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
}
} catch ( tmp72 ) {
closure _3 = tmp72 ;
if ( tmp4 === c4 ) {
c6 = tmp2 ;
throw tmp72 ;
} else if ( tmp === tmp74 ) {
c5 = tmp ;
} else {
c5 = tmp2 ;
}
}
}
} ) ( ) ;
} ) ;
if ( screenshotInput ) {
screenshotInput = first ;
}
const items1 = [ screenshotInput , onSubmitSuccess , onSubmitError ] ;
2026-08-24 06:08:38 +00:00
f104119 = function ( arg0 ) {
2026-07-29 08:29:29 +00:00
const self = this ;
2026-08-24 06:08:38 +00:00
const apply = f104119 . apply ;
2026-07-29 08:29:29 +00:00
if ( typeof apply === "unknown" ) {
let applyArgumentsResult = HermesBuiltin . applyArguments ( self ) ;
} else {
applyArgumentsResult = apply ( self , arguments ) ;
}
return applyArgumentsResult ;
} ;
c46 = 8 ;
2026-08-24 06:08:38 +00:00
obj = { class : "form" , onSubmit : tmp13 ( ( ) => f69186 , items1 ) } ;
2026-07-29 08:29:29 +00:00
let tmp15Result = null ;
if ( input ) {
tmp15Result = null ;
if ( first ) {
obj = { onError : null } ;
obj [ 0 ] = tmp14 ;
tmp15Result = tmp15 ( input , obj ) ;
}
}
obj = { class : "form__right" , "data-sentry-feedback" : true , disabled } ;
tmp15Result = null ;
if ( tmp7 ) {
tmp15Result = tmp15 ( "div" , { class : "form__error-container" } , tmp7 ) ;
}
if ( showName ) {
2026-08-24 06:08:38 +00:00
obj1 = { label : null , isRequiredLabel : null , isRequired : null } ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = nameLabel ;
obj1 [ 1 ] = isRequiredLabel ;
obj1 [ 2 ] = isNameRequired ;
let obj2 = { class : "form__input" , defaultValue : null , id : "name" , name : "name" , placeholder : null , required : null , type : "text" } ;
obj2 [ 1 ] = defaultName ;
obj2 [ 4 ] = namePlaceholder ;
obj2 [ 5 ] = isNameRequired ;
let tmp15Result2 = tmp15 ( "label" , { for : "name" , class : "form__label" } , tmp15 ( LabelText , obj1 ) , tmp15 ( "input" , obj2 ) ) ;
const tmp15Result1 = tmp15 ( LabelText , obj1 ) ;
} else {
let obj3 = { "aria-hidden" : true , value : null , name : "name" , type : "hidden" } ;
obj3 [ 1 ] = defaultName ;
tmp15Result2 = tmp15 ( "input" , obj3 ) ;
}
if ( showEmail ) {
let obj4 = { label : null , isRequiredLabel : null , isRequired : null } ;
obj4 [ 0 ] = emailLabel ;
obj4 [ 1 ] = isRequiredLabel ;
obj4 [ 2 ] = isEmailRequired ;
let obj5 = { class : "form__input" , defaultValue : null , id : "email" , name : "email" , placeholder : null , required : null , type : "email" } ;
obj5 [ 1 ] = defaultEmail ;
obj5 [ 4 ] = emailPlaceholder ;
obj5 [ 5 ] = isEmailRequired ;
let tmp15Result4 = tmp15 ( "label" , { for : "email" , class : "form__label" } , tmp15 ( LabelText , obj4 ) , tmp15 ( "input" , obj5 ) ) ;
const tmp15Result3 = tmp15 ( LabelText , obj4 ) ;
} else {
let obj6 = { "aria-hidden" : true , value : null , name : "email" , type : "hidden" } ;
obj6 [ 1 ] = defaultEmail ;
tmp15Result4 = tmp15 ( "input" , obj6 ) ;
}
2026-08-24 06:08:38 +00:00
tmp14 = fn2 ( ( ) => f69186 , [ ] ) ;
2026-07-29 08:29:29 +00:00
const tmp15Result5 = y$1 ( LabelText , { label : messageLabel , isRequiredLabel , isRequired : true } ) ;
let tmp15Result9 = null ;
if ( input ) {
const obj7 = { class : "btn btn--default" , disabled : null , type : "button" , onClick : null } ;
obj7 [ 1 ] = disabled ;
obj7 [ 3 ] = function onClick ( ) {
_undefined2 ( null ) ;
callback ( ( arg0 ) => ! arg0 ) ;
} ;
if ( first ) {
addScreenshotButtonLabel = removeScreenshotButtonLabel ;
}
const tmp15Result7 = tmp15 ( "button" , obj7 , addScreenshotButtonLabel ) ;
let tmp15Result8 = null ;
if ( tmp12 ) {
tmp15Result8 = tmp15 ( "div" , { class : "form__error-container" } , tmp12 . message ) ;
}
tmp15Result9 = tmp15 ( "label" , { for : "screenshot" , class : "form__label" } , tmp15Result7 , tmp15Result8 ) ;
}
const tmp15Result6 = y$1 ( "label" , { for : "message" , class : "form__label" } , y$1 ( LabelText , { label : messageLabel , isRequiredLabel , isRequired : true } ) , y$1 ( "textarea" , { autoFocus : true , class : "form__input form__input--textarea" , id : "message" , name : "message" , placeholder : messagePlaceholder , required : true , rows : 5 } ) ) ;
const tmp15Result10 = y$1 ( "div" , { class : "form__top" } , tmp15Result , tmp15Result2 , tmp15Result4 , y$1 ( "label" , { for : "message" , class : "form__label" } , y$1 ( LabelText , { label : messageLabel , isRequiredLabel , isRequired : true } ) , y$1 ( "textarea" , { autoFocus : true , class : "form__input form__input--textarea" , id : "message" , name : "message" , placeholder : messagePlaceholder , required : true , rows : 5 } ) ) , tmp15Result9 ) ;
return y$1 ( "form" , obj , tmp15Result , y$1 ( "fieldset" , obj , tmp15Result10 , y$1 ( "div" , { class : "btn-group" } , y$1 ( "button" , { class : "btn btn--primary" , disabled , type : "submit" } , submitButtonLabel ) , y$1 ( "button" , { class : "btn btn--default" , disabled , type : "button" , onClick } , cancelButtonLabel ) ) ) ) ;
}
function LabelText ( arg0 ) {
( { label , isRequired } = arg0 ) ;
if ( isRequired ) {
isRequired = tmp2 ( "span" , { class : "form__label__text--required" } , tmp ) ;
}
return y$1 ( "span" , { class : "form__label__text" } , label , isRequired ) ;
}
function Dialog ( onFormSubmitted ) {
onFormSubmitted = onFormSubmitted . onFormSubmitted ;
2026-08-24 06:08:38 +00:00
let f69186 = onFormSubmitted ;
2026-07-29 08:29:29 +00:00
const merged = Object . assign ( onFormSubmitted , Object . create ( null ) ) ;
let first ;
2026-08-24 06:08:38 +00:00
closure _3 = undefined ;
2026-07-29 08:29:29 +00:00
const options = merged . options ;
2026-08-24 06:08:38 +00:00
c46 = 1 ;
2026-07-29 08:29:29 +00:00
const tmp3 = first ( fn ( D , null ) , 2 ) ;
first = tmp3 [ 0 ] ;
closure _3 = tmp3 [ 1 ] ;
2026-08-24 06:08:38 +00:00
items = [ first ] ;
f69186 = ( ) => {
2026-07-29 08:29:29 +00:00
if ( first ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( tmp ) ;
callback ( null ) ;
}
2026-08-24 06:08:38 +00:00
f69186 ( ) ;
2026-07-29 08:29:29 +00:00
} ;
c46 = 8 ;
[ ] [ 0 ] = onFormSubmitted ;
2026-08-24 06:08:38 +00:00
f69186 = ( arg0 , arg1 ) => {
2026-07-29 08:29:29 +00:00
merged . onSubmitSuccess ( arg0 , arg1 ) ;
callback ( setTimeout ( ( ) => {
callback ( ) ;
callback2 ( null ) ;
} , 5000 ) ) ;
} ;
c46 = 8 ;
const tmp2 = fn2 ( ( ) => {
2026-08-24 06:08:38 +00:00
obj = { _ _html : null } ;
2026-07-29 08:29:29 +00:00
const _document = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS = _document . createElementNS ( "http://www.w3.org/2000/svg" , "svg" ) ;
elementNS6 = elementNS ;
const entries = Object . entries ( { width : "16" , height : "17" , viewBox : "0 0 16 17" , fill : "inherit" } ) ;
const item = entries . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
const _document2 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS1 = _document2 . createElementNS ( "http://www.w3.org/2000/svg" , "g" ) ;
elementNS6 = elementNS1 ;
const entries1 = Object . entries ( { clipPath : "url(#clip0_57_156)" } ) ;
const item1 = entries1 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
const _document3 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS2 = _document3 . createElementNS ( "http://www.w3.org/2000/svg" , "path" ) ;
elementNS6 = elementNS2 ;
const entries2 = Object . entries ( { "fill-rule" : "evenodd" , "clip-rule" : "evenodd" , d : "M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z" } ) ;
const item2 = entries2 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
const _document4 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS3 = _document4 . createElementNS ( "http://www.w3.org/2000/svg" , "path" ) ;
elementNS6 = elementNS3 ;
const entries3 = Object . entries ( { d : "M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z" } ) ;
const item3 = entries3 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS . appendChild ( elementNS1 ) . append ( elementNS3 , elementNS2 ) ;
const _document5 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS4 = _document5 . createElementNS ( "http://www.w3.org/2000/svg" , "defs" ) ;
const _document6 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
const elementNS5 = _document6 . createElementNS ( "http://www.w3.org/2000/svg" , "clipPath" ) ;
elementNS6 = elementNS5 ;
const entries4 = Object . entries ( { id : "clip0_57_156" } ) ;
const item4 = entries4 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
const _document7 = elementNS6 ( merged [ 2 ] ) . GLOBAL _OBJ . document ;
elementNS6 = _document7 . createElementNS ( "http://www.w3.org/2000/svg" , "rect" ) ;
const entries5 = Object . entries ( { width : "16" , height : "16" , fill : "white" , transform : "translate(0 0.5)" } ) ;
const item5 = entries5 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS5 . appendChild ( elementNS6 ) ;
elementNS4 . appendChild ( elementNS5 ) ;
const appendChildResult = elementNS . appendChild ( elementNS1 ) ;
const appendChildResult3 = elementNS . appendChild ( elementNS4 ) ;
elementNS . appendChild ( elementNS4 ) . appendChild ( elementNS5 ) . appendChild ( elementNS6 ) ;
obj [ 0 ] = elementNS . outerHTML ;
return obj ;
} , [ ] ) ;
if ( first ) {
2026-08-24 06:08:38 +00:00
obj = { class : "success__position" , onClick : null } ;
2026-07-29 08:29:29 +00:00
obj [ 1 ] = tmp5 ;
obj = { class : "success__icon" , dangerouslySetInnerHTML : null } ;
obj [ 1 ] = tmp2 ;
let tmp7Result = tmp7 ( "div" , obj , tmp7 ( "div" , { class : "success__content" } , options . successMessageText , tmp7 ( "span" , obj ) ) ) ;
} else {
obj = { class : "dialog" , onClick : null , open : null } ;
obj [ 1 ] = options . onFormClose ;
obj [ 2 ] = onFormSubmitted . open ;
2026-08-24 06:08:38 +00:00
obj1 = { class : "dialog__content" , onClick : null } ;
2026-07-29 08:29:29 +00:00
obj1 [ 1 ] = function onClick ( stopPropagation ) {
stopPropagation . stopPropagation ( ) ;
} ;
const obj2 = { options : null } ;
obj2 [ 0 ] = options ;
const obj3 = { } ;
tmp7Result = tmp7 ( DialogHeader , obj2 ) ;
const merged1 = Object . assign ( merged ) ;
obj3 . onSubmitSuccess = tmp6 ;
tmp7Result = tmp7 ( "dialog" , obj , tmp7 ( "div" , { class : "dialog__position" } , tmp7 ( "div" , obj1 , tmp7Result , tmp7 ( Form , obj3 ) ) ) ) ;
}
return y$1 ( g$1 , null , tmp7Result ) ;
}
Object . defineProperty ( exports , Symbol . toStringTag , { value : "Module" } ) ;
2026-08-24 06:08:38 +00:00
const document = registerSpanErrorInstrumentation . GLOBAL _OBJ . document ;
const navigator = registerSpanErrorInstrumentation . GLOBAL _OBJ . navigator ;
2026-07-29 08:29:29 +00:00
let c6 = "Report a Bug" ;
function sendFeedback ( message ) {
2026-08-24 06:08:38 +00:00
obj = arg1 ;
2026-07-29 08:29:29 +00:00
if ( arg1 === undefined ) {
obj = { includeReplay : true } ;
}
let client ;
2026-08-24 06:08:38 +00:00
dependencyMap = undefined ;
2026-07-29 08:29:29 +00:00
if ( message . message ) {
client = client ( 817 ) . getClient ( ) ;
if ( client ) {
let length = message . tags ;
if ( length ) {
const _Object = Object ;
length = Object . keys ( message . tags ) . length ;
}
if ( length ) {
let tmp6Result = tmp6 ( 817 ) ;
const currentScope = tmp6Result . getCurrentScope ( ) ;
currentScope . setTags ( message . tags ) ;
}
tmp6Result = tmp6 ( 817 ) ;
obj = { source : "api" , url : null } ;
obj [ 1 ] = tmp6 ( 817 ) . getLocationHref ( ) ;
const merged = Object . assign ( message ) ;
dependencyMap = tmp6Result . captureFeedback ( obj , obj ) ;
const promise = new Promise ( ( arg0 , arg1 ) => {
2026-08-24 06:08:38 +00:00
client = arg0 ;
closure _1 = arg1 ;
2026-07-29 08:29:29 +00:00
const timeout = setTimeout ( ( ) => callback2 ( "Unable to determine if Feedback was correctly sent." ) , 30000 ) ;
2026-08-24 06:08:38 +00:00
closure _3 = client . on ( "afterSendEvent" , ( event _id , statusCode ) => {
2026-07-29 08:29:29 +00:00
if ( event _id . event _id === closure _1 ) {
const _clearTimeout = clearTimeout ;
clearTimeout ( closure _2 ) ;
callback3 ( ) ;
statusCode = undefined ;
if ( statusCode != null ) {
statusCode = statusCode . statusCode ;
}
if ( statusCode ) {
if ( statusCode . statusCode >= 200 ) {
if ( statusCode . statusCode < 300 ) {
let tmp10Result = callback ( tmp ) ;
}
return tmp10Result ;
}
}
let statusCode1 ;
if ( statusCode != null ) {
statusCode1 = statusCode . statusCode ;
}
let str = "Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker." ;
if ( 403 === statusCode1 ) {
str = "Unable to send feedback. This could be because this domain is not in your list of allowed domains." ;
}
tmp10Result = closure _1 ( str ) ;
const tmp10 = closure _1 ;
}
} ) ;
} ) ;
return promise ;
} else {
const _Error2 = Error ;
2026-08-24 06:08:38 +00:00
error = new Error ( "No client setup, cannot send feedback." ) ;
2026-07-29 08:29:29 +00:00
throw error ;
}
const obj2 = client ( 817 ) ;
} else {
const _Error = Error ;
const error1 = new Error ( "Unable to submit feedback with empty message" ) ;
throw error1 ;
}
}
2026-08-04 21:03:28 +00:00
let _ _SENTRY _DEBUG _ _ = typeof globalThis . _ _SENTRY _DEBUG _ _ === "undefined" ;
if ( typeof globalThis . _ _SENTRY _DEBUG _ _ !== "undefined" ) {
2026-07-29 08:29:29 +00:00
_ _SENTRY _DEBUG _ _ = globalThis . _ _SENTRY _DEBUG _ _ ;
}
let closure _10 = { foreground : "#2b2233" , background : "#ffffff" , accentForeground : "white" , accentBackground : "rgba(88, 74, 192, 1)" , successColor : "#268d75" , errorColor : "#df3338" , border : "1.5px solid rgba(41, 35, 47, 0.13)" , boxShadow : "0px 4px 24px 0px rgba(43, 34, 51, 0.12)" , outline : "1px auto var(--accent-background)" , interactiveFilter : "brightness(95%)" } ;
let closure _11 = { foreground : "#ebe6ef" , background : "#29232f" , accentForeground : "white" , accentBackground : "rgba(88, 74, 192, 1)" , successColor : "#2da98c" , errorColor : "#f55459" , border : "1.5px solid rgba(235, 230, 239, 0.15)" , boxShadow : "0px 4px 24px 0px rgba(43, 34, 51, 0.12)" , outline : "1px auto var(--accent-background)" , interactiveFilter : "brightness(150%)" } ;
let closure _19 = { } ;
let items = [ ] ;
const re21 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i ;
const slice = items . slice ;
let obj = {
_ _e ( componentWillMountResult , _ _v , arg2 ) {
let _ _ = _ _v . _ _ ;
let tmp = componentWillMountResult ;
let tmp2 = componentWillMountResult ;
if ( _ _ ) {
const _ _c = _ _ . _ _c ;
let tmp5 = tmp ;
if ( _ _c ) {
tmp5 = tmp ;
if ( ! _ _c . _ _ ) {
try {
let constructor = _ _c . constructor ;
2026-08-24 06:08:38 +00:00
obj = constructor ;
2026-07-29 08:29:29 +00:00
if ( constructor ) {
constructor = null != obj . getDerivedStateFromError ;
}
if ( constructor ) {
_ _c . setState ( obj . getDerivedStateFromError ( tmp ) ) ;
let _ _ _d = _ _c . _ _d ;
}
if ( null != _ _c . componentDidCatch ) {
obj = arg3 ;
if ( ! arg3 ) {
obj = { } ;
}
_ _c . componentDidCatch ( tmp , obj ) ;
_ _ _d = _ _c . _ _d ;
}
if ( _ _ _d ) {
_ _c . _ _E = _ _c ;
return _ _c ;
} else {
tmp5 = tmp ;
}
} catch ( tmp5 ) {
}
}
}
_ _ = _ _ . _ _ ;
tmp = tmp5 ;
tmp2 = tmp5 ;
}
throw tmp2 ;
}
} ;
let c14 = 0 ;
b$1 . prototype . render = g$1 ;
let closure _15 = [ ] ;
2026-08-04 21:03:28 +00:00
if ( typeof Promise === "function" ) {
2026-07-29 08:29:29 +00:00
let _setTimeout = then . bind ( Promise . resolve ( ) ) ;
} else {
_setTimeout = setTimeout ;
}
function H ( _ _v , _ _v2 ) {
return _ _v . _ _v . _ _b - _ _v2 . _ _v . _ _b ;
}
C$1 . _ _r = 0 ;
let c46 = 0 ;
let closure _47 = [ ] ;
let closure _48 = [ ] ;
( { _ _b : closure _50 , _ _r : closure _51 , diffed : closure _52 , _ _c : closure _53 , unmount : closure _54 , _ _ : closure _55 } = obj ) ;
obj . _ _b = ( arg0 ) => {
2026-08-24 06:08:38 +00:00
c43 = null ;
2026-07-29 08:29:29 +00:00
if ( closure _50 ) {
tmp ( arg0 ) ;
}
} ;
obj . _ _ = ( arg0 , _ _k ) => {
if ( tmp ) {
arg0 . _ _m = _ _k . _ _k . _ _m ;
}
if ( closure _55 ) {
tmp2 ( arg0 , _ _k ) ;
}
} ;
obj . _ _r = ( _ _c ) => {
if ( closure _51 ) {
tmp ( _ _c ) ;
}
2026-08-24 06:08:38 +00:00
c42 = 0 ;
2026-07-29 08:29:29 +00:00
_ _c = _ _c . _ _c ;
const _ _H = _ _c . _ _H ;
if ( _ _H ) {
if ( closure _44 === _ _c ) {
_ _H . _ _h = [ ] ;
_ _c . _ _h = [ ] ;
const _ _ = _ _H . _ _ ;
const item = _ _ . forEach ( ( _ _N ) => {
if ( _ _N . _ _N ) {
_ _N . _ _ = _ _N . _ _N ;
}
_ _N . _ _V = closure _48 ;
_ _N . i = undefined ;
_ _N . _ _N = undefined ;
} ) ;
} else {
const _ _h = _ _H . _ _h ;
const item1 = _ _h . forEach ( z ) ;
const _ _h1 = _ _H . _ _h ;
const item2 = _ _h1 . forEach ( B ) ;
_ _H . _ _h = [ ] ;
c42 = 0 ;
}
}
closure _44 = _ _c ;
} ;
obj . diffed = ( _ _c ) => {
if ( closure _52 ) {
tmp ( _ _c ) ;
}
_ _c = _ _c . _ _c ;
let _ _H = _ _c ;
if ( _ _c ) {
_ _H = _ _c . _ _H ;
}
if ( _ _H ) {
if ( _ _c . _ _H . _ _h . length ) {
let tmp4 = 1 !== arr2 . push ( _ _c ) ;
if ( tmp4 ) {
tmp4 = _requestAnimationFrame === obj . requestAnimationFrame ;
}
if ( ! tmp4 ) {
_requestAnimationFrame = obj . requestAnimationFrame ;
if ( ! _requestAnimationFrame ) {
_requestAnimationFrame = w ;
}
const result = _requestAnimationFrame ( j ) ;
}
}
const _ _ = _ _c . _ _H . _ _ ;
const item = _ _ . forEach ( ( arg0 ) => {
if ( arg0 . i ) {
arg0 . _ _H = arg0 . i ;
}
if ( arg0 . _ _V !== closure _48 ) {
arg0 . _ _ = arg0 . _ _V ;
}
arg0 . i = undefined ;
arg0 . _ _V = closure _48 ;
} ) ;
}
2026-08-24 06:08:38 +00:00
c43 = null ;
c44 = null ;
2026-07-29 08:29:29 +00:00
} ;
obj . _ _c = ( arg0 , arr ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arr ;
2026-07-29 08:29:29 +00:00
arr . some ( ( _ _h ) => {
try {
_ _h = _ _h . _ _h ;
2026-08-24 06:08:38 +00:00
const item = _ _h . forEach ( closure _1 _62 ) ;
2026-07-29 08:29:29 +00:00
const _ _h1 = _ _h . _ _h ;
_ _h . _ _h = _ _h1 . filter ( ( arg0 ) => {
const _ _ = arg0 . _ _ ;
if ( _ _ ) {
arg0 . _ _c = arg0 . _ _ ( ) ;
}
return ! _ _ ;
} ) ;
} catch ( tmp4 ) {
arr . some ( ( _ _h ) => {
if ( _ _h . _ _h ) {
_ _h . _ _h = [ ] ;
}
} ) ;
arr = [ ] ;
2026-08-24 06:08:38 +00:00
closure _1 _49 . _ _e ( tmp4 , tmp . _ _v ) ;
2026-07-29 08:29:29 +00:00
}
} ) ;
if ( closure _53 ) {
tmp2 ( arg0 , closure _0 ) ;
}
} ;
obj . unmount = ( _ _c ) => {
if ( closure _54 ) {
tmp ( _ _c ) ;
}
_ _c = _ _c . _ _c ;
let _ _H = _ _c ;
if ( _ _c ) {
_ _H = _ _c . _ _H ;
}
if ( _ _H ) {
const _ _ = _ _c . _ _H . _ _ ;
const item = _ _ . forEach ( ( arg0 ) => {
try {
2026-08-24 06:08:38 +00:00
closure _1 _62 ( arg0 ) ;
2026-07-29 08:29:29 +00:00
} catch ( tmp4 ) {
2026-08-24 06:08:38 +00:00
closure _0 = tmp4 ;
2026-07-29 08:29:29 +00:00
}
} ) ;
_ _c . _ _H = undefined ;
if ( require ) {
obj . _ _e ( require , _ _c . _ _v ) ;
}
}
} ;
2026-08-04 21:03:28 +00:00
let closure _60 = typeof requestAnimationFrame === "function" ;
2026-07-29 08:29:29 +00:00
const fn3 = function p ( _ _getInternalProperties ) {
2026-08-24 06:08:38 +00:00
c46 = 1 ;
2026-07-29 08:29:29 +00:00
return fn ( D , _ _getInternalProperties ) ;
} ;
const fn4 = function x ( arg0 , arg1 ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
c46 = 8 ;
return fn2 ( ( ) => f69186 , arg1 ) ;
2026-07-29 08:29:29 +00:00
} ;
obj = Object . create ( null ) ;
obj [ 0 ] = fn4 ;
obj [ 1 ] = function P ( arg0 ) {
2026-08-24 06:08:38 +00:00
obj = closure _43 . context [ arg0 . _ _c ] ;
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 9 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
let _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
_ _H . _ _ [ + closure _42 ] . c = arg0 ;
if ( obj ) {
if ( null == tmp7 . _ _ ) {
tmp7 . _ _ = true ;
obj . sub ( closure _43 ) ;
}
_ _ = obj . props . value ;
} else {
_ _ = arg0 . _ _ ;
}
return _ _ ;
} ;
obj [ 2 ] = function V ( arg0 , arg1 ) {
if ( obj . useDebugValue ) {
let tmp3 = arg0 ;
if ( arg1 ) {
tmp3 = arg1 ( arg0 ) ;
}
const debugValue = obj . useDebugValue ( tmp3 ) ;
}
} ;
obj [ 3 ] = function _ ( arg0 , arr ) {
2026-08-24 06:08:38 +00:00
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 3 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
const _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
const _ _s = obj . _ _s ;
let tmp8 = ! _ _s ;
if ( ! _ _s ) {
_ _H = tmp7 . _ _H ;
let someResult = ! _ _H ;
if ( _ _H ) {
someResult = _ _H . length !== arr . length ;
}
if ( ! someResult ) {
someResult = arr . some ( ( arg0 , arg1 ) => arg0 !== _ _H [ arg1 ] ) ;
}
tmp8 = someResult ;
}
if ( tmp8 ) {
tmp7 . _ _ = arg0 ;
tmp7 . i = arr ;
const _ _h = closure _43 . _ _H . _ _h ;
_ _h . push ( tmp7 ) ;
}
} ;
obj [ 4 ] = function b ( arg0 ) {
2026-08-24 06:08:38 +00:00
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 10 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
const _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
2026-08-24 06:08:38 +00:00
closure _0 = tmp7 ;
2026-07-29 08:29:29 +00:00
c46 = 1 ;
const tmp8 = fn ( D , undefined ) ;
2026-08-24 06:08:38 +00:00
closure _1 = tmp8 ;
2026-07-29 08:29:29 +00:00
_ _H . _ _ [ + closure _42 ] . _ _ = arg0 ;
if ( ! closure _43 . componentDidCatch ) {
closure _43 . componentDidCatch = ( tmpResult ) => {
2026-08-24 06:08:38 +00:00
if ( constants . _ _ ) {
constants . _ _ ( tmpResult , arg1 ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-24 06:08:38 +00:00
5 ( tmpResult ) ;
2026-07-29 08:29:29 +00:00
} ;
}
2026-08-24 06:08:38 +00:00
items = [
2026-07-29 08:29:29 +00:00
tmp8 [ 0 ] ,
( ) => {
2026-08-24 06:08:38 +00:00
5 ( undefined ) ;
2026-07-29 08:29:29 +00:00
}
] ;
return items ;
} ;
obj [ 5 ] = function g ( ) {
2026-08-24 06:08:38 +00:00
closure _42 = tmp + 1 ;
2026-07-29 08:29:29 +00:00
if ( obj . _ _h ) {
let num = c46 ;
if ( ! c46 ) {
num = 11 ;
}
obj . _ _h ( closure _43 , tmp , num ) ;
const tmp2 = closure _43 ;
}
c46 = 0 ;
let _ _H = closure _43 . _ _H ;
if ( ! _ _H ) {
obj = { _ _ : null , _ _h : null } ;
obj [ 0 ] = [ ] ;
obj [ 1 ] = [ ] ;
closure _43 . _ _H = obj ;
_ _H = obj ;
}
if ( + closure _42 >= _ _H . _ _ . length ) {
let _ _ = _ _H . _ _ ;
obj = { _ _V : null } ;
obj [ 0 ] = closure _48 ;
_ _ . push ( obj ) ;
}
if ( ! _ _H . _ _ [ + closure _42 ] . _ _ ) {
const _ _v = closure _43 . _ _v ;
let tmp10 = _ _v ;
if ( null !== _ _v ) {
tmp10 = _ _v ;
if ( ! _ _v . _ _m ) {
let tmp11 = _ _v ;
tmp10 = _ _v ;
if ( null !== _ _v . _ _ ) {
_ _ = tmp11 . _ _ ;
tmp10 = _ _ ;
while ( null !== _ _ ) {
tmp10 = _ _ ;
if ( _ _ . _ _m ) {
break ;
} else {
tmp11 = _ _ ;
tmp10 = _ _ ;
if ( null === _ _ . _ _ ) {
break ;
}
}
}
}
}
}
let _ _m = tmp10 . _ _m ;
if ( ! _ _m ) {
2026-08-24 06:08:38 +00:00
items = [ 0 , 0 ] ;
2026-07-29 08:29:29 +00:00
tmp10 . _ _m = items ;
_ _m = items ;
}
_ _m [ 1 ] = + _ _m [ 1 ] + 1 ;
tmp7 . _ _ = ` P ${ _ _m [ 0 ] } - ${ + _ _m [ 1 ] } ` ;
}
return _ _H . _ _ [ + closure _42 ] . _ _ ;
} ;
obj [ 6 ] = function T ( arg0 , arg1 , arr ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
closure _1 = arg1 ;
c46 = 6 ;
2026-07-29 08:29:29 +00:00
let combined = arr ;
if ( null != arr ) {
combined = arr . concat ( arg0 ) ;
}
closure _57 ( ( ) => {
2026-08-04 21:03:28 +00:00
if ( typeof closure _0 === "function" ) {
2026-07-29 08:29:29 +00:00
tmp ( callback ( ) ) ;
2026-08-24 06:08:38 +00:00
fn = ( ) => callback ( null ) ;
2026-07-29 08:29:29 +00:00
} else if ( tmp ) {
tmp . current = callback ( ) ;
fn = ( ) => {
closure _0 . current = null ;
return null ;
} ;
}
return fn ;
} , combined ) ;
} ;
obj [ 7 ] = A ;
obj [ 8 ] = fn2 ;
obj [ 9 ] = fn ;
obj [ 10 ] = function F ( arg0 ) {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
c46 = 5 ;
2026-07-29 08:29:29 +00:00
return fn2 ( ( ) => ( { current : closure _0 } ) , [ ] ) ;
} ;
obj [ 11 ] = fn3 ;
let closure _65 = Object . defineProperty ( obj , Symbol . toStringTag , { value : "Module" } ) ;
export const buildFeedbackIntegration = ( arg0 ) => {
2026-08-24 06:08:38 +00:00
( { lazyLoadIntegration : require , getModalIntegration : closure _1 , getScreenshotIntegration : closure _2 } = arg0 ) ;
2026-07-29 08:29:29 +00:00
return ( ) => {
2026-08-24 06:08:38 +00:00
obj = arg0 ;
2026-07-29 08:29:29 +00:00
if ( arg0 === undefined ) {
obj = { } ;
}
let str = obj . id ;
if ( str === undefined ) {
str = "sentry-feedback" ;
}
let flag = obj . autoInject ;
if ( flag === undefined ) {
flag = true ;
}
let flag2 = obj . showBranding ;
if ( flag2 === undefined ) {
flag2 = true ;
}
let flag3 = obj . isEmailRequired ;
if ( flag3 === undefined ) {
flag3 = false ;
}
let flag4 = obj . isNameRequired ;
if ( flag4 === undefined ) {
flag4 = false ;
}
let flag5 = obj . showEmail ;
if ( flag5 === undefined ) {
flag5 = true ;
}
let flag6 = obj . showName ;
if ( flag6 === undefined ) {
flag6 = true ;
}
let flag7 = obj . enableScreenshot ;
if ( flag7 === undefined ) {
flag7 = true ;
}
let useSentryUser = obj . useSentryUser ;
if ( useSentryUser === undefined ) {
useSentryUser = { email : "email" , name : "username" } ;
}
const styleNonce = obj . styleNonce ;
2026-08-24 06:08:38 +00:00
closure _0 = styleNonce ;
2026-07-29 08:29:29 +00:00
const scriptNonce = obj . scriptNonce ;
( { colorScheme , tags } = obj ) ;
if ( colorScheme === undefined ) {
colorScheme = "system" ;
}
let themeLight = obj . themeLight ;
if ( themeLight === undefined ) {
themeLight = { } ;
}
let themeDark = obj . themeDark ;
if ( themeDark === undefined ) {
themeDark = { } ;
}
let str2 = obj . addScreenshotButtonLabel ;
if ( str2 === undefined ) {
str2 = "Add a screenshot" ;
}
let str3 = obj . cancelButtonLabel ;
if ( str3 === undefined ) {
str3 = "Cancel" ;
}
let str4 = obj . confirmButtonLabel ;
if ( str4 === undefined ) {
str4 = "Confirm" ;
}
let str5 = obj . emailLabel ;
if ( str5 === undefined ) {
str5 = "Email" ;
}
let str6 = obj . emailPlaceholder ;
if ( str6 === undefined ) {
str6 = "your.email@example.org" ;
}
let str7 = obj . formTitle ;
if ( str7 === undefined ) {
str7 = "Report a Bug" ;
}
let str8 = obj . isRequiredLabel ;
if ( str8 === undefined ) {
str8 = "(required)" ;
}
let str9 = obj . messageLabel ;
if ( str9 === undefined ) {
str9 = "Description" ;
}
let str10 = obj . messagePlaceholder ;
if ( str10 === undefined ) {
str10 = "What's the bug? What did you expect?" ;
}
let str11 = obj . nameLabel ;
if ( str11 === undefined ) {
str11 = "Name" ;
}
let str12 = obj . namePlaceholder ;
if ( str12 === undefined ) {
str12 = "Your Name" ;
}
let str13 = obj . removeScreenshotButtonLabel ;
if ( str13 === undefined ) {
str13 = "Remove screenshot" ;
}
let str14 = obj . submitButtonLabel ;
if ( str14 === undefined ) {
str14 = "Send Bug Report" ;
}
let str15 = obj . successMessageText ;
if ( str15 === undefined ) {
str15 = "Thank you for your report!" ;
}
let triggerLabel = obj . triggerLabel ;
if ( triggerLabel === undefined ) {
2026-08-24 06:08:38 +00:00
triggerLabel = closure _1 _6 ;
2026-07-29 08:29:29 +00:00
}
let str16 = obj . triggerAriaLabel ;
if ( str16 === undefined ) {
str16 = "" ;
}
let str17 = obj . highlightToolText ;
if ( str17 === undefined ) {
str17 = "Highlight" ;
}
let str18 = obj . hideToolText ;
if ( str18 === undefined ) {
str18 = "Hide" ;
}
let str19 = obj . removeHighlightText ;
if ( str19 === undefined ) {
str19 = "Remove" ;
}
let _loadAndRenderDialog ;
let _attachTo ;
let _createActor ;
2026-08-24 06:08:38 +00:00
closure _2 = { id : str , autoInject : flag , showBranding : flag2 , isEmailRequired : flag3 , isNameRequired : flag4 , showEmail : flag5 , showName : flag6 , enableScreenshot : flag7 , useSentryUser , tags , styleNonce , scriptNonce , colorScheme , themeDark , themeLight , triggerLabel , triggerAriaLabel : str16 , cancelButtonLabel : str3 , submitButtonLabel : str14 , confirmButtonLabel : str4 , formTitle : str7 , emailLabel : str5 , emailPlaceholder : str6 , messageLabel : str9 , messagePlaceholder : str10 , nameLabel : str11 , namePlaceholder : str12 , successMessageText : str15 , isRequiredLabel : str8 , addScreenshotButtonLabel : str2 , removeScreenshotButtonLabel : str13 , highlightToolText : str17 , hideToolText : str18 , removeHighlightText : str19 , onFormClose : obj . onFormClose , onFormOpen : obj . onFormOpen , onSubmitError : obj . onSubmitError , onSubmitSuccess : obj . onSubmitSuccess , onFormSubmitted : obj . onFormSubmitted } ;
c3 = null ;
closure _4 = [ ] ;
2026-07-29 08:29:29 +00:00
function _createShadow ( id ) {
if ( ! c3 ) {
const element = < div / > ;
const _String = String ;
element . id = String ( id . id ) ;
2026-08-24 06:08:38 +00:00
const body = closure _2 _4 . body ;
2026-07-29 08:29:29 +00:00
body . appendChild ( element ) ;
const attachShadowResult = element . attachShadow ( { mode : "open" } ) ;
c3 = attachShadowResult ;
( { colorScheme , themeDark , themeLight , styleNonce } = id ) ;
const element1 = < style / > ;
let str3 = "" ;
let str5 = "" ;
if ( "system" !== colorScheme ) {
const _HermesInternal = HermesInternal ;
str5 = "color-scheme: only " + colorScheme + ";" ;
}
if ( "dark" === colorScheme ) {
2026-08-24 06:08:38 +00:00
obj = { } ;
const merged = Object . assign ( closure _2 _11 ) ;
2026-07-29 08:29:29 +00:00
const merged1 = Object . assign ( themeDark ) ;
} else {
obj = { } ;
2026-08-24 06:08:38 +00:00
const merged2 = Object . assign ( closure _2 _10 ) ;
2026-07-29 08:29:29 +00:00
const merged3 = Object . assign ( themeLight ) ;
}
const _HermesInternal2 = HermesInternal ;
const combined = "\n --foreground: " + obj . foreground + ";\n --background: " + obj . background + ";\n --accent-foreground: " + obj . accentForeground + ";\n --accent-background: " + obj . accentBackground + ";\n --success-color: " + obj . successColor + ";\n --error-color: " + obj . errorColor + ";\n --border: " + obj . border + ";\n --box-shadow: " + obj . boxShadow + ";\n --outline: " + obj . outline + ";\n --interactive-filter: " + obj . interactiveFilter + ";\n " ;
if ( "system" === colorScheme ) {
2026-08-24 06:08:38 +00:00
obj1 = { } ;
const merged4 = Object . assign ( closure _2 _11 ) ;
2026-07-29 08:29:29 +00:00
const merged5 = Object . assign ( themeDark ) ;
const _HermesInternal4 = HermesInternal ;
const _HermesInternal5 = HermesInternal ;
str3 = "\n@media (prefers-color-scheme: dark) {\n :host {\n color-scheme: only dark;\n\n " + "\n --foreground: " + obj1 . foreground + ";\n --background: " + obj1 . background + ";\n --accent-foreground: " + obj1 . accentForeground + ";\n --accent-background: " + obj1 . accentBackground + ";\n --success-color: " + obj1 . successColor + ";\n --error-color: " + obj1 . errorColor + ";\n --border: " + obj1 . border + ";\n --box-shadow: " + obj1 . boxShadow + ";\n --outline: " + obj1 . outline + ";\n --interactive-filter: " + obj1 . interactiveFilter + ";\n " + "\n }\n}" ;
}
const _HermesInternal3 = HermesInternal ;
element1 . textContent = "\n:host {\n --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;\n --font-size: 14px;\n --z-index: 100000;\n\n --page-margin: 16px;\n --inset: auto 0 0 auto;\n --actor-inset: var(--inset);\n\n font-family: var(--font-family);\n font-size: var(--font-size);\n\n " + str5 + "\n\n " + combined + "\n}\n\n" + str3 + "\n" ;
if ( styleNonce ) {
const attr = element1 . setAttribute ( "nonce" , styleNonce ) ;
}
attachShadowResult . appendChild ( element1 ) ;
}
return c3 ;
}
closure _0 = undefined ;
2026-08-24 06:08:38 +00:00
closure _0 = closure _1 _3 ( ( arg0 ) => {
closure _0 = arg0 ;
c4 = 0 ;
c5 = 0 ;
c3 = 0 ;
2026-07-29 08:29:29 +00:00
return ( function * ( arg0 ) {
if ( v02 === 2 ) {
v02 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp8 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
v02 = 2 ;
if ( 0 === v0 ) {
if ( arg0 === 1 ) {
v02 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
v02 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
let callback = tmp4 ;
2026-08-24 06:08:38 +00:00
c1 = tmp6 ;
2026-07-29 08:29:29 +00:00
c1 = undefined ;
callback = undefined ;
2026-08-24 06:08:38 +00:00
c3 = undefined ;
2026-07-29 08:29:29 +00:00
v0 = undefined ;
v02 = undefined ;
let enableScreenshot = lib . enableScreenshot ;
if ( enableScreenshot ) {
enableScreenshot = ( function isScreenshotSupported ( ) {
let isMatch = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i . test ( userAgent . userAgent ) ;
if ( ! isMatch ) {
let tmp3 = /Macintosh/i . test ( tmp . userAgent ) && tmp . maxTouchPoints ;
if ( tmp3 ) {
tmp3 = tmp . maxTouchPoints > 1 ;
}
isMatch = tmp3 ;
const obj2 = /Macintosh/i ;
}
if ( ! isMatch ) {
isMatch = ! globalThis . isSecureContext ;
}
return ! isMatch ;
} ) ( ) ;
}
c3 = enableScreenshot ;
c3 = 1 ;
if ( scriptNonce ) {
let tmp11 = scriptNonce ( ) ;
2026-08-24 06:08:38 +00:00
closure _1 = tmp11 ( ) ;
let obj3 = closure _3 _0 ( closure _1 [ 2 ] ) ;
obj3 . addIntegration ( closure _1 ) ;
2026-07-29 08:29:29 +00:00
c3 = 2 ;
let tmp36 ;
2026-08-24 06:08:38 +00:00
if ( closure _3 _3 ) {
2026-07-29 08:29:29 +00:00
if ( callback ) {
let tmp10 = callback ( ) ;
tmp36 = tmp10 ;
} else {
v0 = 4 ;
v02 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
obj1 [ 0 ] = lib ( "feedbackScreenshotIntegration" , closure _1 _1 ) ;
2026-07-29 08:29:29 +00:00
return obj1 ;
}
}
v0 = tmp36 ;
if ( v0 ) {
callback = v0 ( ) ;
2026-08-24 06:08:38 +00:00
let obj5 = closure _3 _0 ( closure _1 [ 2 ] ) ;
2026-07-29 08:29:29 +00:00
obj5 . addIntegration ( callback ) ;
}
c3 = 0 ;
let obj2 = { options : null , screenshotIntegration : null , sendFeedback : null , shadow : null } ;
obj3 = { } ;
const merged = Object . assign ( lib ) ;
obj3 . onFormClose = function onFormClose ( ) {
if ( c5 != null ) {
c5 . close ( ) ;
}
const onFormClose = closure _0 . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
} ;
obj3 . onFormSubmitted = function onFormSubmitted ( ) {
if ( c5 != null ) {
c5 . close ( ) ;
}
const onFormSubmitted = closure _0 . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
} ;
obj2 [ 0 ] = obj3 ;
obj2 [ 1 ] = callback ;
2026-08-24 06:08:38 +00:00
obj2 [ 2 ] = closure _3 _7 ;
2026-07-29 08:29:29 +00:00
obj2 [ 3 ] = v02 ( lib ) ;
v02 = c1 . createDialog ( obj2 ) ;
v02 = 3 ;
} else {
v0 = 3 ;
v02 = 1 ;
const obj4 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj4 [ 0 ] = lib ( "feedbackModalIntegration" , closure _1 _1 ) ;
2026-07-29 08:29:29 +00:00
return obj4 ;
}
}
} else if ( 1 !== tmp9 ) {
if ( 2 === tmp9 ) {
c3 = 0 ;
2026-08-24 06:08:38 +00:00
if ( closure _3 _8 ) {
const debug = closure _3 _0 ( closure _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
debug . error ( "[Feedback] Missing feedback screenshot integration. Proceeding without screenshots." ) ;
}
} else if ( 3 === tmp9 ) {
if ( arg0 === 1 ) {
v02 = 3 ;
throw arg1 ;
} else {
tmp11 = arg1 ;
if ( arg0 === 2 ) {
c3 = 0 ;
v02 = 3 ;
obj5 = { value : null , done : true } ;
obj5 [ 0 ] = arg1 ;
return obj5 ;
}
}
} else if ( arg0 === 1 ) {
v02 = 3 ;
throw arg1 ;
} else {
tmp10 = arg1 ;
if ( arg0 === 2 ) {
c3 = 0 ;
v02 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
}
}
}
c3 = 0 ;
2026-08-24 06:08:38 +00:00
if ( closure _3 _8 ) {
const debug2 = closure _3 _0 ( closure _1 [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
debug2 . error ( "[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`." ) ;
}
const _Error = Error ;
2026-08-24 06:08:38 +00:00
error = new Error ( "[Feedback] Missing feedback modal integration!" ) ;
2026-07-29 08:29:29 +00:00
throw error ;
} catch ( tmp59 ) {
if ( tmp5 === c3 ) {
v02 = tmp3 ;
throw tmp59 ;
} else if ( tmp2 === tmp60 ) {
v0 = tmp2 ;
} else {
v0 = tmp ;
}
}
}
} ) ( ) ;
} ) ;
_loadAndRenderDialog = function _loadAndRenderDialog ( arg0 ) {
const self = this ;
const apply = closure _0 . apply ;
if ( typeof apply === "unknown" ) {
let applyArgumentsResult = HermesBuiltin . applyArguments ( self ) ;
} else {
applyArgumentsResult = apply ( self , arguments ) ;
}
return applyArgumentsResult ;
} ;
_attachTo = function _attachTo ( el , arg1 ) {
2026-08-24 06:08:38 +00:00
obj = arg1 ;
2026-07-29 08:29:29 +00:00
if ( arg1 === undefined ) {
obj = { } ;
}
2026-08-24 06:08:38 +00:00
closure _0 = undefined ;
2026-07-29 08:29:29 +00:00
let element ;
2026-08-24 06:08:38 +00:00
c2 = undefined ;
2026-07-29 08:29:29 +00:00
let handleClick ;
2026-08-24 06:08:38 +00:00
let arr ;
2026-07-29 08:29:29 +00:00
closure _0 = c2 ;
element = obj ;
obj = { } ;
let merged = Object . assign ( c2 ) ;
const merged1 = Object . assign ( obj ) ;
obj = { } ;
const merged2 = Object . assign ( c2 . tags ) ;
const merged3 = Object . assign ( obj . tags ) ;
obj . tags = obj ;
obj . onFormOpen = function onFormOpen ( ) {
const onFormOpen = obj . onFormOpen ;
if ( onFormOpen != null ) {
onFormOpen ( ) ;
}
const onFormOpen2 = closure _0 . onFormOpen ;
if ( onFormOpen2 != null ) {
onFormOpen2 ( ) ;
}
} ;
obj . onFormClose = function onFormClose ( ) {
const onFormClose = obj . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
const onFormClose2 = closure _0 . onFormClose ;
if ( onFormClose2 != null ) {
onFormClose2 ( ) ;
}
} ;
obj . onSubmitSuccess = function onSubmitSuccess ( arg0 , arg1 ) {
const onSubmitSuccess = obj . onSubmitSuccess ;
if ( onSubmitSuccess != null ) {
onSubmitSuccess ( arg0 , arg1 ) ;
}
const onSubmitSuccess2 = closure _0 . onSubmitSuccess ;
if ( onSubmitSuccess2 != null ) {
onSubmitSuccess2 ( arg0 , arg1 ) ;
}
} ;
obj . onSubmitError = function onSubmitError ( arg0 ) {
const onSubmitError = obj . onSubmitError ;
if ( onSubmitError != null ) {
onSubmitError ( arg0 ) ;
}
const onSubmitError2 = closure _0 . onSubmitError ;
if ( onSubmitError2 != null ) {
onSubmitError2 ( arg0 ) ;
}
} ;
obj . onFormSubmitted = function onFormSubmitted ( ) {
const onFormSubmitted = obj . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
const onFormSubmitted2 = closure _0 . onFormSubmitted ;
if ( onFormSubmitted2 != null ) {
onFormSubmitted2 ( ) ;
}
} ;
const merged4 = Object . assign ( c2 . themeDark ) ;
const merged5 = Object . assign ( obj . themeDark ) ;
obj . themeDark = { } ;
const merged6 = Object . assign ( c2 . themeLight ) ;
const merged7 = Object . assign ( obj . themeLight ) ;
obj . themeLight = { } ;
closure _0 = obj ;
2026-08-04 21:03:28 +00:00
if ( typeof el === "string" ) {
2026-08-24 06:08:38 +00:00
element = closure _2 _4 . querySelector ( el ) ;
2026-07-29 08:29:29 +00:00
} else {
element = null ;
2026-08-04 21:03:28 +00:00
if ( typeof el . addEventListener === "function" ) {
2026-07-29 08:29:29 +00:00
element = el ;
}
}
if ( element ) {
c2 = null ;
closure _0 = undefined ;
2026-08-24 06:08:38 +00:00
closure _0 = closure _2 _3 ( function * ( ) {
2026-07-29 08:29:29 +00:00
if ( c2 === 2 ) {
c2 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp4 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c2 = 2 ;
if ( 0 === c1 ) {
if ( arg0 === 1 ) {
c2 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c2 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
closure _0 = tmp2 ;
if ( closure _2 ) {
closure _2 . appendToDom ( ) ;
closure _2 . open ( ) ;
2026-07-29 08:29:29 +00:00
c2 = 3 ;
} else {
2026-08-24 06:08:38 +00:00
obj1 = { } ;
const merged = Object . assign ( closure _1 _0 ) ;
2026-07-29 08:29:29 +00:00
obj1 . onFormSubmitted = function onFormSubmitted ( ) {
if ( c2 != null ) {
c2 . removeFromDom ( ) ;
}
const onFormSubmitted = tmp2 . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
} ;
c1 = 1 ;
c2 = 1 ;
const obj2 = { value : null , done : false } ;
2026-08-24 06:08:38 +00:00
obj2 [ 0 ] = closure _2 _6 ( obj1 ) ;
2026-07-29 08:29:29 +00:00
return obj2 ;
}
}
} else if ( arg0 === 1 ) {
c2 = 3 ;
throw arg1 ;
} else if ( arg0 !== 2 ) {
2026-08-24 06:08:38 +00:00
closure _2 = arg1 ;
2026-07-29 08:29:29 +00:00
}
c2 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} catch ( tmp15 ) {
c2 = tmp ;
throw tmp15 ;
}
}
} ) ;
handleClick = function handleClick ( ) {
const self = this ;
const apply = closure _0 . apply ;
if ( typeof apply === "unknown" ) {
let applyArgumentsResult = HermesBuiltin . applyArguments ( self ) ;
} else {
applyArgumentsResult = apply ( self , arguments ) ;
}
return applyArgumentsResult ;
} ;
const listener = element . addEventListener ( "click" , handleClick ) ;
2026-08-24 06:08:38 +00:00
function unsubscribe ( ) {
closure _4 = closure _4 . filter ( ( arg0 ) => arg0 !== closure _4 ) ;
2026-07-29 08:29:29 +00:00
if ( c2 != null ) {
c2 . removeFromDom ( ) ;
}
c2 = null ;
const removed = element . removeEventListener ( "click" , handleClick ) ;
2026-08-24 06:08:38 +00:00
}
arr = unsubscribe ;
arr = arr . push ( unsubscribe ) ;
2026-07-29 08:29:29 +00:00
return unsubscribe ;
} else {
2026-08-24 06:08:38 +00:00
if ( closure _2 _8 ) {
const debug = closure _2 _0 ( scriptNonce [ 2 ] ) . debug ;
2026-07-29 08:29:29 +00:00
debug . error ( "[Feedback] Unable to attach to target element" ) ;
}
const _Error = Error ;
2026-08-24 06:08:38 +00:00
error = new Error ( "Unable to attach to target element" ) ;
2026-07-29 08:29:29 +00:00
throw error ;
}
2026-08-24 06:08:38 +00:00
obj1 = { } ;
2026-07-29 08:29:29 +00:00
let obj2 = { } ;
} ;
_createActor = function _createActor ( id ) {
2026-08-24 06:08:38 +00:00
obj = id ;
2026-07-29 08:29:29 +00:00
if ( id === undefined ) {
obj = { } ;
}
let obj3 ;
obj3 = element2 ;
let element = obj ;
obj = { } ;
const merged = Object . assign ( element2 ) ;
const merged1 = Object . assign ( obj ) ;
obj = { } ;
const merged2 = Object . assign ( element2 . tags ) ;
const merged3 = Object . assign ( obj . tags ) ;
obj . tags = obj ;
obj . onFormOpen = function onFormOpen ( ) {
const onFormOpen = obj . onFormOpen ;
if ( onFormOpen != null ) {
onFormOpen ( ) ;
}
const onFormOpen2 = closure _0 . onFormOpen ;
if ( onFormOpen2 != null ) {
onFormOpen2 ( ) ;
}
} ;
obj . onFormClose = function onFormClose ( ) {
const onFormClose = obj . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
const onFormClose2 = closure _0 . onFormClose ;
if ( onFormClose2 != null ) {
onFormClose2 ( ) ;
}
} ;
obj . onSubmitSuccess = function onSubmitSuccess ( arg0 , arg1 ) {
const onSubmitSuccess = obj . onSubmitSuccess ;
if ( onSubmitSuccess != null ) {
onSubmitSuccess ( arg0 , arg1 ) ;
}
const onSubmitSuccess2 = closure _0 . onSubmitSuccess ;
if ( onSubmitSuccess2 != null ) {
onSubmitSuccess2 ( arg0 , arg1 ) ;
}
} ;
obj . onSubmitError = function onSubmitError ( arg0 ) {
const onSubmitError = obj . onSubmitError ;
if ( onSubmitError != null ) {
onSubmitError ( arg0 ) ;
}
const onSubmitError2 = closure _0 . onSubmitError ;
if ( onSubmitError2 != null ) {
onSubmitError2 ( arg0 ) ;
}
} ;
obj . onFormSubmitted = function onFormSubmitted ( ) {
const onFormSubmitted = obj . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
const onFormSubmitted2 = closure _0 . onFormSubmitted ;
if ( onFormSubmitted2 != null ) {
onFormSubmitted2 ( ) ;
}
} ;
const merged4 = Object . assign ( element2 . themeDark ) ;
const merged5 = Object . assign ( obj . themeDark ) ;
obj . themeDark = { } ;
const merged6 = Object . assign ( element2 . themeLight ) ;
const merged7 = Object . assign ( obj . themeLight ) ;
obj . themeLight = { } ;
( { triggerLabel , triggerAriaLabel } = obj ) ;
obj3 = _createShadow ( obj ) ;
element = undefined ;
element2 = undefined ;
element = < button / > ;
element . type = "button" ;
element . className = "widget__actor" ;
element . ariaHidden = "false" ;
if ( ! triggerAriaLabel ) {
triggerAriaLabel = triggerLabel ;
}
if ( ! triggerAriaLabel ) {
2026-08-24 06:08:38 +00:00
triggerAriaLabel = closure _2 _6 ;
2026-07-29 08:29:29 +00:00
}
element . ariaLabel = triggerAriaLabel ;
2026-08-24 06:08:38 +00:00
const _document = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS = _document . createElementNS ( "http://www.w3.org/2000/svg" , "svg" ) ;
obj3 = elementNS ;
const entries = Object . entries ( { width : "20" , height : "20" , viewBox : "0 0 20 20" , fill : "var(--actor-color, var(--foreground))" } ) ;
const item = entries . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
2026-08-24 06:08:38 +00:00
const _document2 = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS1 = _document2 . createElementNS ( "http://www.w3.org/2000/svg" , "g" ) ;
obj3 = elementNS1 ;
const entries1 = Object . entries ( { clipPath : "url(#clip0_57_80)" } ) ;
const item1 = entries1 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
2026-08-24 06:08:38 +00:00
const _document3 = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS2 = _document3 . createElementNS ( "http://www.w3.org/2000/svg" , "path" ) ;
obj3 = elementNS2 ;
const entries2 = Object . entries ( { "fill-rule" : "evenodd" , "clip-rule" : "evenodd" , d : "M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z" } ) ;
const item2 = entries2 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS . appendChild ( elementNS1 ) . appendChild ( elementNS2 ) ;
2026-08-24 06:08:38 +00:00
const _document4 = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS3 = _document4 . createElementNS ( "http://www.w3.org/2000/svg" , "defs" ) ;
2026-08-24 06:08:38 +00:00
const _document5 = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS4 = _document5 . createElementNS ( "http://www.w3.org/2000/svg" , "clipPath" ) ;
obj3 = elementNS4 ;
const entries3 = Object . entries ( { id : "clip0_57_80" } ) ;
const item3 = entries3 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
2026-08-24 06:08:38 +00:00
const _document6 = closure _2 _0 ( scriptNonce [ 2 ] ) . GLOBAL _OBJ . document ;
2026-07-29 08:29:29 +00:00
const elementNS5 = _document6 . createElementNS ( "http://www.w3.org/2000/svg" , "rect" ) ;
obj3 = elementNS5 ;
const entries4 = Object . entries ( { width : "20" , height : "20" , fill : "white" } ) ;
const item4 = entries4 . forEach ( ( arg0 ) => {
[ tmp , tmp2 ] = arg0 ;
obj3 . setAttributeNS ( null , tmp , tmp2 ) ;
} ) ;
elementNS4 . appendChild ( elementNS5 ) ;
elementNS3 . appendChild ( elementNS4 ) ;
const appendChildResult = elementNS . appendChild ( elementNS1 ) ;
2026-08-24 06:08:38 +00:00
obj1 = { } ;
2026-07-29 08:29:29 +00:00
const obj2 = { } ;
const appendChildResult4 = elementNS . appendChild ( elementNS3 ) ;
elementNS . appendChild ( elementNS3 ) . appendChild ( elementNS4 ) . appendChild ( elementNS5 ) ;
element . appendChild ( elementNS ) ;
if ( triggerLabel ) {
const element1 = < span / > ;
element1 . appendChild ( obj6 . createTextNode ( triggerLabel ) ) ;
element . appendChild ( element1 ) ;
}
element2 = < style / > ;
element2 . textContent = "\n.widget__actor {\n position: fixed;\n z-index: var(--z-index);\n margin: var(--page-margin);\n inset: var(--actor-inset);\n\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 16px;\n\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 600;\n line-height: 1.14em;\n text-decoration: none;\n\n background: var(--actor-background, var(--background));\n border-radius: var(--actor-border-radius, 1.7em/50%);\n border: var(--actor-border, var(--border));\n box-shadow: var(--actor-box-shadow, var(--box-shadow));\n color: var(--actor-color, var(--foreground));\n fill: var(--actor-color, var(--foreground));\n cursor: pointer;\n opacity: 1;\n transition: transform 0.2s ease-in-out;\n transform: translate(0, 0) scale(1);\n}\n.widget__actor[aria-hidden=\"true\"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n transform: translate(0, 16px) scale(0.98);\n}\n\n.widget__actor:hover {\n background: var(--actor-hover-background, var(--background));\n filter: var(--interactive-filter);\n}\n\n.widget__actor svg {\n width: 1.14em;\n height: 1.14em;\n}\n\n@media (max-width: 600px) {\n .widget__actor span {\n display: none;\n }\n}\n" ;
if ( obj3 ) {
const attr = element2 . setAttribute ( "nonce" , tmp9 ) ;
}
obj3 = {
el : element ,
appendToDom ( ) {
obj3 . appendChild ( element2 ) ;
obj3 . appendChild ( element ) ;
} ,
removeFromDom ( ) {
element . remove ( ) ;
element2 . remove ( ) ;
} ,
show ( ) {
element . ariaHidden = "false" ;
} ,
hide ( ) {
element . ariaHidden = "true" ;
}
} ;
const obj4 = { } ;
const merged8 = Object . assign ( obj ) ;
obj4 . onFormOpen = function onFormOpen ( ) {
obj3 . hide ( ) ;
} ;
obj4 . onFormClose = function onFormClose ( ) {
obj3 . show ( ) ;
} ;
obj4 . onFormSubmitted = function onFormSubmitted ( ) {
obj3 . show ( ) ;
} ;
_attachTo ( obj3 . el , obj4 ) ;
return obj3 ;
} ;
obj = {
name : "Feedback" ,
setupOnce ( ) {
2026-08-24 06:08:38 +00:00
let autoInject = closure _2 _0 ( scriptNonce [ 2 ] ) . isBrowser ( ) ;
2026-07-29 08:29:29 +00:00
if ( autoInject ) {
autoInject = closure _2 . autoInject ;
}
if ( autoInject ) {
2026-08-24 06:08:38 +00:00
if ( "loading" === closure _2 _4 . readyState ) {
2026-07-29 08:29:29 +00:00
const listener = obj2 . addEventListener ( "DOMContentLoaded" , ( ) => callback ( ) . appendToDom ( ) ) ;
} else {
_createActor ( ) . appendToDom ( ) ;
const obj3 = _createActor ( ) ;
}
2026-08-24 06:08:38 +00:00
obj2 = closure _2 _4 ;
2026-07-29 08:29:29 +00:00
}
} ,
attachTo : _attachTo ,
createWidget ( id ) {
2026-08-24 06:08:38 +00:00
obj = id ;
2026-07-29 08:29:29 +00:00
if ( id === undefined ) {
obj = { } ;
}
2026-08-24 06:08:38 +00:00
closure _0 = closure _2 ;
2026-07-29 08:29:29 +00:00
obj = { } ;
const merged = Object . assign ( closure _2 ) ;
const merged1 = Object . assign ( obj ) ;
obj = { } ;
const merged2 = Object . assign ( closure _2 . tags ) ;
const merged3 = Object . assign ( obj . tags ) ;
obj . tags = obj ;
obj . onFormOpen = function onFormOpen ( ) {
const onFormOpen = obj . onFormOpen ;
if ( onFormOpen != null ) {
onFormOpen ( ) ;
}
const onFormOpen2 = closure _0 . onFormOpen ;
if ( onFormOpen2 != null ) {
onFormOpen2 ( ) ;
}
} ;
obj . onFormClose = function onFormClose ( ) {
const onFormClose = obj . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
const onFormClose2 = closure _0 . onFormClose ;
if ( onFormClose2 != null ) {
onFormClose2 ( ) ;
}
} ;
obj . onSubmitSuccess = function onSubmitSuccess ( arg0 , arg1 ) {
const onSubmitSuccess = obj . onSubmitSuccess ;
if ( onSubmitSuccess != null ) {
onSubmitSuccess ( arg0 , arg1 ) ;
}
const onSubmitSuccess2 = closure _0 . onSubmitSuccess ;
if ( onSubmitSuccess2 != null ) {
onSubmitSuccess2 ( arg0 , arg1 ) ;
}
} ;
obj . onSubmitError = function onSubmitError ( arg0 ) {
const onSubmitError = obj . onSubmitError ;
if ( onSubmitError != null ) {
onSubmitError ( arg0 ) ;
}
const onSubmitError2 = closure _0 . onSubmitError ;
if ( onSubmitError2 != null ) {
onSubmitError2 ( arg0 ) ;
}
} ;
obj . onFormSubmitted = function onFormSubmitted ( ) {
const onFormSubmitted = obj . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
const onFormSubmitted2 = closure _0 . onFormSubmitted ;
if ( onFormSubmitted2 != null ) {
onFormSubmitted2 ( ) ;
}
} ;
const merged4 = Object . assign ( closure _2 . themeDark ) ;
const merged5 = Object . assign ( obj . themeDark ) ;
obj . themeDark = { } ;
const merged6 = Object . assign ( closure _2 . themeLight ) ;
const merged7 = Object . assign ( obj . themeLight ) ;
obj . themeLight = { } ;
const obj6 = _createActor ( obj ) ;
obj6 . appendToDom ( ) ;
return obj6 ;
} ,
createForm ( ) {
2026-08-24 06:08:38 +00:00
obj = arg0 ;
2026-07-29 08:29:29 +00:00
if ( arg0 === undefined ) {
obj = { } ;
}
2026-08-24 06:08:38 +00:00
return closure _2 _3 ( function * ( ) {
2026-07-29 08:29:29 +00:00
if ( c0 === 2 ) {
c0 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp3 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c0 = 2 ;
if ( arg0 === 1 ) {
c0 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c0 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
c0 = 3 ;
obj = { value : null , done : true } ;
2026-08-24 06:08:38 +00:00
obj [ 0 ] = closure _1 _6 ( closure _3 _9 ( closure _1 _2 , c0 ) ) ;
2026-07-29 08:29:29 +00:00
return obj ;
}
} catch ( tmp8 ) {
c0 = tmp ;
throw tmp8 ;
}
}
} ) ( ) ;
} ,
remove ( ) {
if ( _null ) {
const parentElement = _null . parentElement ;
if ( parentElement != null ) {
parentElement . remove ( ) ;
}
_null = null ;
}
2026-08-24 06:08:38 +00:00
const item = arr . forEach ( ( arg0 ) => arg0 ( ) ) ;
2026-07-29 08:29:29 +00:00
}
} ;
return obj ;
} ;
} ;
export ( ) => ( {
name : "FeedbackModal" ,
setupOnce ( ) {
} ,
createDialog ( options ) {
options = options . options ;
( { screenshotIntegration , sendFeedback : closure _1 } = options ) ;
let useSentryUser ;
let user ;
2026-08-24 06:08:38 +00:00
closure _5 = undefined ;
2026-07-29 08:29:29 +00:00
let element ;
2026-08-24 06:08:38 +00:00
c7 = undefined ;
2026-07-29 08:29:29 +00:00
let input ;
let renderContent ;
const shadow = options . shadow ;
useSentryUser = options . useSentryUser ;
2026-08-24 06:08:38 +00:00
obj = options ( 817 ) ;
2026-07-29 08:29:29 +00:00
const currentScope = obj . getCurrentScope ( ) ;
user = currentScope . getUser ( ) ;
const isolationScope = options ( 817 ) . getIsolationScope ( ) ;
const user1 = isolationScope . getUser ( ) ;
const obj3 = options ( 817 ) ;
const globalScope = options ( 817 ) . getGlobalScope ( ) ;
const user2 = globalScope . getUser ( ) ;
if ( ! user ) {
let tmp5 = user2 ;
if ( user1 ) {
const _Object2 = Object ;
tmp5 = user2 ;
if ( Object . keys ( user1 ) . length ) {
tmp5 = user1 ;
}
}
user = tmp5 ;
} else {
const _Object = Object ;
}
closure _5 = < div / > ;
const styleNonce = options . styleNonce ;
element = < style / > ;
element . textContent = " \ n : host { \ n -- dialog - inset : var ( -- inset ) ; \ n } \ n \ n \ n . dialog { \ n position : fixed ; \ n z - index : var ( -- z - index ) ; \ n margin : 0 ; \ n inset : 0 ; \ n \ n display : flex ; \ n align - items : center ; \ n justify - content : center ; \ n padding : 0 ; \ n height : 100 vh ; \ n width : 100 vw ; \ n \ n color : var ( -- dialog - color , var ( -- foreground ) ) ; \ n fill : var ( -- dialog - color , var ( -- foreground ) ) ; \ n line - height : 1.75 em ; \ n \ n background - color : rgba ( 0 , 0 , 0 , 0.05 ) ; \ n border : none ; \ n inset : 0 ; \ n opacity : 1 ; \ n transition : opacity 0.2 s ease - in - out ; \ n } \ n \ n . dialog _ _position { \ n position : fixed ; \ n z - index : var ( -- z - index ) ; \ n inset : var ( -- dialog - inset ) ; \ n padding : var ( -- page - margin ) ; \ n display : flex ; \ n max - height : calc ( 100 vh - ( 2 * var ( -- page - margin ) ) ) ; \ n } \ n @ media ( max - width : 600 px ) { \ n . dialog _ _position { \ n inset : var ( -- page - margin ) ; \ n padding : 0 ; \ n } \ n } \ n \ n . dialog _ _position : has ( . editor ) { \ n inset : var ( -- page - margin ) ; \ n padding : 0 ; \ n } \ n \ n . dialog : not ( [ open ] ) { \ n opacity : 0 ; \ n pointer - events : none ; \ n visibility : hidden ; \ n } \ n . dialog : not ( [ open ] ) . dialog _ _content { \ n transform : translate ( 0 , - 16 px ) scale ( 0.98 ) ; \ n } \ n \ n . dialog _ _content { \ n display : flex ; \ n flex - direction : column ; \ n gap : 16 px ; \ n padding : var ( -- dialog - padding , 24 px ) ; \ n max - width : 100 % ; \ n width : 100 % ; \ n max - height : 100 % ; \ n overflow : auto ; \ n \ n background : var ( -- dialog - background , var ( -- background ) ) ; \ n border - radius : var ( -- dialog - border - radius , 20 px ) ; \ n border : var ( -- dialog - border , var ( -- border ) ) ; \ n box - shadow : var ( -- dialog - box - shadow , var ( -- box - shadow ) ) ; \ n transform : translate ( 0 , 0 ) scale ( 1 ) ; \ n transition : transform 0.2 s ease - in - out ; \ n } \ n \ n \ n \ n . dialog _ _header { \ n display : flex ; \ n gap : 4 px ; \ n justify - content : space - between ; \ n font - weight : var ( -- dialog - header - weight , 600 ) ; \ n margin : 0 ; \ n } \ n . dialog _ _title { \ n align - self : center ; \ n width : var ( -- form - width , 272 px ) ; \ n } \ n \ n @ media ( max - width : 600 px ) { \ n . dialog _ _title { \ n width : auto ; \ n } \ n } \ n \ n . dialog _ _position : has ( . editor ) . dialog _ _title { \ n width : auto ; \ n } \ n \ n \ n . brand - link { \ n display : inline - flex ; \ n } \ n . brand - link : focus - visible { \ n outline : var ( -- outline ) ; \ n } \ n \ n \ n . form { \ n display : flex ; \ n overflow : auto ; \ n flex - direction : row ; \ n gap : 16 px ; \ n flex : 1 0 ; \ n } \ n \ n . form fieldset { \ n border : none ; \ n margin : 0 ; \ n padding : 0 ; \ n } \ n \ n . form _ _right { \ n flex : 0 0 auto ; \ n display : flex ; \ n overflow : auto ; \ n flex - direction : column ; \ n justify - content : space - between ; \ n gap : 20 px ; \ n width : var ( -- form - width , 100 % ) ; \ n } \ n \ n . dialog _ _position : has ( . editor ) . form _ _right { \ n width : var ( -- form - width , 272 px ) ; \ n } \ n \ n . form _ _top { \ n display : flex ; \ n flex - direction : column ; \ n gap : 8 px ; \ n } \ n \ n . form _ _error - container { \ n color : var ( -- error - color ) ; \ n fill : var ( -- error - color ) ; \ n } \ n \ n . form _ _label { \ n display : flex ; \ n flex - direction : column ; \ n gap : 4 px ; \ n margin : 0 px ; \ n } \ n \ n . form _ _label _ _text { \ n display : flex ; \ n gap : 4 px ; \ n align - items : center ; \ n } \ n \ n . form _ _label _ _text -- required { \ n font - size : 0.85 em ; \ n } \ n \ n . form _ _input { \ n font - family : inherit ; \ n line - height : inherit ; \ n background : transparent ; \ n box - sizing : border - box ; \ n border : var ( -- input - border , var ( -- border ) ) ; \ n border - radius : var ( -- input - border - radius , 6 px ) ; \ n color : var ( -- input - color , inherit ) ; \ n fill : var ( -- input - color , inherit ) ; \ n font - size : var ( -- input - font - size , inherit ) ; \ n font - weight : var ( -- input - font - weight , 500 ) ; \ n padding : 6 px 12 px ; \ n } \ n \ n . form _ _input : : placeholder { \ n opacity : 0.65 ; \ n color : var ( -- input - placeholder - color , inherit ) ; \ n filter : var ( -- interactive - filter ) ; \ n } \ n \ n . form _ _input : focus - visible { \ n outline : var ( -- input - focus - outline , var ( -- outline ) ) ; \ n } \ n \ n . form _ _input -- textarea { \ n font - family : inherit ; \ n resize : vertical ; \ n } \ n \ n . error { \ n color : var ( -- error - color ) ; \ n fill : var ( -- error - color ) ; \ n } \ n \ n \ n . btn - group { \ n display : grid ; \ n gap : 8 px ; \ n } \ n \ n . btn { \ n line - height : inherit ; \ n border : var ( -- button - border , var ( -- border ) ) ; \ n border - radius : var ( -- button - border - radius , 6 px ) ; \ n cursor : pointer ; \ n font - family : inherit ; \ n font - size : var ( -- button - font - size , inherit ) ; \ n font - weight : var ( -- button - font - we
if ( styleNonce ) {
const attr = element . setAttribute ( "nonce" , styleNonce ) ;
}
c7 = "" ;
obj = { } ;
Object . defineProperty ( obj , "el" , { get : ( ) => closure _5 , set : undefined } ) ;
obj . appendToDom = function appendToDom ( ) {
let hasItem = shadow . contains ( element ) ;
if ( ! hasItem ) {
hasItem = obj . contains ( closure _5 ) ;
}
if ( ! hasItem ) {
obj . appendChild ( element ) ;
obj . appendChild ( closure _5 ) ;
}
} ;
obj . removeFromDom = function removeFromDom ( ) {
closure _5 . remove ( ) ;
element . remove ( ) ;
user . body . style . overflow = c7 ;
} ;
obj . open = function open ( ) {
renderContent ( true ) ;
const onFormOpen = options . onFormOpen ;
if ( onFormOpen != null ) {
onFormOpen ( ) ;
}
2026-08-24 06:08:38 +00:00
const client = options ( closure _1 _1 [ 2 ] ) . getClient ( ) ;
2026-07-29 08:29:29 +00:00
if ( client != null ) {
client . emit ( "openFeedbackWidget" ) ;
}
const overflow = user . body . style . overflow ;
user . body . style . overflow = "hidden" ;
} ;
obj . close = function close ( ) {
renderContent ( false ) ;
user . body . style . overflow = c7 ;
} ;
input = undefined ;
if ( screenshotIntegration != null ) {
obj = { h : null , hooks : null , dialog : null , options : null } ;
obj [ 0 ] = closure _25 ;
obj [ 1 ] = closure _65 ;
obj [ 2 ] = obj ;
obj [ 3 ] = options ;
input = screenshotIntegration . createInput ( obj ) ;
}
renderContent = function renderContent ( arg0 ) {
let length ;
2026-08-24 06:08:38 +00:00
obj = { options : items1 , screenshotInput : input , showName : null , showEmail : null , defaultName : null , defaultEmail : null , onFormClose : null , onSubmit : null , onSubmitSuccess : null , onSubmitError : null , onFormSubmitted : null , open : null } ;
2026-07-29 08:29:29 +00:00
let isNameRequired = items1 . showName ;
if ( ! isNameRequired ) {
isNameRequired = tmp3 . isNameRequired ;
}
obj [ 2 ] = isNameRequired ;
obj [ 3 ] = items1 . showEmail || items1 . isEmailRequired ;
let str = useSentryUser ;
if ( useSentryUser ) {
let tmp7 ;
if ( user != null ) {
tmp7 = tmp5 [ tmp4 . name ] ;
}
str = tmp7 ;
}
if ( ! str ) {
str = "" ;
}
obj [ 4 ] = String ( str ) ;
let str2 = tmp4 ;
if ( useSentryUser ) {
let tmp10 ;
if ( user != null ) {
tmp10 = tmp8 [ tmp4 . email ] ;
}
str2 = tmp10 ;
}
if ( ! str2 ) {
str2 = "" ;
}
obj [ 5 ] = String ( str2 ) ;
obj [ 6 ] = function onFormClose ( ) {
callback ( false ) ;
const onFormClose = items1 . onFormClose ;
if ( onFormClose != null ) {
onFormClose ( ) ;
}
} ;
obj [ 7 ] = closure _1 ;
obj [ 8 ] = function onSubmitSuccess ( arg0 , arg1 ) {
callback ( false ) ;
const onSubmitSuccess = items1 . onSubmitSuccess ;
if ( onSubmitSuccess != null ) {
onSubmitSuccess ( arg0 , arg1 ) ;
}
} ;
obj [ 9 ] = function onSubmitError ( arg0 ) {
const onSubmitError = items1 . onSubmitError ;
if ( onSubmitError != null ) {
onSubmitError ( arg0 ) ;
}
} ;
obj [ 10 ] = function onFormSubmitted ( ) {
const onFormSubmitted = items1 . onFormSubmitted ;
if ( onFormSubmitted != null ) {
onFormSubmitted ( ) ;
}
} ;
obj [ 11 ] = arg0 ;
2026-08-24 06:08:38 +00:00
let tmpResult = tmp ( closure _1 _70 , obj ) ;
if ( closure _1 _13 . _ _ ) {
closure _1 _13 . _ _ ( tmpResult , tmp12 ) ;
2026-07-29 08:29:29 +00:00
}
const _ _k = tmp12 . _ _k ;
2026-08-24 06:08:38 +00:00
items = [ tmpResult ] ;
tmpResult = tmp ( closure _1 _26 , null , items ) ;
2026-07-29 08:29:29 +00:00
closure _5 . _ _k = tmpResult ;
let tmp16 = _ _k ;
if ( ! _ _k ) {
2026-08-24 06:08:38 +00:00
tmp16 = closure _1 _19 ;
2026-07-29 08:29:29 +00:00
}
let tmp18 = null ;
if ( ! _ _k ) {
if ( ! tmp12 . firstChild ) {
tmp18 = null ;
} else {
2026-08-24 06:08:38 +00:00
let call = closure _1 _12 . call ;
2026-07-29 08:29:29 +00:00
const childNodes = tmp12 . childNodes ;
2026-08-24 06:08:38 +00:00
typeof call === "unknown" ? closure _1 _12 ( ) : call ( childNodes ) ;
const tmp20 = closure _1 _12 ;
2026-07-29 08:29:29 +00:00
}
}
items1 = [ ] ;
const items2 = [ ] ;
2026-08-24 06:08:38 +00:00
closure _1 _37 ( closure _5 , tmpResult , tmp16 , closure _1 _19 , undefined !== closure _5 . ownerSVGElement , tmp18 , items1 , _ _k ? _ _k . _ _e : closure _5 . firstChild , false , items2 ) ;
2026-07-29 08:29:29 +00:00
tmpResult . _ _d = undefined ;
let num = 0 ;
if ( 0 < items2 . length ) {
do {
2026-08-24 06:08:38 +00:00
let tmp24 = closure _1 _39 ;
2026-07-29 08:29:29 +00:00
let sum = num + 1 ;
let sum1 = sum + 1 ;
2026-08-24 06:08:38 +00:00
let tmp27 = closure _1 _39 ( items2 [ num ] , items2 [ sum ] , items2 [ sum1 ] ) ;
2026-07-29 08:29:29 +00:00
num = sum1 + 1 ;
length = items2 . length ;
} while ( num < length ) ;
}
2026-08-24 06:08:38 +00:00
if ( closure _1 _13 . _ _c ) {
closure _1 _13 . _ _c ( tmpResult , items1 ) ;
2026-07-29 08:29:29 +00:00
}
items1 . some ( ( _ _h ) => {
try {
_ _h = _ _h . _ _h ;
_ _h . _ _h = [ ] ;
_ _h . some ( ( call ) => {
call = call . call ;
if ( typeof call === "unknown" ) {
call ( ) ;
} else {
call ( _ _h ) ;
}
} ) ;
} catch ( tmp4 ) {
2026-08-24 06:08:38 +00:00
closure _1 _13 . _ _e ( tmp4 , tmp . _ _v ) ;
2026-07-29 08:29:29 +00:00
}
} ) ;
} ;
return obj ;
}
} )
export ( ) => ( {
name : "FeedbackScreenshot" ,
setupOnce ( ) {
} ,
createInput ( dialog ) {
( { h , hooks , options } = dialog ) ;
2026-08-24 06:08:38 +00:00
closure _0 = undefined ;
2026-07-29 08:29:29 +00:00
hooks = undefined ;
let element = < canvas / > ;
hooks = element ;
closure _0 = h ;
2026-08-24 06:08:38 +00:00
closure _7 = undefined ;
2026-07-29 08:29:29 +00:00
let style ;
let ScreenshotEditor ;
closure _0 = hooks ;
function useTakeScreenshot ( arg0 ) {
}
closure _0 = h ;
function Toolbar ( action ) {
action = action . action ;
( { setAction : hooks , options } = action ) ;
let str = "" ;
let str2 = "" ;
if ( "highlight" === action ) {
str2 = "editor__tool--active" ;
}
2026-08-24 06:08:38 +00:00
obj = {
2026-07-29 08:29:29 +00:00
type : "button" ,
class : ` editor__tool ${ str2 } ` ,
onClick ( ) {
let str = "highlight" ;
if ( "highlight" === action ) {
str = "" ;
}
closure _1 ( str ) ;
}
} ;
if ( "hide" === action ) {
str = "editor__tool--active" ;
}
obj = { class : "editor__tool-bar" } ;
obj = {
type : "button" ,
class : ` editor__tool ${ str } ` ,
onClick ( ) {
let str = "hide" ;
if ( "hide" === action ) {
str = "" ;
}
closure _1 ( str ) ;
}
} ;
return action ( "div" , { class : "editor__tool-container" } , action ( "div" , obj , action ( "button" , obj , options . highlightToolText ) , action ( "button" , obj , options . hideToolText ) ) ) ;
}
closure _0 = h ;
function IconClose ( ) {
const tmp = callback ( "circle" , { r : "7" , cx : "8" , cy : "8" , fill : "white" } ) ;
const tmp2 = callback ( "path" , { strokeWidth : "1.5" , d : "M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z" } ) ;
return callback ( "svg" , { "data-test-id" : "icon-close" , viewBox : "0 0 16 16" , fill : "#2B2233" , height : "25px" , width : "25px" } , tmp , tmp2 , callback ( "path" , { strokeWidth : "1.5" , d : "M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z" } ) , callback ( "path" , { strokeWidth : "1.5" , d : "M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z" } ) ) ;
}
const styleNonce = options . styleNonce ;
const element1 = < style / > ;
element1 . textContent = "\n.editor {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n}\n\n.editor__image-container {\n justify-items: center;\n padding: 15px;\n position: relative;\n height: 100%;\n border-radius: var(--menu-border-radius, 6px);\n\n background-color: " + "#1A141F" + ";\n background-image: repeating-linear-gradient(\n -145deg,\n transparent,\n transparent 8px,\n " + "#1A141F" + " 8px,\n " + "#1A141F" + " 11px\n ),\n repeating-linear-gradient(\n -45deg,\n transparent,\n transparent 15px,\n " + "#302735" + " 15px,\n " + "#302735" + " 16px\n );\n}\n\n.editor__canvas-container {\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.editor__canvas-container > * {\n object-fit: contain;\n position: absolute;\n}\n\n.editor__tool-container {\n padding-top: 8px;\n display: flex;\n justify-content: center;\n}\n\n.editor__tool-bar {\n display: flex;\n gap: 8px;\n}\n\n.editor__tool {\n display: flex;\n padding: 8px 12px;\n justify-content: center;\n align-items: center;\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n background: var(--button-background, var(--background));\n color: var(--button-color, var(--foreground));\n}\n\n.editor__tool--active {\n background: var(--button-primary-background, var(--accent-background));\n color: var(--button-primary-color, var(--accent-foreground));\n}\n\n.editor__rect {\n position: absolute;\n z-index: 2;\n}\n\n.editor__rect button {\n opacity: 0;\n position: absolute;\n top: -12px;\n right: -12px;\n cursor: pointer;\n padding: 0;\n z-index: 3;\n border: none;\n background: none;\n}\n\n.editor__rect:hover button {\n opacity: 1;\n}\n" ;
if ( styleNonce ) {
const attr = element1 . setAttribute ( "nonce" , styleNonce ) ;
}
2026-08-24 06:08:38 +00:00
obj = {
2026-07-29 08:29:29 +00:00
input : function Wrapper ( onError ) {
callback = onError . onError ;
callback1 = undefined ;
[ tmp2 , callback1 ] = element ( callback1 . useState ( ) , 2 ) ;
callback = callback1 . useCallback ( ( ) => {
closure _8 . display = "none" ;
} , [ ] ) ;
callback1 = callback1 . useCallback ( ( arg0 , mapped ) => {
const size = < canvas / > ;
if ( size ) {
const context = size . getContext ( "2d" , { alpha : false } ) ;
if ( context ) {
context . scale ( mapped , mapped ) ;
( { videoWidth : size . width , videoHeight : size . height } = arg0 ) ;
context . drawImage ( arg0 , 0 , 0 , size . width , size . height ) ;
2026-08-24 06:08:38 +00:00
obj = { canvas : null , dpi : null } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = size ;
obj [ 1 ] = mapped ;
callback1 ( obj ) ;
}
}
( { videoWidth : callback2 . width , videoHeight : callback2 . height } = arg0 ) ;
} , [ ] ) ;
const callback2 = callback1 . useCallback ( ( ) => {
closure _8 . display = "block" ;
} , [ ] ) ;
const callback3 = callback1 . useCallback ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _1 _8 . display = "block" ;
2026-07-29 08:29:29 +00:00
callback ( arg0 ) ;
} , [ ] ) ;
2026-08-04 21:03:28 +00:00
if ( typeof useTakeScreenshot !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
2026-08-24 06:08:38 +00:00
obj = callback ;
2026-07-29 08:29:29 +00:00
let num = callback ( hooks [ 2 ] ) . GLOBAL _OBJ . devicePixelRatio ;
if ( num == null ) {
num = 1 ;
}
const tmp = element ( callback1 . useState ( ) , 2 ) ;
[ tmp8 , callback ] = element ( callback . useState ( num ) , 2 ) ;
const effect = obj . useEffect ( ( ) => {
function onChange ( ) {
onChange ( onChange ( matchMediaResult [ 2 ] ) . GLOBAL _OBJ . devicePixelRatio ) ;
}
const matchMediaResult = globalThis . matchMedia ( "(resolution: " + callback ( callback1 [ 2 ] ) . GLOBAL _OBJ . devicePixelRatio + "dppx)" ) ;
callback1 = matchMediaResult ;
const listener = matchMediaResult . addEventListener ( "change" , onChange ) ;
return ( ) => {
const removed = matchMediaResult . removeEventListener ( "change" , onChange ) ;
} ;
} , [ ] ) ;
useTakeScreenshot = tmp8 ;
const effect1 = obj . useEffect ( ( ) => {
2026-08-24 06:08:38 +00:00
closure _0 = callback3 ( function * ( ) {
2026-07-29 08:29:29 +00:00
if ( c3 === 2 ) {
c3 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp4 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c3 = 2 ;
if ( 0 === v0 ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
c1 = 0 ;
c0 = tmp2 ;
2026-07-29 08:29:29 +00:00
c0 = undefined ;
c1 = undefined ;
2026-08-24 06:08:38 +00:00
callback ( ) ;
const mediaDevices = closure _2 _5 . mediaDevices ;
obj1 = { video : null , audio : false , monitorTypeSurfaces : "exclude" , preferCurrentTab : true , selfBrowserSurface : "include" , surfaceSwitching : "exclude" } ;
2026-07-29 08:29:29 +00:00
const obj2 = { width : null , height : null } ;
2026-08-24 06:08:38 +00:00
obj2 [ 0 ] = callback ( closure _2 _1 [ 2 ] ) . GLOBAL _OBJ . innerWidth * closure _1 _4 ;
obj2 [ 1 ] = callback ( closure _2 _1 [ 2 ] ) . GLOBAL _OBJ . innerHeight * closure _1 _4 ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = obj2 ;
v0 = 1 ;
c3 = 1 ;
const obj3 = { value : null , done : false } ;
obj3 [ 0 ] = mediaDevices . getDisplayMedia ( obj1 ) ;
return obj3 ;
}
} else if ( 1 === tmp5 ) {
if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
const obj4 = { value : null , done : true } ;
obj4 [ 0 ] = arg1 ;
return obj4 ;
} else {
2026-08-24 06:08:38 +00:00
callback = arg1 ;
closure _1 = < video / > ;
2026-07-29 08:29:29 +00:00
const promise = new Promise ( ( ) => { ... } ) ;
v0 = 2 ;
c3 = 1 ;
const obj5 = { value : null , done : false } ;
obj5 [ 0 ] = promise ;
return obj5 ;
}
} else if ( arg0 === 1 ) {
c3 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c3 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
v0 ( ) ;
c3 = 3 ;
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} catch ( tmp17 ) {
c3 = tmp ;
throw tmp17 ;
}
}
} ) ;
( function takeScreenshot ( ) {
const self = this ;
const apply = closure _0 . apply ;
if ( typeof apply === "unknown" ) {
let applyArgumentsResult = HermesBuiltin . applyArguments ( self ) ;
} else {
applyArgumentsResult = apply ( self , arguments ) ;
}
return applyArgumentsResult ;
} ) ( ) . catch ( callback3 ) ;
} , [ ] ) ;
if ( tmp2 ) {
obj = { screenshot : null } ;
obj [ 0 ] = tmp2 ;
let tmp11Result = tmp11 ( ScreenshotEditor , obj ) ;
} else {
tmp11Result = tmp11 ( "div" , null ) ;
}
return tmp11Result ;
} ,
value : null
} ;
closure _7 = { _ _html : element1 . innerText } ;
style = dialog . dialog . el . style ;
ScreenshotEditor = function ScreenshotEditor ( screenshot ) {
screenshot = screenshot . screenshot ;
let first ;
let first1 ;
2026-08-24 06:08:38 +00:00
options = undefined ;
2026-07-29 08:29:29 +00:00
let ref ;
let ref1 ;
let ref2 ;
let ref3 ;
let first2 ;
2026-08-24 06:08:38 +00:00
closure _9 = undefined ;
2026-07-29 08:29:29 +00:00
let memo ;
2026-08-24 06:08:38 +00:00
closure _11 = undefined ;
closure _12 = undefined ;
2026-07-29 08:29:29 +00:00
let handleStopPropagation ;
const tmp = element ( first . useState ( "highlight" ) , 2 ) ;
first = tmp [ 0 ] ;
const tmp3 = element ( first . useState ( [ ] ) , 2 ) ;
first1 = tmp3 [ 0 ] ;
options = tmp3 [ 1 ] ;
ref = first . useRef ( null ) ;
ref1 = first . useRef ( null ) ;
ref2 = first . useRef ( null ) ;
ref3 = first . useRef ( null ) ;
const tmp8 = element ( first . useState ( 1 ) , 2 ) ;
first2 = tmp8 [ 0 ] ;
closure _9 = tmp8 [ 1 ] ;
2026-08-24 06:08:38 +00:00
items = [ options . id ] ;
2026-07-29 08:29:29 +00:00
memo = first . useMemo ( ( ) => {
2026-08-24 06:08:38 +00:00
element = ref . getElementById ( closure _3 . id ) ;
2026-07-29 08:29:29 +00:00
if ( element ) {
const computedStyle = globalThis . getComputedStyle ( element ) ;
let propertyValue = computedStyle . getPropertyValue ( "--button-primary-background" ) ;
if ( ! propertyValue ) {
propertyValue = computedStyle . getPropertyValue ( "--accent-background" ) ;
}
return propertyValue ;
} else {
return "white" ;
}
} , items ) ;
const items1 = [ screenshot ] ;
const layoutEffect = first . useLayoutEffect ( ( ) => {
function handleResize ( ) {
2026-08-24 06:08:38 +00:00
const current = closure _1 _4 . current ;
2026-07-29 08:29:29 +00:00
if ( current ) {
const canvas = handleResize . canvas ;
if ( canvas ) {
if ( canvas . getContext ( "2d" , { alpha : false } ) ) {
const _Math = Math ;
2026-08-24 06:08:38 +00:00
closure _1 _9 ( Math . min ( current . clientWidth / canvas . width , current . clientHeight / canvas . height ) ) ;
2026-07-29 08:29:29 +00:00
}
}
if ( ! tmp5 ) {
2026-08-24 06:08:38 +00:00
_setTimeout = setTimeout ;
2026-07-29 08:29:29 +00:00
const timerId = setTimeout ( handleResize , 0 ) ;
}
tmp5 = 0 !== current . clientHeight && 0 !== current . clientWidth ;
}
}
let current = ref . current ;
if ( current ) {
let canvas = handleResize . canvas ;
if ( canvas ) {
if ( canvas . getContext ( "2d" , { alpha : false } ) ) {
let _Math = Math ;
callback ( Math . min ( current . clientWidth / canvas . width , current . clientHeight / canvas . height ) ) ;
}
}
if ( ! tmp5 ) {
2026-08-24 06:08:38 +00:00
_setTimeout = setTimeout ;
2026-07-29 08:29:29 +00:00
let timerId = setTimeout ( handleResize , 0 ) ;
}
tmp5 = 0 !== current . clientHeight && 0 !== current . clientWidth ;
}
let GLOBAL _OBJ = screenshot ( hooks [ 2 ] ) . GLOBAL _OBJ ;
const listener = GLOBAL _OBJ . addEventListener ( "resize" , handleResize ) ;
return ( ) => {
const GLOBAL _OBJ = handleResize ( hooks [ 2 ] ) . GLOBAL _OBJ ;
const removed = GLOBAL _OBJ . removeEventListener ( "resize" , handleResize ) ;
} ;
} , items1 ) ;
const items2 = [ screenshot ] ;
closure _11 = first . useCallback ( ( getContext , mapped ) => {
if ( getContext ) {
const context = getContext . getContext ( "2d" , { alpha : true } ) ;
if ( context ) {
context . scale ( mapped , mapped ) ;
getContext . width = screenshot . canvas . width ;
getContext . height = screenshot . canvas . height ;
}
}
} , items2 ) ;
const items3 = [ screenshot ] ;
const effect = first . useEffect ( ( ) => {
callback2 ( ref1 . current , screenshot . dpi ) ;
const current = ref1 . current ;
const canvas = screenshot . canvas ;
if ( current ) {
const context = current . getContext ( "2d" , { alpha : true } ) ;
if ( context ) {
context . drawImage ( canvas , 0 , 0 , canvas . width , canvas . height , 0 , 0 , current . width , current . height ) ;
}
}
} , items3 ) ;
const items4 = [ first1 , memo ] ;
const effect1 = first . useEffect ( ( ) => {
callback2 ( ref2 . current , context1 . dpi ) ;
const current = ref2 . current ;
if ( current ) {
const context = current . getContext ( "2d" , { alpha : true } ) ;
if ( context ) {
context . clearRect ( 0 , 0 , current . width , current . height ) ;
}
}
const current2 = ref2 . current ;
context1 = memo ;
if ( current2 ) {
context1 = current2 . getContext ( "2d" , { alpha : true } ) ;
if ( context1 ) {
if ( arr . length ) {
context1 . fillStyle = "rgba(0, 0, 0, 0.25)" ;
context1 . fillRect ( 0 , 0 , current2 . width , current2 . height ) ;
}
const item = arr . forEach ( ( type ) => {
type = type . type ;
if ( "highlight" === type ) {
obj . shadowColor = "rgba(0, 0, 0, 0.7)" ;
obj . shadowBlur = 50 ;
obj . fillStyle = tmp ;
obj . fillRect ( type . x - 1 , type . y - 1 , type . w + 2 , type . h + 2 ) ;
obj . clearRect ( type . x , type . y , type . w , type . h ) ;
} else if ( "hide" === type ) {
obj . fillStyle = "rgb(0, 0, 0)" ;
obj . fillRect ( type . x , type . y , type . w , type . h ) ;
}
} ) ;
}
}
} , items4 ) ;
const items5 = [ first1 , screenshot , memo ] ;
const effect2 = first . useEffect ( ( ) => {
const size = first1 ;
callback2 ( first1 , context2 . dpi ) ;
const canvas = context2 . canvas ;
if ( first1 ) {
const context = size . getContext ( "2d" , { alpha : true } ) ;
if ( context ) {
context . drawImage ( canvas , 0 , 0 , canvas . width , canvas . height , 0 , 0 , size . width , size . height ) ;
}
}
const size2 = < canvas / > ;
if ( size2 ) {
const context1 = size2 . getContext ( "2d" , { alpha : true } ) ;
if ( context1 ) {
context1 . scale ( tmp . dpi , tmp . dpi ) ;
size2 . width = tmp . canvas . width ;
size2 . height = tmp . canvas . height ;
context2 = memo ;
if ( size2 ) {
context2 = size2 . getContext ( "2d" , { alpha : true } ) ;
if ( context2 ) {
if ( arr . length ) {
context2 . fillStyle = "rgba(0, 0, 0, 0.25)" ;
context2 . fillRect ( 0 , 0 , size2 . width , size2 . height ) ;
}
const item = arr . forEach ( ( type ) => {
type = type . type ;
if ( "highlight" === type ) {
obj . shadowColor = "rgba(0, 0, 0, 0.7)" ;
obj . shadowBlur = 50 ;
obj . fillStyle = tmp ;
obj . fillRect ( type . x - 1 , type . y - 1 , type . w + 2 , type . h + 2 ) ;
obj . clearRect ( type . x , type . y , type . w , type . h ) ;
} else if ( "hide" === type ) {
obj . fillStyle = "rgb(0, 0, 0)" ;
obj . fillRect ( type . x , type . y , type . w , type . h ) ;
}
} ) ;
}
}
if ( size ) {
const context3 = size . getContext ( "2d" , { alpha : true } ) ;
if ( context3 ) {
context3 . drawImage ( size2 , 0 , 0 , size2 . width , size2 . height , 0 , 0 , size . width , size . height ) ;
}
}
}
}
} , items5 ) ;
closure _12 = first . useCallback ( ( arg0 ) => {
2026-08-24 06:08:38 +00:00
closure _0 = arg0 ;
2026-07-29 08:29:29 +00:00
return ( preventDefault ) => {
preventDefault . preventDefault ( ) ;
preventDefault . stopPropagation ( ) ;
2026-08-24 06:08:38 +00:00
closure _1 _3 ( ( ) => { ... } ) ;
2026-07-29 08:29:29 +00:00
} ;
} , [ ] ) ;
2026-08-24 06:08:38 +00:00
obj = { width : ` ${ screenshot . canvas . width * tmp9 } px ` , height : ` ${ screenshot . canvas . height * tmp9 } px ` } ;
2026-07-29 08:29:29 +00:00
handleStopPropagation = function handleStopPropagation ( stopPropagation ) {
stopPropagation . stopPropagation ( ) ;
} ;
obj = { nonce : options . styleNonce , dangerouslySetInnerHTML : ref3 } ;
obj = { class : "editor__canvas-container" , ref } ;
const tmp15 = screenshot ( "style" , obj ) ;
2026-08-24 06:08:38 +00:00
obj1 = {
2026-07-29 08:29:29 +00:00
ref : ref3 ,
onMouseDown ( offsetX ) {
if ( obj ) {
if ( ref3 . current ) {
let current = tmp2 . current ;
const boundingClientRect = current . getBoundingClientRect ( ) ;
obj = { type : null , x : null , y : null } ;
obj [ 0 ] = tmp ;
obj [ 1 ] = offsetX . offsetX / first2 ;
obj [ 2 ] = offsetX . offsetY / first2 ;
function getDrawCommand ( arg0 , arg1 ) {
}
function handleMouseMove ( clientX ) {
2026-08-24 06:08:38 +00:00
const current = closure _1 _6 . current ;
2026-07-29 08:29:29 +00:00
if ( current ) {
const context = current . getContext ( "2d" , { alpha : true } ) ;
if ( context ) {
context . clearRect ( 0 , 0 , current . width , current . height ) ;
}
}
2026-08-24 06:08:38 +00:00
const current2 = closure _1 _6 . current ;
items = [ ... getDrawCommand ] ;
2026-07-29 08:29:29 +00:00
const point = obj ;
2026-08-04 21:03:28 +00:00
if ( typeof getDrawCommand !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
2026-08-24 06:08:38 +00:00
const result = ( clientX . clientX - context1 . x ) / closure _1 _8 ;
const result1 = ( clientX . clientY - context1 . y ) / closure _1 _8 ;
2026-07-29 08:29:29 +00:00
obj = { type : point . type , x : Math . min ( point . x , result ) , y : Math . min ( point . y , result1 ) , w : Math . abs ( result - point . x ) , h : Math . abs ( result1 - point . y ) } ;
items [ tmp5 ] = obj ;
2026-08-24 06:08:38 +00:00
context1 = closure _1 _10 ;
2026-07-29 08:29:29 +00:00
if ( current2 ) {
context1 = current2 . getContext ( "2d" , { alpha : true } ) ;
if ( context1 ) {
if ( items . length ) {
context1 . fillStyle = "rgba(0, 0, 0, 0.25)" ;
context1 . fillRect ( 0 , 0 , current2 . width , current2 . height ) ;
}
const item = items . forEach ( ( ) => { ... } ) ;
}
}
}
function handleMouseUp ( clientX ) {
const point = obj ;
2026-08-04 21:03:28 +00:00
if ( typeof getDrawCommand !== "function" ) {
2026-07-29 08:29:29 +00:00
HermesBuiltin . throwTypeError ( ) ;
}
2026-08-24 06:08:38 +00:00
const result = ( clientX . clientX - obj . x ) / closure _1 _8 ;
const result1 = ( clientX . clientY - obj . y ) / closure _1 _8 ;
2026-07-29 08:29:29 +00:00
obj = { type : point . type , x : Math . min ( point . x , result ) , y : Math . min ( point . y , result1 ) , w : Math . abs ( result - point . x ) , h : Math . abs ( result1 - point . y ) } ;
if ( tmp4 ) {
handleMouseMove ( ( ) => { ... } ) ;
}
const removed = useTakeScreenshot . removeEventListener ( "mousemove" , handleMouseMove ) ;
const removed1 = useTakeScreenshot . removeEventListener ( "mouseup" , handleMouseUp ) ;
}
const listener = useTakeScreenshot . addEventListener ( "mousemove" , handleMouseMove ) ;
const listener1 = useTakeScreenshot . addEventListener ( "mouseup" , handleMouseUp ) ;
}
}
} ,
style : obj
} ;
const tmp16 = screenshot ( "canvas" , { ref : ref1 , id : "background" , style : obj } ) ;
const obj2 = { options , action : first , setAction : tmp [ 1 ] } ;
const tmp17 = screenshot ( "canvas" , { ref : ref2 , id : "foreground" , style : obj } ) ;
return screenshot ( "div" , { class : "editor" } , tmp15 , screenshot ( "div" , { class : "editor__image-container" } , screenshot ( "div" , obj , tmp16 , screenshot ( "canvas" , { ref : ref2 , id : "foreground" , style : obj } ) , screenshot ( "div" , obj1 , first1 . map ( ( arg0 , key ) => {
obj = { key , class : "editor__rect" , style : obj } ;
obj = { top : ` ${ arg0 . y * first2 } px ` , left : ` ${ arg0 . x * first2 } px ` , width : ` ${ arg0 . w * first2 } px ` , height : ` ${ arg0 . h * first2 } px ` } ;
obj = { "aria-label" : closure _3 . removeHighlightText , onClick : callback3 ( key ) , onMouseDown : handleStopPropagation , onMouseUp : handleStopPropagation , type : "button" } ;
return screenshot ( "div" , obj , screenshot ( "button" , obj , screenshot ( ref2 , null ) ) ) ;
} ) ) ) ) , screenshot ( ref1 , obj2 ) ) ;
} ;
closure _0 = options ( function * ( ) {
if ( c4 === 2 ) {
c4 = 3 ;
HermesBuiltin . throwTypeError ( ) ;
} else if ( tmp4 === 3 ) {
if ( arg0 === 1 ) {
throw arg1 ;
} else if ( arg0 === 2 ) {
2026-08-24 06:08:38 +00:00
obj = { value : null , done : true } ;
2026-07-29 08:29:29 +00:00
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
} else {
try {
c4 = 2 ;
if ( 0 === c3 ) {
if ( arg0 === 1 ) {
c4 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c4 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = arg1 ;
return obj ;
} else {
2026-08-24 06:08:38 +00:00
closure _2 = tmp2 ;
2026-07-29 08:29:29 +00:00
let Uint8Array ;
const promise = new Promise ( ( arg0 ) => {
closure _1 . toBlob ( arg0 , "image/png" ) ;
} ) ;
c3 = 1 ;
c4 = 1 ;
2026-08-24 06:08:38 +00:00
obj1 = { value : null , done : false } ;
2026-07-29 08:29:29 +00:00
obj1 [ 0 ] = promise ;
return obj1 ;
}
} else if ( 1 === tmp5 ) {
if ( arg0 === 1 ) {
c4 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c4 = 3 ;
const obj2 = { value : null , done : true } ;
obj2 [ 0 ] = arg1 ;
return obj2 ;
} else {
Uint8Array = arg1 ;
if ( Uint8Array ) {
2026-08-24 06:08:38 +00:00
closure _1 = { } ;
2026-07-29 08:29:29 +00:00
const _Uint8Array = Uint8Array ;
c3 = 2 ;
c4 = 1 ;
const obj3 = { value : null , done : false } ;
obj3 [ 0 ] = Uint8Array . arrayBuffer ( ) ;
return obj3 ;
} else {
c4 = 3 ;
2026-08-24 06:08:38 +00:00
return { value : "HermesInternal" , done : null } ;
2026-07-29 08:29:29 +00:00
}
}
} else if ( arg0 === 1 ) {
c4 = 3 ;
throw arg1 ;
} else if ( arg0 === 2 ) {
c4 = 3 ;
const obj4 = { value : null , done : true } ;
obj4 [ 0 ] = arg1 ;
return obj4 ;
} else {
const tmp11 = new Uint8Array ( arg1 ) ;
closure _1 . data = tmp11 ;
closure _1 . filename = "screenshot.png" ;
closure _1 . contentType = "application/png" ;
c4 = 3 ;
obj = { value : null , done : true } ;
obj [ 0 ] = closure _1 ;
return obj ;
}
} catch ( tmp23 ) {
c4 = tmp ;
throw tmp23 ;
}
}
} ) ;
obj [ 1 ] = function value ( ) {
const self = this ;
const apply = closure _0 . apply ;
if ( typeof apply === "unknown" ) {
let applyArgumentsResult = HermesBuiltin . applyArguments ( self ) ;
} else {
applyArgumentsResult = apply ( self , arguments ) ;
}
return applyArgumentsResult ;
} ;
return obj ;
}
} )
export const getFeedback = function getFeedback ( ) {
2026-08-24 06:08:38 +00:00
const client = registerSpanErrorInstrumentation . getClient ( ) ;
2026-07-29 08:29:29 +00:00
let integrationByName ;
if ( client != null ) {
integrationByName = client . getIntegrationByName ( "Feedback" ) ;
}
return integrationByName ;
} ;
export { sendFeedback } ;