pushfeedback 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/feedback-button_2.cjs.entry.js +1 -1032
- package/dist/cjs/index-df770657.js +1 -1463
- package/dist/cjs/index.cjs.js +1 -2
- package/dist/cjs/loader.cjs.js +1 -22
- package/dist/cjs/pushfeedback.cjs.js +1 -23
- package/dist/collection/components/feedback-button/feedback-button.css +2 -0
- package/dist/collection/components/feedback-button/feedback-button.js +1 -316
- package/dist/collection/components/feedback-modal/feedback-modal.js +1 -466
- package/dist/collection/index.js +1 -1
- package/dist/components/feedback-button.js +1 -94
- package/dist/components/feedback-modal.js +1 -6
- package/dist/components/feedback-modal2.js +1 -1011
- package/dist/components/index.js +1 -3
- package/dist/esm/feedback-button_2.entry.js +1 -1027
- package/dist/esm/index-0ae29483.js +1 -1436
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +1 -18
- package/dist/esm/polyfills/core-js.js +1 -11
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +1 -79
- package/dist/esm/polyfills/es5-html-element.js +1 -1
- package/dist/esm/polyfills/index.js +1 -34
- package/dist/esm/polyfills/system.js +1 -6
- package/dist/esm/pushfeedback.js +1 -18
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/pushfeedback/p-60079923.js +1 -2
- package/dist/pushfeedback/p-7630bdbf.entry.js +1 -0
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/package.json +3 -2
- package/dist/pushfeedback/p-65e5f493.entry.js +0 -1
|
@@ -1,94 +1 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$2 } from './feedback-modal2.js';
|
|
3
|
-
|
|
4
|
-
const feedbackButtonCss = ".feedback-button-content{cursor:pointer;z-index:300}.feedback-button-content--light{align-items:center;background-color:var(--feedback-white-color);border-radius:20px;box-shadow:rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-primary-color);font-weight:bold;padding:8px 15px;font-size:var(--feedback-text-font-size)}.feedback-button-content--dark{align-items:center;background-color:var(--feedback-primary-color);border-radius:20px;box-shadow:rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-white-color);font-weight:bold;padding:8px 15px;font-size:16px}.feedback-button-content--bottom-right{position:fixed;bottom:10px;right:10px}.feedback-button-content--center-right{position:fixed;bottom:50%;right:-50px;transform:rotate(-90deg)}.feedback-button-content--center-right.feedback-button-content--dark,.feedback-button-content--center-right.feedback-button-content--light{border-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px}.feedback-button-content-icon{margin-right:5px}";
|
|
5
|
-
|
|
6
|
-
const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.__attachShadow();
|
|
11
|
-
this.modalTitle = 'Share your feedback';
|
|
12
|
-
this.successModalTitle = 'Thanks for your feedback!';
|
|
13
|
-
this.errorModalTitle = "Oops! We didn't receive your feedback. Please try again later.";
|
|
14
|
-
this.modalPosition = 'center';
|
|
15
|
-
this.sendButtonText = 'Send';
|
|
16
|
-
this.project = '';
|
|
17
|
-
this.screenshotButtonTooltipText = 'Take a Screenshot';
|
|
18
|
-
this.screenshotTopbarText = 'SELECT AN ELEMENT ON THE PAGE';
|
|
19
|
-
this.email = '';
|
|
20
|
-
this.emailPlaceholder = 'Email address (optional)';
|
|
21
|
-
this.messagePlaceholder = 'How could this page be more helpful?';
|
|
22
|
-
this.buttonStyle = 'default';
|
|
23
|
-
this.buttonPosition = 'default';
|
|
24
|
-
this.hideIcon = false;
|
|
25
|
-
}
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
this.feedbackModal = document.createElement('feedback-modal');
|
|
28
|
-
const props = [
|
|
29
|
-
'modalTitle',
|
|
30
|
-
'successModalTitle',
|
|
31
|
-
'errorModalTitle',
|
|
32
|
-
'modalPosition',
|
|
33
|
-
'sendButtonText',
|
|
34
|
-
'project',
|
|
35
|
-
'screenshotButtonTooltipText',
|
|
36
|
-
'screenshotTopbarText',
|
|
37
|
-
'email',
|
|
38
|
-
'emailPlaceholder',
|
|
39
|
-
'messagePlaceholder',
|
|
40
|
-
];
|
|
41
|
-
props.forEach(prop => {
|
|
42
|
-
this.feedbackModal[prop] = this[prop];
|
|
43
|
-
});
|
|
44
|
-
document.body.appendChild(this.feedbackModal);
|
|
45
|
-
}
|
|
46
|
-
disconnectedCallback() {
|
|
47
|
-
document.body.removeChild(this.feedbackModal);
|
|
48
|
-
}
|
|
49
|
-
showModal() {
|
|
50
|
-
this.feedbackModal.showModal = true;
|
|
51
|
-
}
|
|
52
|
-
render() {
|
|
53
|
-
return (h(Host, null, h("a", { class: `feedback-button-content feedback-button-content--${this.buttonStyle} feedback-button-content--${this.buttonPosition}`, onClick: () => this.showModal() }, !this.hideIcon && this.buttonStyle === 'dark' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#fff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-repeat" }, h("polyline", { points: "17 1 21 5 17 9" }), h("path", { d: "M3 11V9a4 4 0 0 1 4-4h14" }), h("polyline", { points: "7 23 3 19 7 15" }), h("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })))), !this.hideIcon && this.buttonStyle === 'light' && (h("span", { class: "feedback-button-content-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "#0070F4", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-repeat" }, h("polyline", { points: "17 1 21 5 17 9" }), h("path", { d: "M3 11V9a4 4 0 0 1 4-4h14" }), h("polyline", { points: "7 23 3 19 7 15" }), h("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })))), h("slot", null))));
|
|
54
|
-
}
|
|
55
|
-
static get style() { return feedbackButtonCss; }
|
|
56
|
-
}, [1, "feedback-button", {
|
|
57
|
-
"modalTitle": [1, "modal-title"],
|
|
58
|
-
"successModalTitle": [1, "success-modal-title"],
|
|
59
|
-
"errorModalTitle": [1, "error-modal-title"],
|
|
60
|
-
"modalPosition": [1, "modal-position"],
|
|
61
|
-
"sendButtonText": [1, "send-button-text"],
|
|
62
|
-
"project": [1],
|
|
63
|
-
"screenshotButtonTooltipText": [1, "screenshot-button-tooltip-text"],
|
|
64
|
-
"screenshotTopbarText": [1, "screenshot-topbar-text"],
|
|
65
|
-
"email": [1],
|
|
66
|
-
"emailPlaceholder": [1, "email-placeholder"],
|
|
67
|
-
"messagePlaceholder": [1, "message-placeholder"],
|
|
68
|
-
"buttonStyle": [1, "button-style"],
|
|
69
|
-
"buttonPosition": [1, "button-position"],
|
|
70
|
-
"hideIcon": [4, "hide-icon"]
|
|
71
|
-
}]);
|
|
72
|
-
function defineCustomElement$1() {
|
|
73
|
-
if (typeof customElements === "undefined") {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const components = ["feedback-button", "feedback-modal"];
|
|
77
|
-
components.forEach(tagName => { switch (tagName) {
|
|
78
|
-
case "feedback-button":
|
|
79
|
-
if (!customElements.get(tagName)) {
|
|
80
|
-
customElements.define(tagName, FeedbackButton$1);
|
|
81
|
-
}
|
|
82
|
-
break;
|
|
83
|
-
case "feedback-modal":
|
|
84
|
-
if (!customElements.get(tagName)) {
|
|
85
|
-
defineCustomElement$2();
|
|
86
|
-
}
|
|
87
|
-
break;
|
|
88
|
-
} });
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
const FeedbackButton = FeedbackButton$1;
|
|
92
|
-
const defineCustomElement = defineCustomElement$1;
|
|
93
|
-
|
|
94
|
-
export { FeedbackButton, defineCustomElement };
|
|
1
|
+
function _0x45f3(_0x353c4b,_0x15d3cc){const _0x3daa33=_0x3daa();return _0x45f3=function(_0x45f3c8,_0xeccee7){_0x45f3c8=_0x45f3c8-0x9d;let _0x189f84=_0x3daa33[_0x45f3c8];return _0x189f84;},_0x45f3(_0x353c4b,_0x15d3cc);}const _0x5e278d=_0x45f3;function _0x3daa(){const _0x30e0fd=['slot','JEYbC','DPtmd','screenshot-button-tooltip-text','.feedback-button-content{cursor:pointer;z-index:300}.feedback-button-content--light{align-items:center;background-color:var(--feedback-white-color);border-radius:20px;box-shadow:rgba(60,\x2064,\x2067,\x200.3)\x200px\x201px\x202px\x200px,\x20rgba(60,\x2064,\x2067,\x200.15)\x200px\x202px\x206px\x202px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-primary-color);font-weight:bold;padding:8px\x2015px;font-size:var(--feedback-text-font-size)}.feedback-button-content--dark{align-items:center;background-color:var(--feedback-primary-color);border-radius:20px;box-shadow:rgba(60,\x2064,\x2067,\x200.3)\x200px\x201px\x202px\x200px,\x20rgba(60,\x2064,\x2067,\x200.15)\x200px\x202px\x206px\x202px;box-sizing:border-box;display:flex;font-family:var(--feedback-font-family);color:var(--feedback-white-color);font-weight:bold;padding:8px\x2015px;font-size:16px}.feedback-button-content--bottom-right{position:fixed;bottom:10px;right:10px}.feedback-button-content--center-right{position:fixed;bottom:50%;right:-50px;transform:rotate(-90deg)}.feedback-button-content--center-right.feedback-button-content--dark,.feedback-button-content--center-right.feedback-button-content--light{border-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px}.feedback-button-content-icon{margin-right:5px;height:16px;width:16px}','email-placeholder','Jqhfo','feedbackModal','eZTOA','YFmiQ','__attachShadow','Send','1878032jnfiFx','quKRl','muJiF','UJFrg','1507555wsQruh','M21\x2013v2a4\x204\x200\x200\x201-4\x204H3','arPUk','Thanks\x20for\x20your\x20feedback!','QkcfI','MaMYu','hideIcon','modalPosition','vDOul','none','modal-title','buttonStyle','rlDNa','fBHxH','buttonPosition','792684qgHuqr','iAFZb','span','HKYkB','email','showModal','oviaj','OyASh','AISQV','#fff','7\x2023\x203\x2019\x207\x2015','1949106VYaKwt','screenshot-topbar-text','modalTitle','polyline','feather\x20feather-repeat','vlAbL','uGFlg','dark','Himlj','render','FCxDr','errorModalTitle','sendButtonText','Take\x20a\x20Screenshot','Email\x20address\x20(optional)','success-modal-title','body','3xpznao','path','disconnectedCallback','style','forEach','DIkxP','svg','8985771UhxvJw','cQCbS','oWuUs','button-style','screenshotTopbarText','__registerHost','10apwWAO','0\x200\x2024\x2024','Oops!\x20We\x20didn\x27t\x20receive\x20your\x20feedback.\x20Please\x20try\x20again\x20later.','modal-position','ZsZlW','NmSgb','feedback-button-content\x20feedback-button-content--','feedback-modal','VtWzn','4184025rdzWRD','appendChild','YQVfK','M3\x2011V9a4\x204\x200\x200\x201\x204-4h14','VSJUM','removeChild','Share\x20your\x20feedback','aZRmG','UafwK','RZVVM','get','sdJma','feedback-button-content-icon','round','define','1012760hohuSh','button-position','default','project','ktZQm','6tqjjIB','qzJAS','17\x201\x2021\x205\x2017\x209','#0070F4','screenshotButtonTooltipText','http://www.w3.org/2000/svg','aEzzv','WOECo','BXKus','feedback-button','How\x20could\x20this\x20page\x20be\x20more\x20helpful?'];_0x3daa=function(){return _0x30e0fd;};return _0x3daa();}(function(_0x5b5c9b,_0x4a3ea5){const _0xb03ca1=_0x45f3,_0x552d33=_0x5b5c9b();while(!![]){try{const _0x481ee9=parseInt(_0xb03ca1(0x105))/0x1+-parseInt(_0xb03ca1(0xcf))/0x2+-parseInt(_0xb03ca1(0xe0))/0x3*(-parseInt(_0xb03ca1(0xc4))/0x4)+-parseInt(_0xb03ca1(0xf6))/0x5*(-parseInt(_0xb03ca1(0x10a))/0x6)+parseInt(_0xb03ca1(0xb5))/0x7+parseInt(_0xb03ca1(0xb1))/0x8+parseInt(_0xb03ca1(0xe7))/0x9*(-parseInt(_0xb03ca1(0xed))/0xa);if(_0x481ee9===_0x4a3ea5)break;else _0x552d33['push'](_0x552d33['shift']());}catch(_0x24a44b){_0x552d33['push'](_0x552d33['shift']());}}}(_0x3daa,0x80253));import{proxyCustomElement,HTMLElement,h,Host}from'@stencil/core/internal/client';import{d as _0x48c2d3}from'./feedback-modal2.js';const feedbackButtonCss=_0x5e278d(0xa9),FeedbackButton$1=proxyCustomElement(class extends HTMLElement{constructor(){const _0x22bd5b=_0x5e278d,_0x47ea78={'BYdyf':_0x22bd5b(0xfc),'sdJma':_0x22bd5b(0xb8),'ZsZlW':'center','hxnku':_0x22bd5b(0xb0),'BXKus':_0x22bd5b(0xdd),'oviaj':_0x22bd5b(0x107)};super(),this[_0x22bd5b(0xec)](),this[_0x22bd5b(0xaf)](),this['modalTitle']=_0x47ea78['BYdyf'],this['successModalTitle']=_0x47ea78[_0x22bd5b(0x101)],this[_0x22bd5b(0xda)]=_0x22bd5b(0xef),this[_0x22bd5b(0xbc)]=_0x47ea78[_0x22bd5b(0xf1)],this['sendButtonText']=_0x47ea78['hxnku'],this[_0x22bd5b(0x108)]='',this[_0x22bd5b(0x9e)]=_0x22bd5b(0xdc),this['screenshotTopbarText']='SELECT\x20AN\x20ELEMENT\x20ON\x20THE\x20PAGE',this[_0x22bd5b(0xc8)]='',this['emailPlaceholder']=_0x47ea78[_0x22bd5b(0xa2)],this['messagePlaceholder']=_0x22bd5b(0xa4),this[_0x22bd5b(0xc0)]=_0x47ea78[_0x22bd5b(0xca)],this[_0x22bd5b(0xc3)]=_0x47ea78[_0x22bd5b(0xca)],this[_0x22bd5b(0xbb)]=![];}['connectedCallback'](){const _0xd5f439=_0x5e278d,_0x536743={'VSJUM':_0xd5f439(0xf4),'aEzzv':_0xd5f439(0xd1),'ktZQm':_0xd5f439(0xda),'Jqhfo':'modalPosition','MaMYu':_0xd5f439(0xdb),'YFmiQ':_0xd5f439(0x9e),'fBHxH':_0xd5f439(0xeb),'xlBgq':'messagePlaceholder'};this[_0xd5f439(0xac)]=document['createElement'](_0x536743[_0xd5f439(0xfa)]);const _0x3abc39=[_0x536743[_0xd5f439(0xa0)],'successModalTitle',_0x536743[_0xd5f439(0x109)],_0x536743[_0xd5f439(0xab)],_0x536743[_0xd5f439(0xba)],_0xd5f439(0x108),_0x536743[_0xd5f439(0xae)],_0x536743[_0xd5f439(0xc2)],_0xd5f439(0xc8),'emailPlaceholder',_0x536743['xlBgq']];_0x3abc39[_0xd5f439(0xe4)](_0xcd055c=>{const _0x4c9af5=_0xd5f439;this[_0x4c9af5(0xac)][_0xcd055c]=this[_0xcd055c];}),document[_0xd5f439(0xdf)][_0xd5f439(0xf7)](this[_0xd5f439(0xac)]);}[_0x5e278d(0xe2)](){const _0x2a2dca=_0x5e278d;document[_0x2a2dca(0xdf)][_0x2a2dca(0xfb)](this[_0x2a2dca(0xac)]);}[_0x5e278d(0xc9)](){const _0x3eaae6=_0x5e278d;this['feedbackModal'][_0x3eaae6(0xc9)]=!![];}[_0x5e278d(0xd8)](){const _0x31136e=_0x5e278d,_0x524650={'aZRmG':function(_0x892e77,_0x5276b5,_0x135cad,_0x55a7ea){return _0x892e77(_0x5276b5,_0x135cad,_0x55a7ea);},'cQCbS':function(_0x372425,_0x402380,_0x112cca,_0x186799,_0x5449f5,_0x4498e9){return _0x372425(_0x402380,_0x112cca,_0x186799,_0x5449f5,_0x4498e9);},'sykyt':function(_0x3f9fca,_0xf4d27a){return _0x3f9fca===_0xf4d27a;},'JvEMd':_0x31136e(0xd6),'muJiF':_0x31136e(0x102),'Himlj':function(_0x2347a2,_0x1037c8,_0x9ae598,_0x596e2f,_0x25c443,_0xba28af,_0x4ddcc1){return _0x2347a2(_0x1037c8,_0x9ae598,_0x596e2f,_0x25c443,_0xba28af,_0x4ddcc1);},'AISQV':'svg','HKYkB':_0x31136e(0xee),'uGFlg':_0x31136e(0xbe),'NmSgb':_0x31136e(0xcd),'oWuUs':_0x31136e(0x103),'VtWzn':_0x31136e(0xd3),'vlAbL':function(_0x7d7a83,_0x28c43d,_0x19dba0){return _0x7d7a83(_0x28c43d,_0x19dba0);},'JEYbC':_0x31136e(0xd2),'UafwK':function(_0x3e8459,_0x508f08,_0x16a4a5){return _0x3e8459(_0x508f08,_0x16a4a5);},'arPUk':_0x31136e(0xe1),'quKRl':'M3\x2011V9a4\x204\x200\x200\x201\x204-4h14','qzJAS':_0x31136e(0xce),'iAFZb':function(_0x33ca4d,_0x336787){return _0x33ca4d===_0x336787;},'eZTOA':'light','DIkxP':function(_0x220564,_0x57e258,_0x3b524b,_0x2277cb){return _0x220564(_0x57e258,_0x3b524b,_0x2277cb);},'YQVfK':function(_0x4035a2,_0x43482d,_0x3b3ec3,_0x4b9ac0,_0x2c42ae,_0x2b4380,_0x31af06){return _0x4035a2(_0x43482d,_0x3b3ec3,_0x4b9ac0,_0x2c42ae,_0x2b4380,_0x31af06);},'UJFrg':'http://www.w3.org/2000/svg','phFPD':_0x31136e(0x9d),'orJMO':function(_0x3c7dca,_0x1b37b6,_0x44120a){return _0x3c7dca(_0x1b37b6,_0x44120a);},'OyASh':'17\x201\x2021\x205\x2017\x209','QkcfI':function(_0xa98176,_0x21e919,_0x2addf9){return _0xa98176(_0x21e919,_0x2addf9);},'WOECo':function(_0x235071,_0x408073,_0x494423){return _0x235071(_0x408073,_0x494423);},'xTVhf':'M21\x2013v2a4\x204\x200\x200\x201-4\x204H3','FCxDr':_0x31136e(0xa5)};return _0x524650[_0x31136e(0xfd)](h,Host,null,_0x524650[_0x31136e(0xe8)](h,'a',{'class':_0x31136e(0xf3)+this[_0x31136e(0xc0)]+'\x20feedback-button-content--'+this['buttonPosition'],'onClick':()=>this[_0x31136e(0xc9)]()},!this[_0x31136e(0xbb)]&&_0x524650['sykyt'](this['buttonStyle'],_0x524650['JvEMd'])&&h(_0x31136e(0xc6),{'class':_0x524650[_0x31136e(0xb3)]},_0x524650[_0x31136e(0xd7)](h,_0x524650[_0x31136e(0xcc)],{'xmlns':_0x31136e(0x9f),'width':'16','height':'16','viewBox':_0x524650[_0x31136e(0xc7)],'fill':_0x524650[_0x31136e(0xd5)],'stroke':_0x524650[_0x31136e(0xf2)],'stroke-width':'2','stroke-linecap':_0x524650['oWuUs'],'stroke-linejoin':_0x524650[_0x31136e(0xe9)],'class':_0x524650[_0x31136e(0xf5)]},_0x524650[_0x31136e(0xd4)](h,_0x524650[_0x31136e(0xa6)],{'points':_0x31136e(0x10c)}),_0x524650[_0x31136e(0xfe)](h,_0x524650[_0x31136e(0xb7)],{'d':_0x524650[_0x31136e(0xb2)]}),_0x524650[_0x31136e(0xfe)](h,_0x31136e(0xd2),{'points':_0x524650[_0x31136e(0x10b)]}),h(_0x524650[_0x31136e(0xb7)],{'d':_0x31136e(0xb6)}))),!this[_0x31136e(0xbb)]&&_0x524650[_0x31136e(0xc5)](this[_0x31136e(0xc0)],_0x524650[_0x31136e(0xad)])&&_0x524650[_0x31136e(0xe5)](h,'span',{'class':_0x524650[_0x31136e(0xb3)]},_0x524650[_0x31136e(0xf8)](h,_0x31136e(0xe6),{'xmlns':_0x524650[_0x31136e(0xb4)],'width':'16','height':'16','viewBox':_0x524650[_0x31136e(0xc7)],'fill':_0x31136e(0xbe),'stroke':_0x524650['phFPD'],'stroke-width':'2','stroke-linecap':'round','stroke-linejoin':_0x524650[_0x31136e(0xe9)],'class':_0x524650['VtWzn']},_0x524650['orJMO'](h,_0x524650[_0x31136e(0xa6)],{'points':_0x524650[_0x31136e(0xcb)]}),_0x524650['UafwK'](h,_0x524650[_0x31136e(0xb7)],{'d':_0x31136e(0xf9)}),_0x524650[_0x31136e(0xb9)](h,_0x524650['JEYbC'],{'points':_0x524650[_0x31136e(0x10b)]}),_0x524650[_0x31136e(0xa1)](h,_0x524650['arPUk'],{'d':_0x524650['xTVhf']}))),h(_0x524650[_0x31136e(0xd9)],null)));}static get[_0x5e278d(0xe3)](){return feedbackButtonCss;}},[0x1,_0x5e278d(0xa3),{'modalTitle':[0x1,_0x5e278d(0xbf)],'successModalTitle':[0x1,_0x5e278d(0xde)],'errorModalTitle':[0x1,'error-modal-title'],'modalPosition':[0x1,_0x5e278d(0xf0)],'sendButtonText':[0x1,'send-button-text'],'project':[0x1],'screenshotButtonTooltipText':[0x1,_0x5e278d(0xa8)],'screenshotTopbarText':[0x1,_0x5e278d(0xd0)],'email':[0x1],'emailPlaceholder':[0x1,_0x5e278d(0xaa)],'messagePlaceholder':[0x1,'message-placeholder'],'buttonStyle':[0x1,_0x5e278d(0xea)],'buttonPosition':[0x1,_0x5e278d(0x106)],'hideIcon':[0x4,'hide-icon']}]);function defineCustomElement$1(){const _0x343418=_0x5e278d,_0x510f9c={'rlDNa':_0x343418(0xa3),'DPtmd':'feedback-modal','vDOul':function(_0x13c740){return _0x13c740();},'JWUip':function(_0x2169e8,_0x5aefc5){return _0x2169e8===_0x5aefc5;},'RZVVM':'undefined'};if(_0x510f9c['JWUip'](typeof customElements,_0x510f9c[_0x343418(0xff)]))return;const _0x1bf394=[_0x510f9c[_0x343418(0xc1)],_0x510f9c[_0x343418(0xa7)]];_0x1bf394[_0x343418(0xe4)](_0x2de224=>{const _0x5c33cc=_0x343418;switch(_0x2de224){case _0x510f9c[_0x5c33cc(0xc1)]:!customElements[_0x5c33cc(0x100)](_0x2de224)&&customElements[_0x5c33cc(0x104)](_0x2de224,FeedbackButton$1);break;case _0x510f9c[_0x5c33cc(0xa7)]:!customElements[_0x5c33cc(0x100)](_0x2de224)&&_0x510f9c[_0x5c33cc(0xbd)](_0x48c2d3);break;}});}const FeedbackButton=FeedbackButton$1,defineCustomElement=defineCustomElement$1;export{FeedbackButton,defineCustomElement};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const FeedbackModal = FeedbackModal$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { FeedbackModal, defineCustomElement };
|
|
1
|
+
function _0x17cb(){const _0x2287a5=['321ncWBcM','765TlGxtK','660WTrbRO','17255205UQUHcW','14604uMiMoW','278104FlVmVL','5922882tFSaar','60370GiOsaC','12qMKbIX','87350vDDQbV','20388QchMQE'];_0x17cb=function(){return _0x2287a5;};return _0x17cb();}(function(_0x13945a,_0x41cfd7){const _0x21c0e0=_0xf87f,_0x94af0f=_0x13945a();while(!![]){try{const _0xcbd44e=-parseInt(_0x21c0e0(0x1e9))/0x1*(parseInt(_0x21c0e0(0x1e8))/0x2)+-parseInt(_0x21c0e0(0x1eb))/0x3*(parseInt(_0x21c0e0(0x1ea))/0x4)+parseInt(_0x21c0e0(0x1e2))/0x5*(-parseInt(_0x21c0e0(0x1e4))/0x6)+parseInt(_0x21c0e0(0x1e6))/0x7+-parseInt(_0x21c0e0(0x1e5))/0x8+-parseInt(_0x21c0e0(0x1e1))/0x9*(parseInt(_0x21c0e0(0x1e7))/0xa)+parseInt(_0x21c0e0(0x1e3))/0xb;if(_0xcbd44e===_0x41cfd7)break;else _0x94af0f['push'](_0x94af0f['shift']());}catch(_0x42fe96){_0x94af0f['push'](_0x94af0f['shift']());}}}(_0x17cb,0x743ca));import{F as _0x11b06c,d as _0x21a042}from'./feedback-modal2.js';function _0xf87f(_0x5244cc,_0x540a85){const _0x17cbc3=_0x17cb();return _0xf87f=function(_0xf87f81,_0x250e2e){_0xf87f81=_0xf87f81-0x1e1;let _0x5447f8=_0x17cbc3[_0xf87f81];return _0x5447f8;},_0xf87f(_0x5244cc,_0x540a85);}const FeedbackModal=_0x11b06c,defineCustomElement=_0x21a042;export{FeedbackModal,defineCustomElement};
|