greeks-live-ui 0.1.16 → 0.1.17
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/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.min.mjs.map +1 -1
- package/dist/locale/en.mjs +2 -2
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.min.mjs.map +1 -1
- package/dist/locale/zh-cn.mjs +2 -2
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.min.mjs.map +1 -1
- package/dist/locale/zh-tw.mjs +2 -2
- package/es/index.mjs +23 -23
- package/es/packages/components/chart-panel/index.mjs +2 -2
- package/es/packages/components/chart-panel/src/chart-panel.mjs +341 -46
- package/es/packages/components/chart-panel/src/chart-panel.mjs.map +1 -1
- package/es/packages/components/chart-panel/src/chart-panel2.mjs +46 -341
- package/es/packages/components/chart-panel/src/chart-panel2.mjs.map +1 -1
- package/es/packages/components/currency-icon/index.mjs +2 -2
- package/es/packages/components/currency-icon/src/currency-icon.mjs +45 -8
- package/es/packages/components/currency-icon/src/currency-icon.mjs.map +1 -1
- package/es/packages/components/currency-icon/src/currency-icon2.mjs +8 -45
- package/es/packages/components/currency-icon/src/currency-icon2.mjs.map +1 -1
- package/es/packages/components/currency-radio-group/index.mjs +2 -2
- package/es/packages/components/currency-radio-group/src/currency-radio-group.mjs +57 -18
- package/es/packages/components/currency-radio-group/src/currency-radio-group.mjs.map +1 -1
- package/es/packages/components/currency-radio-group/src/currency-radio-group2.mjs +18 -57
- package/es/packages/components/currency-radio-group/src/currency-radio-group2.mjs.map +1 -1
- package/es/packages/components/direction-tag/index.mjs +2 -2
- package/es/packages/components/direction-tag/src/direction-tag.mjs +14 -72
- package/es/packages/components/direction-tag/src/direction-tag.mjs.map +1 -1
- package/es/packages/components/direction-tag/src/direction-tag2.mjs +72 -14
- package/es/packages/components/direction-tag/src/direction-tag2.mjs.map +1 -1
- package/es/packages/components/icon/index.mjs +2 -2
- package/es/packages/components/icon/src/icon.mjs +54 -16
- package/es/packages/components/icon/src/icon.mjs.map +1 -1
- package/es/packages/components/icon/src/icon2.mjs +16 -54
- package/es/packages/components/icon/src/icon2.mjs.map +1 -1
- package/es/packages/components/index.mjs +23 -23
- package/es/packages/components/menu/index.mjs +2 -2
- package/es/packages/components/menu/src/menu.mjs +31 -5
- package/es/packages/components/menu/src/menu.mjs.map +1 -1
- package/es/packages/components/menu/src/menu2.mjs +5 -31
- package/es/packages/components/menu/src/menu2.mjs.map +1 -1
- package/es/packages/components/menu-item/index.mjs +2 -2
- package/es/packages/components/menu-item/src/menu-item.mjs +31 -5
- package/es/packages/components/menu-item/src/menu-item.mjs.map +1 -1
- package/es/packages/components/menu-item/src/menu-item2.mjs +5 -31
- package/es/packages/components/menu-item/src/menu-item2.mjs.map +1 -1
- package/es/packages/components/page-turner/index.mjs +2 -2
- package/es/packages/components/page-turner/src/page-turner.mjs +63 -12
- package/es/packages/components/page-turner/src/page-turner.mjs.map +1 -1
- package/es/packages/components/page-turner/src/page-turner2.mjs +12 -63
- package/es/packages/components/page-turner/src/page-turner2.mjs.map +1 -1
- package/es/packages/components/panel/index.mjs +2 -2
- package/es/packages/components/panel/src/panel.mjs +82 -5
- package/es/packages/components/panel/src/panel.mjs.map +1 -1
- package/es/packages/components/panel/src/panel2.mjs +5 -82
- package/es/packages/components/panel/src/panel2.mjs.map +1 -1
- package/es/packages/components/panel-gex-by-expiry/index.mjs +2 -2
- package/es/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry.mjs +554 -22
- package/es/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry.mjs.map +1 -1
- package/es/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry2.mjs +22 -554
- package/es/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry2.mjs.map +1 -1
- package/es/packages/components/panel-iv-skew/index.mjs +2 -2
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew.mjs +418 -22
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew.mjs.map +1 -1
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew2.mjs +22 -418
- package/es/packages/components/panel-iv-skew/src/panel-iv-skew2.mjs.map +1 -1
- package/es/packages/components/panel-option-flow/index.mjs +2 -2
- package/es/packages/components/panel-option-flow/src/panel-option-flow.mjs +448 -22
- package/es/packages/components/panel-option-flow/src/panel-option-flow.mjs.map +1 -1
- package/es/packages/components/panel-option-flow/src/panel-option-flow2.mjs +22 -448
- package/es/packages/components/panel-option-flow/src/panel-option-flow2.mjs.map +1 -1
- package/es/packages/components/panel-option-skew-table/index.mjs +2 -2
- package/es/packages/components/panel-option-skew-table/src/panel-option-skew-table.mjs +261 -21
- package/es/packages/components/panel-option-skew-table/src/panel-option-skew-table.mjs.map +1 -1
- package/es/packages/components/panel-option-skew-table/src/panel-option-skew-table2.mjs +21 -261
- package/es/packages/components/panel-option-skew-table/src/panel-option-skew-table2.mjs.map +1 -1
- package/es/packages/components/panel-rv/index.mjs +2 -2
- package/es/packages/components/panel-rv/src/panel-rv.mjs +874 -22
- package/es/packages/components/panel-rv/src/panel-rv.mjs.map +1 -1
- package/es/packages/components/panel-rv/src/panel-rv2.mjs +22 -874
- package/es/packages/components/panel-rv/src/panel-rv2.mjs.map +1 -1
- package/es/packages/components/panel-rv-calc/index.mjs +2 -2
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc.mjs +8 -507
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc.mjs.map +1 -1
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc2.mjs +507 -8
- package/es/packages/components/panel-rv-calc/src/panel-rv-calc2.mjs.map +1 -1
- package/es/packages/components/panel-skew/index.mjs +2 -2
- package/es/packages/components/panel-skew/src/panel-skew.mjs +21 -751
- package/es/packages/components/panel-skew/src/panel-skew.mjs.map +1 -1
- package/es/packages/components/panel-skew/src/panel-skew2.mjs +751 -21
- package/es/packages/components/panel-skew/src/panel-skew2.mjs.map +1 -1
- package/es/packages/components/panel-spots-etf-net-inflow/index.mjs +2 -2
- package/es/packages/components/panel-spots-etf-net-inflow/src/panel-spots-etf-net-inflow.mjs +624 -21
- package/es/packages/components/panel-spots-etf-net-inflow/src/panel-spots-etf-net-inflow.mjs.map +1 -1
- package/es/packages/components/panel-spots-etf-net-inflow/src/panel-spots-etf-net-inflow2.mjs +21 -624
- package/es/packages/components/panel-spots-etf-net-inflow/src/panel-spots-etf-net-inflow2.mjs.map +1 -1
- package/es/packages/components/panel-trade-scatter-plot/index.mjs +2 -2
- package/es/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot.mjs +21 -469
- package/es/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot.mjs.map +1 -1
- package/es/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot2.mjs +469 -21
- package/es/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot2.mjs.map +1 -1
- package/es/packages/components/panel-volatility-term-structure/index.mjs +2 -2
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.mjs +22 -585
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.mjs.map +1 -1
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.mjs +585 -22
- package/es/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.mjs.map +1 -1
- package/es/packages/components/panel-vrp/index.mjs +2 -2
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs +478 -22
- package/es/packages/components/panel-vrp/src/panel-vrp.mjs.map +1 -1
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs +22 -478
- package/es/packages/components/panel-vrp/src/panel-vrp2.mjs.map +1 -1
- package/es/packages/components/spin/index.mjs +2 -2
- package/es/packages/components/spin/src/spin.mjs +5 -31
- package/es/packages/components/spin/src/spin.mjs.map +1 -1
- package/es/packages/components/spin/src/spin2.mjs +31 -5
- package/es/packages/components/spin/src/spin2.mjs.map +1 -1
- package/es/packages/components/tag/index.mjs +2 -2
- package/es/packages/components/tag/src/tag.mjs +112 -28
- package/es/packages/components/tag/src/tag.mjs.map +1 -1
- package/es/packages/components/tag/src/tag2.mjs +28 -112
- package/es/packages/components/tag/src/tag2.mjs.map +1 -1
- package/es/packages/components/toggle-button/index.mjs +2 -2
- package/es/packages/components/toggle-button/src/toggle-button.mjs +95 -16
- package/es/packages/components/toggle-button/src/toggle-button.mjs.map +1 -1
- package/es/packages/components/toggle-button/src/toggle-button2.mjs +16 -95
- package/es/packages/components/toggle-button/src/toggle-button2.mjs.map +1 -1
- package/es/packages/locale/lang/en.mjs +2 -2
- package/es/packages/locale/lang/en.mjs.map +1 -1
- package/es/packages/locale/lang/zh-cn.mjs +2 -2
- package/es/packages/locale/lang/zh-cn.mjs.map +1 -1
- package/es/packages/locale/lang/zh-tw.mjs +2 -2
- package/es/packages/locale/lang/zh-tw.mjs.map +1 -1
- package/lib/index.js +23 -23
- package/lib/packages/components/chart-table/index.js +2 -2
- package/lib/packages/components/chart-table/src/chart-table.js +145 -16
- package/lib/packages/components/chart-table/src/chart-table.js.map +1 -1
- package/lib/packages/components/chart-table/src/chart-table2.js +16 -145
- package/lib/packages/components/chart-table/src/chart-table2.js.map +1 -1
- package/lib/packages/components/countdown/index.js +2 -2
- package/lib/packages/components/countdown/src/countdown.js +163 -54
- package/lib/packages/components/countdown/src/countdown.js.map +1 -1
- package/lib/packages/components/countdown/src/countdown2.js +54 -163
- package/lib/packages/components/countdown/src/countdown2.js.map +1 -1
- package/lib/packages/components/currency-icon/index.js +2 -2
- package/lib/packages/components/currency-icon/src/currency-icon.js +45 -9
- package/lib/packages/components/currency-icon/src/currency-icon.js.map +1 -1
- package/lib/packages/components/currency-icon/src/currency-icon2.js +9 -45
- package/lib/packages/components/currency-icon/src/currency-icon2.js.map +1 -1
- package/lib/packages/components/date-time-picker/index.js +2 -2
- package/lib/packages/components/date-time-picker/src/date-time-picker.js +13 -121
- package/lib/packages/components/date-time-picker/src/date-time-picker.js.map +1 -1
- package/lib/packages/components/date-time-picker/src/date-time-picker2.js +121 -13
- package/lib/packages/components/date-time-picker/src/date-time-picker2.js.map +1 -1
- package/lib/packages/components/dropdown/index.js +2 -2
- package/lib/packages/components/dropdown/src/dropdown.js +6 -34
- package/lib/packages/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/packages/components/dropdown/src/dropdown2.js +34 -6
- package/lib/packages/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/packages/components/greeks-summary/index.js +2 -2
- package/lib/packages/components/greeks-summary/src/greeks-summary.js +43 -300
- package/lib/packages/components/greeks-summary/src/greeks-summary.js.map +1 -1
- package/lib/packages/components/greeks-summary/src/greeks-summary2.js +300 -43
- package/lib/packages/components/greeks-summary/src/greeks-summary2.js.map +1 -1
- package/lib/packages/components/index.js +23 -23
- package/lib/packages/components/input-number/index.js +2 -2
- package/lib/packages/components/input-number/src/input-number.js +31 -6
- package/lib/packages/components/input-number/src/input-number.js.map +1 -1
- package/lib/packages/components/input-number/src/input-number2.js +6 -31
- package/lib/packages/components/input-number/src/input-number2.js.map +1 -1
- package/lib/packages/components/page-turner/index.js +2 -2
- package/lib/packages/components/page-turner/src/page-turner.js +13 -63
- package/lib/packages/components/page-turner/src/page-turner.js.map +1 -1
- package/lib/packages/components/page-turner/src/page-turner2.js +63 -13
- package/lib/packages/components/page-turner/src/page-turner2.js.map +1 -1
- package/lib/packages/components/panel-atm-iv/index.js +2 -2
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv.js +1064 -22
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv.js.map +1 -1
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv2.js +22 -1064
- package/lib/packages/components/panel-atm-iv/src/panel-atm-iv2.js.map +1 -1
- package/lib/packages/components/panel-gex/index.js +2 -2
- package/lib/packages/components/panel-gex/src/panel-gex.js +23 -445
- package/lib/packages/components/panel-gex/src/panel-gex.js.map +1 -1
- package/lib/packages/components/panel-gex/src/panel-gex2.js +445 -23
- package/lib/packages/components/panel-gex/src/panel-gex2.js.map +1 -1
- package/lib/packages/components/panel-gex-by-expiry/index.js +2 -2
- package/lib/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry.js +558 -23
- package/lib/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry.js.map +1 -1
- package/lib/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry2.js +23 -558
- package/lib/packages/components/panel-gex-by-expiry/src/panel-gex-by-expiry2.js.map +1 -1
- package/lib/packages/components/panel-historical-delivery-price/index.js +2 -2
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price.js +23 -418
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price.js.map +1 -1
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.js +418 -23
- package/lib/packages/components/panel-historical-delivery-price/src/panel-historical-delivery-price2.js.map +1 -1
- package/lib/packages/components/panel-max-pain-price/index.js +2 -2
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price.js +373 -23
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price.js.map +1 -1
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price2.js +23 -373
- package/lib/packages/components/panel-max-pain-price/src/panel-max-pain-price2.js.map +1 -1
- package/lib/packages/components/panel-option-flow/index.js +2 -2
- package/lib/packages/components/panel-option-flow/src/panel-option-flow.js +23 -448
- package/lib/packages/components/panel-option-flow/src/panel-option-flow.js.map +1 -1
- package/lib/packages/components/panel-option-flow/src/panel-option-flow2.js +448 -23
- package/lib/packages/components/panel-option-flow/src/panel-option-flow2.js.map +1 -1
- package/lib/packages/components/panel-rv/index.js +2 -2
- package/lib/packages/components/panel-rv/src/panel-rv.js +874 -23
- package/lib/packages/components/panel-rv/src/panel-rv.js.map +1 -1
- package/lib/packages/components/panel-rv/src/panel-rv2.js +23 -874
- package/lib/packages/components/panel-rv/src/panel-rv2.js.map +1 -1
- package/lib/packages/components/panel-skew/index.js +2 -2
- package/lib/packages/components/panel-skew/src/panel-skew.js +751 -22
- package/lib/packages/components/panel-skew/src/panel-skew.js.map +1 -1
- package/lib/packages/components/panel-skew/src/panel-skew2.js +22 -751
- package/lib/packages/components/panel-skew/src/panel-skew2.js.map +1 -1
- package/lib/packages/components/panel-trade-scatter-plot/index.js +2 -2
- package/lib/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot.js +22 -473
- package/lib/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot.js.map +1 -1
- package/lib/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot2.js +473 -22
- package/lib/packages/components/panel-trade-scatter-plot/src/panel-trade-scatter-plot2.js.map +1 -1
- package/lib/packages/components/panel-volatility-term-structure/index.js +2 -2
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.js +23 -589
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure.js.map +1 -1
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js +589 -23
- package/lib/packages/components/panel-volatility-term-structure/src/panel-volatility-term-structure2.js.map +1 -1
- package/lib/packages/components/radio/index.js +2 -2
- package/lib/packages/components/radio/src/radio-button.js +1 -1
- package/lib/packages/components/radio/src/radio-group.js +1 -1
- package/lib/packages/components/radio/src/radio.js +31 -6
- package/lib/packages/components/radio/src/radio.js.map +1 -1
- package/lib/packages/components/radio/src/radio2.js +6 -31
- package/lib/packages/components/radio/src/radio2.js.map +1 -1
- package/lib/packages/components/radio-dropdown/index.js +2 -2
- package/lib/packages/components/radio-dropdown/src/radio-dropdown.js +16 -204
- package/lib/packages/components/radio-dropdown/src/radio-dropdown.js.map +1 -1
- package/lib/packages/components/radio-dropdown/src/radio-dropdown2.js +204 -16
- package/lib/packages/components/radio-dropdown/src/radio-dropdown2.js.map +1 -1
- package/lib/packages/components/select/index.js +2 -2
- package/lib/packages/components/select/src/option.js +1 -1
- package/lib/packages/components/select/src/select.js +41 -15
- package/lib/packages/components/select/src/select.js.map +1 -1
- package/lib/packages/components/select/src/select2.js +15 -41
- package/lib/packages/components/select/src/select2.js.map +1 -1
- package/lib/packages/components/tag/index.js +2 -2
- package/lib/packages/components/tag/src/tag.js +112 -29
- package/lib/packages/components/tag/src/tag.js.map +1 -1
- package/lib/packages/components/tag/src/tag2.js +29 -112
- package/lib/packages/components/tag/src/tag2.js.map +1 -1
- package/lib/packages/components/toggle-button/index.js +2 -2
- package/lib/packages/components/toggle-button/src/toggle-button.js +95 -17
- package/lib/packages/components/toggle-button/src/toggle-button.js.map +1 -1
- package/lib/packages/components/toggle-button/src/toggle-button2.js +17 -95
- package/lib/packages/components/toggle-button/src/toggle-button2.js.map +1 -1
- package/lib/packages/locale/lang/en.js +2 -2
- package/lib/packages/locale/lang/en.js.map +1 -1
- package/lib/packages/locale/lang/zh-cn.js +2 -2
- package/lib/packages/locale/lang/zh-cn.js.map +1 -1
- package/lib/packages/locale/lang/zh-tw.js +2 -2
- package/lib/packages/locale/lang/zh-tw.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/index.full.min.mjs
CHANGED
|
@@ -54,7 +54,7 @@ version: 2.9.0
|
|
|
54
54
|
`;return r+=t.wordwrap(this.getPrivateBaseKeyB64())+`
|
|
55
55
|
`,r+="-----END RSA PRIVATE KEY-----",r},t.prototype.getPublicKey=function(){var r=`-----BEGIN PUBLIC KEY-----
|
|
56
56
|
`;return r+=t.wordwrap(this.getPublicBaseKeyB64())+`
|
|
57
|
-
`,r+="-----END PUBLIC KEY-----",r},t.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},t}(NJ),c5,HJ=typeof process!="undefined"?(c5=process.env)===null||c5===void 0?void 0:c5.npm_package_version:void 0,GJ=function(){function e(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return e.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new fb(t)},e.prototype.setPrivateKey=function(t){this.setKey(t)},e.prototype.setPublicKey=function(t){this.setKey(t)},e.prototype.decrypt=function(t){try{return this.getKey().decrypt(nb(t))}catch(r){return!1}},e.prototype.encrypt=function(t){try{return j3(this.getKey().encrypt(t))}catch(r){return!1}},e.prototype.sign=function(t,r,n){try{return j3(this.getKey().sign(t,r,n))}catch(a){return!1}},e.prototype.verify=function(t,r,n){try{return this.getKey().verify(t,nb(r),n)}catch(a){return!1}},e.prototype.getKey=function(t){if(!this.key){if(this.key=new fb,t&&{}.toString.call(t)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=HJ,e}();function UJ(e){if(!e)return;let t="MIIBCgKCAQEA0IBY5iI6qQxeWE/UZZ2cqGKlM8QcVemfP96Gl95Tzf8gq4dIj1YQXiwFjrEhoPlBqI0MekkoT8D6XUlOkVWqjaDN2s4yAiRLh5w9NKZFUkWNxW9uY1iqT8d3T5KZduq++Va7qrxEyUI1/J8ghT45G522tPusdXvk9YulPk9asVtCz9xzHX1aSKQ7w++rX4Qw5VOSbTf9j3QzhSFy1uPvANqb6umgzRqCXNW5dBuXMMahhqIKE6bIKOvhgOGb5+fS0KnugRfU7ibG2URZ8lhEpfx+Z4t1xjgCV2OI0sS2Y2lwtE5C+ad825iY817uCa8XubgnfSU+ykbMw9MT4eeLkQIDAQAB";const r=new GJ;return r.setPublicKey(t),r.encrypt(e)}const WJ=(e,t,r=1e6)=>new Promise((n,a)=>{const i=new AbortController,o=i.signal,s=setTimeout(()=>{i.abort(),a(new Error("\u8BF7\u6C42\u8D85\u65F6"))},r),l={...t,signal:o};fetch(e,l).then(n).catch(a).finally(()=>clearTimeout(s))}),XJ=e=>{const{url:t,data:r,timeout:n,method:a="GET",noSign:i=!1,headers:o={},...s}=e;wee();const l={"Content-Type":"application/json",...o,...i?{}:{"X-Sign":UJ(`${new Date().getTime()}`)}};let u;r&&(u=JSON.stringify(r));const c={method:a,headers:l,credentials:"same-origin",body:u,...s};return[t,c]},YJ=async e=>{const t=await e.json().catch(()=>({}));return e.ok?(t.code,t.code!=null&&t.code!==200&&t.code!==-101&&t.code!==0?Promise.reject(t):t):Promise.reject(t)},qJ=e=>{var t,r,n;if(e.name==="AbortError")return{data:{code:500,message:"\u8BF7\u6C42\u8D85\u65F6"}};if(e.response){let a=(t=e.data)==null?void 0:t.message;return a||(a=(n=(r=e.data)==null?void 0:r.error)==null?void 0:n.message),a||(a="Bad request!"),Promise.reject(e.data)}else return e.msg?e:{data:{code:500}}},Nr=async e=>{try{const[t,r]=XJ(e),n=await WJ(t,r,e.timeout);return await YJ(n)}catch(t){return qJ(t)}},vb={dev:"https://dev-api.yazhan.vip/api/v1",test:"https://dev-api.yazhan.vip/api/v1",inner:"https://api.greeks.live/api/v1",prod:"https://api.greeks.live/api/v1"},db={dev:"https://www.deribit.com/api/v2",test:"https://www.deribit.com/api/v2",inner:"https://www.deribit.com/api/v2",prod:"https://www.deribit.com/api/v2"};function pb(e="prod"){return vb[e]||vb.prod}function gb(e="prod"){return db[e]||db.prod}function ZJ(){var e;try{const r=(e=Y0().value)==null?void 0:e.environment;return pb(r||"prod")}catch(t){return pb("prod")}}function jJ(){var e;try{const r=(e=Y0().value)==null?void 0:e.environment;return gb(r||"prod")}catch(t){return gb("prod")}}const mb=e=>Object.keys(e).length===0?"":`?${Object.entries(e).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&")}`;function fn(){return ZJ()}function yb(){return jJ()}const $J=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/skew_chart`,data:{currency:e.currency,gap:e.gap},method:"post"}),KJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/fly`,data:{currency:e.currency,gap:e.gap,...e.fly_type!=null&&e.fly_type!==""?{fly_type:e.fly_type}:{}},method:"post"}),QJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_history`,data:{currency:e.currency,gap:e.gap},method:"post"}),JJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/hv`,data:{currency:e.currency,gap:e.gap},method:"post"}),_b=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/atm_data`,data:{currency:e.currency,...e.page_num!==void 0&&{page_num:e.page_num},...e.end_timestamp!==void 0&&{end_timestamp:e.end_timestamp}},method:"post"}),eee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/option_flows`,data:{currency:e.currency},method:"post"}),tee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/open_interest_statistics`,data:{currency:e.currency},method:"post"}),ree=e=>Nr({url:`${yb()}/public/get_last_settlements_by_currency`+mb(e),method:"get",noSign:!0}),nee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/strike_pain`,data:{currency:e.currency,...e.end_timestamp!==void 0&&{end_timestamp:e.end_timestamp}},method:"post"}),aee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_skew_month`,data:{currency:e.currency},method:"post"}),iee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/option_flows_tradingview_data`,data:{currency:e.currency,resolution:e.resolution,start_timestamp:e.start_timestamp,end_timestamp:e.end_timestamp},method:"post"}),oee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_rv`,data:{currency:e.currency,gap:e.gap},method:"post"}),see=e=>Nr({url:`${fn()}/deribit/datalab/kline/hv_newest`,data:e,method:"post"}),lee=e=>Nr({url:"https://api.greeks.live/api/v1/kline/hv",data:e,method:"post"}),uee=e=>Nr({url:`${yb()}/public/get_index_price`+mb(e),method:"get",noSign:!0}),cee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/fiv_matrix`,data:{currency:e.currency},method:"post"}),hee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/tx_spot`,data:{currency:e.currency,min_amount:e.min_amount,end_timestamp:e.end_timestamp},method:"post"}),fee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/etf`,data:{currency:e.currency,start_timestamp:e.start_timestamp,end_timestamp:e.end_timestamp},method:"post"}),vee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/skew_matrix`,data:{currency:e.currency,start_timestamp:e.start_timestamp},method:"post"}),xb=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/gex`,data:{currency:e.currency,...e.timestamp!==void 0&&{timestamp:e.timestamp}},method:"post"}),dee=(e,t=null,r=null,n=8)=>{if(vo(e))return null;if(t===null&&r){const l=Number(e);l>=1e4?t=0:l>=1e3?t=1:l>=10?t=2:l>=1?t=3:t=4}t!==null?typeof e=="string"?e=Number(e).toFixed(t).toString():typeof e=="number"&&(e=e.toFixed(t).toString()):e=e.toString();const[a,i]=e.split(".");let o=i;i&&i.length>n&&(o=i.slice(0,n));const s=a.replace(/(\d)(?=(?:\d{3})+$)/g,"$1,");return o?`${s}.${o}`:`${s}`},bb=(e,t=!1)=>{const r=typeof e=="string"?Number(e):e;return r===null||r===0||isNaN(r)?"":t?r>0?"var(--theme-red-primary)":"var(--theme-green-primary)":r>0?"var(--theme-green-primary)":"var(--theme-red-primary)"},pee=e=>{if(vo(e))return 0;const r=e||0;return Math.abs(r)>=1e10?(r/1e10).toFixed(2)+"B":Math.abs(r)>=1e6?(r/1e6).toFixed(2)+"M":Math.abs(r)>=1e3?(r/1e3).toFixed(2)+"K":Math.abs(r)>=10?r.toFixed(2):r.toFixed(4)},Sb=Symbol(),n6=gr();function Y0(e,t=void 0){const r=N8()?Tl(Sb,n6):n6;return e?ne(()=>{var n,a;return(a=(n=r.value)==null?void 0:n[e])!=null?a:t}):r}const Ab=(e,t,r=!1)=>{var n;const a=!!N8(),i=a?Y0():void 0,o=(n=t==null?void 0:t.provide)!=null?n:a?im:void 0;if(!o)return;const s=ne(()=>{const l=z(e);return i!=null&&i.value?gee(i.value,l):l});return o(Sb,s),(r||!n6.value)&&(n6.value=s.value),s},gee=(e,t)=>{var r;const n=[...new Set([...qx(e),...qx(t)])],a={};for(const i of n)a[i]=(r=t[i])!=null?r:e[i];return a};var mee={name:"zh-cn",message:{gex:"Gamma \u655E\u53E3",gexTips:"<p>Gamma \u655E\u53E3</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u671F\u6743\u505A\u5E02\u5546\u5728\u5404\u884C\u6743\u4EF7\u4E0A\u7684\u51C0 Gamma \u655E\u53E3\u6C47\u603B\u3002\u6B63 Gamma\uFF08\u7EFF\u8272\uFF09\u8868\u793A\u505A\u5E02\u5546\u5BF9\u51B2\u5C06\u6291\u5236\u4EF7\u683C\u6CE2\u52A8\uFF1B\u8D1F Gamma\uFF08\u7EA2\u8272\uFF09\u8868\u793A\u505A\u5E02\u5546\u5BF9\u51B2\u5C06\u653E\u5927\u4EF7\u683C\u6CE2\u52A8\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AGEX = \u03A3\uFF08\u671F\u6743 Gamma \xD7 \u6301\u4ED3\u91CF \xD7 \u5408\u7EA6\u4E58\u6570 \xD7 \u73B0\u8D27\u4EF7\u683C\uFF09\uFF0C\u5355\u4F4D\u4E3A\u6BCF $1 \u53D8\u52A8\u5BF9\u5E94\u7684\u5408\u7EA6\u6570</p>",gexByExpiry:"Gamma \u655E\u53E3\uFF08\u6309\u5230\u671F\u65E5\uFF09",gexByExpiryTips:"<p>Gamma \u655E\u53E3\uFF08\u6309\u5230\u671F\u65E5\uFF09</p><p>\u6B64\u56FE\u8868\u6309\u5230\u671F\u65E5\u62C6\u5206\u5404\u884C\u6743\u4EF7\u4E0A\u7684 Gamma \u655E\u53E3\u3002\u6BCF\u79CD\u989C\u8272\u4EE3\u8868\u4E00\u4E2A\u5230\u671F\u65E5\uFF0C\u5E2E\u52A9\u7528\u6237\u8BC6\u522B\u5728\u7279\u5B9A\u884C\u6743\u4EF7\u4E0A\u54EA\u4E9B\u5230\u671F\u65E5\u8D21\u732E\u4E86\u6700\u591A\u7684 Gamma \u655E\u53E3\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AGEX per Expiry = \u03A3\uFF08\u671F\u6743 Gamma \xD7 \u6301\u4ED3\u91CF \xD7 \u5408\u7EA6\u4E58\u6570 \xD7 \u73B0\u8D27\u4EF7\u683C\uFF09\uFF0C\u6309\u5355\u4E00\u5230\u671F\u65E5\u6C47\u603B</p>",strike:"\u884C\u6743\u4EF7",contractsPer1Move:"\u6807\u7684\u6BCF\u53D8\u52A8 $1 \u5BF9\u5E94\u7684\u5408\u7EA6\u6570\u91CF",atmIVTips:"<p>ATM IV\uFF08\u5E73\u503C\u9690\u542B\u6CE2\u52A8\u7387\uFF09</p><p>\u6B64\u56FE\u8868\u663E\u793A\u5E73\u503C\u671F\u6743\u9690\u542B\u6CE2\u52A8\u7387\uFF08IV\uFF09\u968F\u65F6\u95F4\u7684\u53D8\u5316\u3002\u540C\u65F6\u53E0\u52A0\u663E\u793A\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF08RV\uFF09\u4EE5\u4F9B\u6BD4\u8F83\u3002</p><p>\u9ED8\u8BA4\u663E\u793A1\u4E2A\u6708\u30013\u4E2A\u6708\u548C6\u4E2A\u6708\u7684\u9690\u542B\u6CE2\u52A8\u7387\uFF0C\u4EE5\u53CA7\u5929\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u3002\u60A8\u4E5F\u53EF\u4EE5\u901A\u8FC7\u53F3\u4E0A\u89D2\u5217\u7BA1\u7406\u6765\u9009\u62E9\u53E0\u52A0\u4E0D\u540C\u5929\u6570\u7684\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u3002</p>",deltaSkewTips:"<p>25\u0394 Skew\uFF08\u5373 25-Delta Skew\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u540C\u4E3A Delta 0.25 \u7684 Call \u4E0E Put \u4E4B\u95F4\u7684\u6CE2\u52A8\u7387\u504F\u659C\u7A0B\u5EA6\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1A25\u0394 Skew = 25d Call IV - 25d Put IV</p>",volFly:"\u6CE2\u52A8\u7387\u8776\u5F0F",volFlyTips:"<p>\u6CE2\u52A8\u7387\u8776\u5F0F\uFF08\u5373 Volatility Butterfly\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u6CE2\u52A8\u7387\u66F2\u9762\u51F8\u5EA6\uFF0C\u8861\u91CF\u5E02\u573A\u5BF9\u6781\u7AEF\u884C\u60C5\u7684\u5B9A\u4EF7\u5DEE\u5F02\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AFly = Avg(25\u0394 Call IV, 25\u0394 Put IV) - 50\u0394 Call IV</p>",realizedVolatilityTips:"<p>Realized Volatility\uFF08\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF0CRV\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u4E0D\u540C\u671F\u9650\u7684\u671F\u6743\u7684\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u6570\u503C\uFF0C\u540C\u65F6\u60A8\u53EF\u4EE5\u5728\u53F3\u4E0A\u89D2\u8BA1\u7B97\u5668\u89C6\u56FE\u4F7F\u7528\u81EA\u5B9A\u4E49\u9897\u7C92\u5EA6\u548C\u5468\u671F\u8FDB\u884C\u8BA1\u7B97\u3002</p><p>\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF08Realized Volatility\uFF09\uFF0C\u4E5F\u79F0\u4E3A\u5386\u53F2\u6CE2\u52A8\u7387\uFF08Historical Volatility\uFF0CHV\uFF09\u3002</p>",atmVolatilityTermStructure:"\u5E73\u503C\u671F\u6743\u6CE2\u52A8\u7387\u671F\u9650\u7ED3\u6784",atmVolatilityTermStructureTips:'<p>ATM Volatility Term Structure\uFF08\u5E73\u503C\u671F\u6743\u6CE2\u52A8\u7387\u671F\u9650\u7ED3\u6784\uFF09</p><p>\u6B64\u56FE\u8868\u540C\u65F6\u5C55\u2F70\u4E0D\u540C\u5230\u671F\u2F47\u5E73\u503C\u671F\u6743\u7684\u9690\u542B\u6CE2\u52A8\u7387\uFF08ATM IV\uFF09\u548C\u8FDC\u671F\u6CE2\u52A8\u7387\uFF08FWD IV\uFF09\u3002</p><p>FWD IV \u5373 Forward IV\uFF0C\u5C06\u65F6\u95F4\u6BB5\u5206\u4E3A\u8FD1\u671F\u548C\u8FDC\u671F\uFF0C\u5228\u9664\u8FD1\u671F\u671F\u9650IV\u4FEE\u6B63\u540E\u7684IV\u5373\u4E3A\u8FDC\u671F\u6CE2\u52A8\u7387\uFF08\u7C7B\u4F3C\u8FDC\u671F\u5229\u7387\uFF09\u3002</p><p>\u4E86\u89E3\u66F4\u591A: <a href="https://en.wikipedia.org/wiki/Forward_volatility" target="_blank">\u8FDC\u671F\u6CE2\u52A8\u7387 - \u7EF4\u57FA\u767E\u79D1</a></p>',optionFlow:"\u671F\u6743\u6210\u4EA4\u5360\u6BD4",optionFlowTips:"<p>Option Flow\uFF08\u671F\u6743\u6210\u4EA4\u5360\u6BD4\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u2F70\u6700\u8FD11\u2F29\u65F6\u53CA\u6700\u8FD124\u2F29\u65F6\u770B\u6DA8\u671F\u6743\u548C\u770B\u8DCC\u671F\u6743\u7684\u4E70\u5355\u3001\u5356\u5355\u548C\u2F24\u5B97\u6210\u4EA4\u5355\u7684\u6210\u4EA4\u91CF\u548C\u5360\u2F50\u3002\u60A8\u53EF\u5728\u53F3\u4E0A\u89D2\u5207\u6362\u4E0D\u540C\u7684\u65F6\u6BB5\u3002</p>",upto:"\u622A\u6B62\uFF1A",total:"\u603B\u8BA2\u5355\u6570\u91CF\uFF1A",optionsOpenInterest:"\u671F\u6743\u6301\u4ED3\u91CF",optionsOpenInterestTips:"<p>Options Open Interest\uFF08\u671F\u6743\u6301\u4ED3\u91CF\uFF09</p><p>\u5C55\u2F70\u4E0D\u540C\u2F8F\u6743\u4EF7\u6216\u4E0D\u540C\u5230\u671F\u2F47\u7684\u671F\u6743\u6301\u4ED3\u91CF\u3002</p>",cprTips:"<p>PCR = PUT\u603B\u6570 / CALL\u603B\u6570</p>",historicalDeliveryPrice:"\u5386\u53F2\u4EA4\u5272\u4EF7\u683C",historicalDeliveryPriceTips:"<p>Historical Delivery Price\uFF08\u5386\u53F2\u4EA4\u5272\u4EF7\u683C\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u6700\u8FD1\u4E00\u6BB5\u65F6\u95F4\u7684\u6BCF\u65E5\u5386\u53F2\u4EA4\u5272\u4EF7\u683C\u3002</p>",maxPainPrice:"\u6700\u5927\u75DB\u70B9",maxPainPriceTips:"<p>Max Pain Price\uFF08\u6700\u5927\u75DB\u70B9\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u5F53\u524D\u65F6\u95F4\u4E0B\uFF0C\u4E0D\u540C\u5230\u671F\u65E5\u6301\u4ED3\u6700\u96C6\u4E2D\u7684\u884C\u6743\u4EF7\uFF0C\u4E5F\u79F0\u4E3A\u201C\u6700\u5927\u75DB\u70B9\u201D\u3002</p>",ivSkew:"\u9690\u542B\u6CE2\u52A8\u7387\u503E\u659C\u66F2\u7EBF",iVSkewTips:"<p>IV Skew\uFF08\u9690\u542B\u6CE2\u52A8\u7387\u503E\u659C\u66F2\u7EBF\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u2F70\u6700\u8FD1\u4E24\u4E2A\u2F49\u5EA6\u6216\u5B63\u5EA6\u671F\u6743\uFF0C\u6309\u4E0D\u540C\u2F8F\u6743\u4EF7\u5212\u5206\u7684IV\u5F62\u6210\u7684skew\u66F2\u7EBF\u3002</p>",optionTradeVolume:"\u671F\u6743\u6210\u4EA4\u91CF",optionTradeVolumeTips:"<p>Option Trade Volume\uFF08\u671F\u6743\u6210\u4EA4\u91CF\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u968F\u7740\u65F6\u95F4\u5206\u5E03\u7684\u671F\u6743\u4EA4\u6613\u91CF\u56FE\u8868\uFF0C\u5177\u4F53\u5206\u4E3A Buy \u548C Sell \u4E24\u4E2A\u65B9\u5411\uFF0C\u540C\u65F6\u53F3\u4E0A\u89D2\u652F\u6301\u5207\u6362\u4E0D\u540C\u7684\u65F6\u95F4\u9897\u7C92\u5EA6\u3002</p>",periodLabel:"\u7C92\u5EA6\uFF1A",vrp:"\u6CE2\u52A8\u7387\u98CE\u9669\u6EA2\u4EF7",vrpTips:"<p>VRP\uFF08\u6CE2\u52A8\u7387\u98CE\u9669\u6EA2\u4EF7\uFF09</p><p>VRP \u5373 Volatility Risk Premium\uFF0C\u5373\u9690\u542B\u6CE2\u52A8\u7387\u4E0E\u5B9E\u73B0\u6CE2\u52A8\u7387\u4E4B\u5DEE\uFF0CVRP = IV - RV\u3002</p><p>\u6CE2\u52A8\u7387\u4EA4\u6613\u8005\u9664\u4E86\u5173\u6CE8\u9884\u671F\u7684\u6CE2\u52A8\u7387\uFF08\u9690\u542B\u6CE2\u52A8\u7387\uFF0CIV\uFF09\u4E4B\u5916\uFF0C\u4E5F\u5173\u6CE8\u5B9E\u9645\u53D1\u751F\u7684\u60C5\u51B5\uFF08\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF0CRV\uFF09\u3002VRP \u5C31\u662F\u8861\u91CF\u4E8C\u8005\u4E4B\u95F4\u7684\u5DEE\u503C\u53D8\u52A8\u7684\u6307\u6807\u3002</p>",volTenor:"\u6CE2\u52A8\u7387\u5468\u671F\uFF1A",samplePeriod:"\u6570\u636E\u6837\u672C\u5468\u671F\uFF1A",ivSurface:"\u9690\u542B\u6CE2\u52A8\u7387\u66F2\u9762",impliedVolatilitySurfaceTips:"<p>Implied Volatility Surface\uFF08\u9690\u542B\u6CE2\u52A8\u7387\u66F2\u9762\uFF09</p><p>\u6B64 3D \u56FE\u8868\u5C55\u793A\u7531\u4E0D\u540C\u5230\u671F\u65E5\u3001\u4E0D\u540C\u6267\u884C\u4EF7\u7684\u671F\u6743IV\u8FDE\u6210\u7684\u66F2\u9762\uFF0C\u652F\u6301\u9F20\u6807 360 \u5EA6\u62D6\u52A8\uFF0C\u4EE5\u53CA\u6EDA\u8F6E\u653E\u5927\u548C\u7F29\u5C0F\u3002</p>",tradeScatterPlot:"\u6210\u4EA4\u6563\u70B9",tradeScatterPlotTips:"<p>Trade Scatter Plot\uFF08\u6210\u4EA4\u6563\u70B9\uFF09</p><p>\u6B64\u8868\u683C\u5C55\u2F70\u6BCF\u7B14\u4EA4\u6613\u5728\u65F6\u95F4\u7EF4\u5EA6\u3001\u4E0E\u6807\u8BB0\u4EF7\u683C\u4EF7\u5DEE\uFF08SFM\uFF09\u7684\u6563\u70B9\u5206\u5E03\uFF0C\u70B9\u7684\u5927\u5C0F\u4EE3\u8868\u4EA4\u6613\u89C4\u6A21\u3002</p>",contracts:"\u4EA4\u6613\u5F20\u6570",spotsEtfNetInflow:"\u73B0\u8D27 ETF \u51C0\u6D41\u5165",spotsEtfNetInflowTips:"<p>Spots ETF Net Inflow\uFF08\u73B0\u8D27 ETF \u51C0\u6D41\u5165\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u5E02\u573A\u73B0\u8D27 ETF \u51C0\u6D41\u5165\u4E0E\u51C0\u8D44\u4EA7\u60C5\u51B5\u3002</p>",optionSkewTable:"\u671F\u6743\u504F\u659C\u8868",optionSkewTableTips:"<p>Option Skew Table\uFF08\u671F\u6743\u504F\u659C\u8868\uFF09</p><p>\u6B64\u8868\u683C\u5C55\u793A\u4E0D\u540C\u5230\u671F\u65E5\u5408\u7EA6\u5728\u4E0D\u540C Delta \u503C\u7684\u6CE2\u52A8\u7387\u504F\u659C\u503C\u3002</p>",expiryIn:"\u5230\u671F",chg1dTips:"\u6700\u8FD11\u5929\u7684\u53D8\u5316\u503C",chg2dTips:"\u6700\u8FD12\u5929\u7684\u53D8\u5316\u503C",chg1wTips:"\u6700\u8FD11\u5468\u7684\u53D8\u5316\u503C",chg2wTips:"\u6700\u8FD12\u5468\u7684\u53D8\u5316\u503C",chg1mTips:"\u6700\u8FD11\u6708\u7684\u53D8\u5316\u503C",colon:"\uFF1A",algorithm:"\u7B97\u6CD5",day:"\u5929",rv:"\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387",unbiasedHv:"\u6CE2\u52A8\u7387\u65E0\u504F\u4F30\u8BA1",parkinsonHv:"Parkinson\u4F30\u8BA1\u91CF",klineResolution:"\u9897\u7C92\u5EA6",period:"\u5468\u671F",hour:"\u5C0F\u65F6",minute:"\u5206",calc:"\u8BA1\u7B97",kLinePeriodStatement:"* \u6700\u591A1000\u4E2A\u5468\u671F\u3002",tooManyRequest:"\u8BF7\u6C42\u6B21\u6570\u592A\u591A",tips:"\u63D0\u793A",buy:"\u4E70\u5165",sell:"\u5356\u51FA",long:"\u505A\u591A",short:"\u505A\u7A7A",range:"\u8303\u56F4\uFF1A",time:"\u65F6\u95F4\u70B9\uFF1A",contractsLabel:"\u5408\u7EA6\uFF1A",mode:"\u6A21\u5F0F\uFF1A",natural:"\u81EA\u7136\u65F6",settlement:"\u4EA4\u5272\u65F6",naturalModeTips:"<p>\u81EA\u7136\u65F6\u5BF9\u6BD4\u6A21\u5F0F\uFF0C\u663E\u793A\u7684\u662F\u5F53\u524D\u65F6\u95F4\u4E0E\u8FC7\u53BB\u6307\u5B9A\u81EA\u7136\u65F6\u95F4\uFF081 \u5929 /2 \u5929 /1 \u5468\u7B49\uFF09\u4E4B\u524D\u6570\u503C\u7684\u53D8\u5316\uFF0C\u5982 Chg-1D \u663E\u793A\u5F53\u524D\u65F6\u95F4\u6570\u503C\u4E0E 24 \u5C0F\u65F6\u524D\u6570\u503C\u7684\u53D8\u5316\u3002</p>",settlementModeTips:"<p>\u4EA4\u5272\u65F6\u5BF9\u6BD4\u6A21\u5F0F\uFF0C\u663E\u793A\u7684\u662F\u5F53\u524D\u65F6\u95F4\u4E0E\u6700\u8FD1\u4EA4\u5272\u65F6\u95F4\u70B9\u7684\u6570\u503C\u53D8\u5316\uFF0C\u5982 Chg-1D \u663E\u793A\u5F53\u524D\u65F6\u95F4\u6570\u503C\u4E0E\u4E0A\u4E00\u4E2A\u4EA4\u5272\u65F6\u95F4\u70B9\u7684\u6570\u503C\u7684\u53D8\u5316\u3002\u9002\u7528\u4E8E\u5206\u6790\u4EA4\u5272\u5468\u671F\u5185\u7684\u6570\u503C\u53D8\u5316\u3002</p>",deltaTotal:"Delta \u603B\u503C",optionsDelta:"\u671F\u6743 Delta"}};function yee(e){return(t,r)=>_ee(t,r,z(e))}function _ee(e,t,r){return C3(r,e,e).replace(/\{(\w+)\}/g,(n,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`})}function xee(e){const t=ne(()=>z(e).name),r=ht(e)?e:gr(e);return{lang:t,locale:r,t:yee(e)}}function dr(){const e=Y0("locale");return xee(ne(()=>e.value||mee))}const bee="greeks",See="is-",r1=(e,t,r,n,a)=>{let i=`${e}-${t}`;return r&&(i+=`-${r}`),n&&(i+=`__${n}`),a&&(i+=`--${a}`),i},Ze=e=>{const t=Y0("namespace",bee);return{namespace:t,b:(d="")=>r1(t.value,e,d,"",""),e:d=>d?r1(t.value,e,"",d,""):"",m:d=>d?r1(t.value,e,"","",d):"",be:(d,p)=>d&&p?r1(t.value,e,d,p,""):"",em:(d,p)=>d&&p?r1(t.value,e,"",d,p):"",bm:(d,p)=>d&&p?r1(t.value,e,d,"",p):"",bem:(d,p,g)=>d&&p&&g?r1(t.value,e,d,p,g):"",is:(d,...p)=>{const g=p.length>=1?p[0]:!0;return d&&g?`${See}${d}`:""},cssVar:d=>{const p={};for(const g in d)d[g]&&(p[`--${t.value}-${g}`]=d[g]);return p},cssVarName:d=>`--${t.value}-${d}`,cssVarBlock:d=>{const p={};for(const g in d)d[g]&&(p[`--${t.value}-${e}-${g}`]=d[g]);return p},cssVarBlockName:d=>`--${t.value}-${e}-${d}`}};Qe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),gr(0),Qe({});var wb=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Aee={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(wb,function(){return function(){var r={686:function(i,o,s){s.d(o,{default:function(){return W}});var l=s(279),u=s.n(l),c=s(370),h=s.n(c),f=s(817),v=s.n(f);function d(H){try{return document.execCommand(H)}catch(G){return!1}}var p=function(G){var U=v()(G);return d("cut"),U},g=p;function m(H){var G=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[G?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(Y,"px"),U.setAttribute("readonly",""),U.value=H,U}var y=function(G,U){var Y=m(G);U.container.appendChild(Y);var J=v()(Y);return d("copy"),Y.remove(),J},_=function(G){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof G=="string"?Y=y(G,U):G instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(G==null?void 0:G.type)?Y=y(G.value,U):(Y=v()(G),d("copy")),Y},x=_;function S(H){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(U){return typeof U}:S=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},S(H)}var b=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=G.action,Y=U===void 0?"copy":U,J=G.container,K=G.target,Z=G.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(K!==void 0)if(K&&S(K)==="object"&&K.nodeType===1){if(Y==="copy"&&K.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(K.hasAttribute("readonly")||K.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Z)return x(Z,{container:J});if(K)return Y==="cut"?g(K):x(K,{container:J})},w=b;function A(H){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(U){return typeof U}:A=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},A(H)}function C(H,G){if(!(H instanceof G))throw new TypeError("Cannot call a class as a function")}function M(H,G){for(var U=0;U<G.length;U++){var Y=G[U];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(H,Y.key,Y)}}function T(H,G,U){return G&&M(H.prototype,G),U&&M(H,U),H}function D(H,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(G&&G.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),G&&L(H,G)}function L(H,G){return L=Object.setPrototypeOf||function(Y,J){return Y.__proto__=J,Y},L(H,G)}function E(H){var G=F();return function(){var Y=I(H),J;if(G){var K=I(this).constructor;J=Reflect.construct(Y,arguments,K)}else J=Y.apply(this,arguments);return P(this,J)}}function P(H,G){return G&&(A(G)==="object"||typeof G=="function")?G:R(H)}function R(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}function I(H){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},I(H)}function N(H,G){var U="data-clipboard-".concat(H);if(!!G.hasAttribute(U))return G.getAttribute(U)}var B=function(H){D(U,H);var G=E(U);function U(Y,J){var K;return C(this,U),K=G.call(this),K.resolveOptions(J),K.listenClick(Y),K}return T(U,[{key:"resolveOptions",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof J.action=="function"?J.action:this.defaultAction,this.target=typeof J.target=="function"?J.target:this.defaultTarget,this.text=typeof J.text=="function"?J.text:this.defaultText,this.container=A(J.container)==="object"?J.container:document.body}},{key:"listenClick",value:function(J){var K=this;this.listener=h()(J,"click",function(Z){return K.onClick(Z)})}},{key:"onClick",value:function(J){var K=J.delegateTarget||J.currentTarget,Z=this.action(K)||"copy",$=w({action:Z,container:this.container,target:this.target(K),text:this.text(K)});this.emit($?"success":"error",{action:Z,text:$,trigger:K,clearSelection:function(){K&&K.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(J){return N("action",J)}},{key:"defaultTarget",value:function(J){var K=N("target",J);if(K)return document.querySelector(K)}},{key:"defaultText",value:function(J){return N("text",J)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(J){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(J,K)}},{key:"cut",value:function(J){return g(J)}},{key:"isSupported",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],K=typeof J=="string"?[J]:J,Z=!!document.queryCommandSupported;return K.forEach(function($){Z=Z&&!!document.queryCommandSupported($)}),Z}}]),U}(u()),W=B},828:function(i){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(u,c){for(;u&&u.nodeType!==o;){if(typeof u.matches=="function"&&u.matches(c))return u;u=u.parentNode}}i.exports=l},438:function(i,o,s){var l=s(828);function u(f,v,d,p,g){var m=h.apply(this,arguments);return f.addEventListener(d,m,g),{destroy:function(){f.removeEventListener(d,m,g)}}}function c(f,v,d,p,g){return typeof f.addEventListener=="function"?u.apply(null,arguments):typeof d=="function"?u.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(m){return u(m,v,d,p,g)}))}function h(f,v,d,p){return function(g){g.delegateTarget=l(g.target,v),g.delegateTarget&&p.call(f,g)}}i.exports=c},879:function(i,o){o.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},o.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||o.node(s[0]))},o.string=function(s){return typeof s=="string"||s instanceof String},o.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,o,s){var l=s(879),u=s(438);function c(d,p,g){if(!d&&!p&&!g)throw new Error("Missing required arguments");if(!l.string(p))throw new TypeError("Second argument must be a String");if(!l.fn(g))throw new TypeError("Third argument must be a Function");if(l.node(d))return h(d,p,g);if(l.nodeList(d))return f(d,p,g);if(l.string(d))return v(d,p,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function h(d,p,g){return d.addEventListener(p,g),{destroy:function(){d.removeEventListener(p,g)}}}function f(d,p,g){return Array.prototype.forEach.call(d,function(m){m.addEventListener(p,g)}),{destroy:function(){Array.prototype.forEach.call(d,function(m){m.removeEventListener(p,g)})}}}function v(d,p,g){return u(document.body,d,p,g)}i.exports=c},817:function(i){function o(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var c=window.getSelection(),h=document.createRange();h.selectNodeContents(s),c.removeAllRanges(),c.addRange(h),l=c.toString()}return l}i.exports=o},279:function(i){function o(){}o.prototype={on:function(s,l,u){var c=this.e||(this.e={});return(c[s]||(c[s]=[])).push({fn:l,ctx:u}),this},once:function(s,l,u){var c=this;function h(){c.off(s,h),l.apply(u,arguments)}return h._=l,this.on(s,h,u)},emit:function(s){var l=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),c=0,h=u.length;for(c;c<h;c++)u[c].fn.apply(u[c].ctx,l);return this},off:function(s,l){var u=this.e||(this.e={}),c=u[s],h=[];if(c&&l)for(var f=0,v=c.length;f<v;f++)c[f].fn!==l&&c[f].fn._!==l&&h.push(c[f]);return h.length?u[s]=h:delete u[s],this}},i.exports=o,i.exports.TinyEmitter=o}},n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={exports:{}};return r[i](o,o.exports,a),o.exports}return function(){a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,{a:o}),o}}(),function(){a.d=function(i,o){for(var s in o)a.o(o,s)&&!a.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}}(),function(){a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)}}(),a(686)}().default})})(Aee);/*!
|
|
57
|
+
`,r+="-----END PUBLIC KEY-----",r},t.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},t}(NJ),c5,HJ=typeof process!="undefined"?(c5=process.env)===null||c5===void 0?void 0:c5.npm_package_version:void 0,GJ=function(){function e(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return e.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new fb(t)},e.prototype.setPrivateKey=function(t){this.setKey(t)},e.prototype.setPublicKey=function(t){this.setKey(t)},e.prototype.decrypt=function(t){try{return this.getKey().decrypt(nb(t))}catch(r){return!1}},e.prototype.encrypt=function(t){try{return j3(this.getKey().encrypt(t))}catch(r){return!1}},e.prototype.sign=function(t,r,n){try{return j3(this.getKey().sign(t,r,n))}catch(a){return!1}},e.prototype.verify=function(t,r,n){try{return this.getKey().verify(t,nb(r),n)}catch(a){return!1}},e.prototype.getKey=function(t){if(!this.key){if(this.key=new fb,t&&{}.toString.call(t)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=HJ,e}();function UJ(e){if(!e)return;let t="MIIBCgKCAQEA0IBY5iI6qQxeWE/UZZ2cqGKlM8QcVemfP96Gl95Tzf8gq4dIj1YQXiwFjrEhoPlBqI0MekkoT8D6XUlOkVWqjaDN2s4yAiRLh5w9NKZFUkWNxW9uY1iqT8d3T5KZduq++Va7qrxEyUI1/J8ghT45G522tPusdXvk9YulPk9asVtCz9xzHX1aSKQ7w++rX4Qw5VOSbTf9j3QzhSFy1uPvANqb6umgzRqCXNW5dBuXMMahhqIKE6bIKOvhgOGb5+fS0KnugRfU7ibG2URZ8lhEpfx+Z4t1xjgCV2OI0sS2Y2lwtE5C+ad825iY817uCa8XubgnfSU+ykbMw9MT4eeLkQIDAQAB";const r=new GJ;return r.setPublicKey(t),r.encrypt(e)}const WJ=(e,t,r=1e6)=>new Promise((n,a)=>{const i=new AbortController,o=i.signal,s=setTimeout(()=>{i.abort(),a(new Error("\u8BF7\u6C42\u8D85\u65F6"))},r),l={...t,signal:o};fetch(e,l).then(n).catch(a).finally(()=>clearTimeout(s))}),XJ=e=>{const{url:t,data:r,timeout:n,method:a="GET",noSign:i=!1,headers:o={},...s}=e;wee();const l={"Content-Type":"application/json",...o,...i?{}:{"X-Sign":UJ(`${new Date().getTime()}`)}};let u;r&&(u=JSON.stringify(r));const c={method:a,headers:l,credentials:"same-origin",body:u,...s};return[t,c]},YJ=async e=>{const t=await e.json().catch(()=>({}));return e.ok?(t.code,t.code!=null&&t.code!==200&&t.code!==-101&&t.code!==0?Promise.reject(t):t):Promise.reject(t)},qJ=e=>{var t,r,n;if(e.name==="AbortError")return{data:{code:500,message:"\u8BF7\u6C42\u8D85\u65F6"}};if(e.response){let a=(t=e.data)==null?void 0:t.message;return a||(a=(n=(r=e.data)==null?void 0:r.error)==null?void 0:n.message),a||(a="Bad request!"),Promise.reject(e.data)}else return e.msg?e:{data:{code:500}}},Nr=async e=>{try{const[t,r]=XJ(e),n=await WJ(t,r,e.timeout);return await YJ(n)}catch(t){return qJ(t)}},vb={dev:"https://dev-api.yazhan.vip/api/v1",test:"https://dev-api.yazhan.vip/api/v1",inner:"https://api.greeks.live/api/v1",prod:"https://api.greeks.live/api/v1"},db={dev:"https://www.deribit.com/api/v2",test:"https://www.deribit.com/api/v2",inner:"https://www.deribit.com/api/v2",prod:"https://www.deribit.com/api/v2"};function pb(e="prod"){return vb[e]||vb.prod}function gb(e="prod"){return db[e]||db.prod}function ZJ(){var e;try{const r=(e=Y0().value)==null?void 0:e.environment;return pb(r||"prod")}catch(t){return pb("prod")}}function jJ(){var e;try{const r=(e=Y0().value)==null?void 0:e.environment;return gb(r||"prod")}catch(t){return gb("prod")}}const mb=e=>Object.keys(e).length===0?"":`?${Object.entries(e).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&")}`;function fn(){return ZJ()}function yb(){return jJ()}const $J=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/skew_chart`,data:{currency:e.currency,gap:e.gap},method:"post"}),KJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/fly`,data:{currency:e.currency,gap:e.gap,...e.fly_type!=null&&e.fly_type!==""?{fly_type:e.fly_type}:{}},method:"post"}),QJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_history`,data:{currency:e.currency,gap:e.gap},method:"post"}),JJ=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/hv`,data:{currency:e.currency,gap:e.gap},method:"post"}),_b=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/atm_data`,data:{currency:e.currency,...e.page_num!==void 0&&{page_num:e.page_num},...e.end_timestamp!==void 0&&{end_timestamp:e.end_timestamp}},method:"post"}),eee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/option_flows`,data:{currency:e.currency},method:"post"}),tee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/open_interest_statistics`,data:{currency:e.currency},method:"post"}),ree=e=>Nr({url:`${yb()}/public/get_last_settlements_by_currency`+mb(e),method:"get",noSign:!0}),nee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/strike_pain`,data:{currency:e.currency,...e.end_timestamp!==void 0&&{end_timestamp:e.end_timestamp}},method:"post"}),aee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_skew_month`,data:{currency:e.currency},method:"post"}),iee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/option_flows_tradingview_data`,data:{currency:e.currency,resolution:e.resolution,start_timestamp:e.start_timestamp,end_timestamp:e.end_timestamp},method:"post"}),oee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/iv_rv`,data:{currency:e.currency,gap:e.gap},method:"post"}),see=e=>Nr({url:`${fn()}/deribit/datalab/kline/hv_newest`,data:e,method:"post"}),lee=e=>Nr({url:"https://api.greeks.live/api/v1/kline/hv",data:e,method:"post"}),uee=e=>Nr({url:`${yb()}/public/get_index_price`+mb(e),method:"get",noSign:!0}),cee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/fiv_matrix`,data:{currency:e.currency},method:"post"}),hee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/tx_spot`,data:{currency:e.currency,min_amount:e.min_amount,end_timestamp:e.end_timestamp},method:"post"}),fee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/etf`,data:{currency:e.currency,start_timestamp:e.start_timestamp,end_timestamp:e.end_timestamp},method:"post"}),vee=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/skew_matrix`,data:{currency:e.currency,start_timestamp:e.start_timestamp},method:"post"}),xb=e=>Nr({url:`${fn()}/${e.exchange.toLowerCase()}/datalab/gex`,data:{currency:e.currency,...e.timestamp!==void 0&&{timestamp:e.timestamp}},method:"post"}),dee=(e,t=null,r=null,n=8)=>{if(vo(e))return null;if(t===null&&r){const l=Number(e);l>=1e4?t=0:l>=1e3?t=1:l>=10?t=2:l>=1?t=3:t=4}t!==null?typeof e=="string"?e=Number(e).toFixed(t).toString():typeof e=="number"&&(e=e.toFixed(t).toString()):e=e.toString();const[a,i]=e.split(".");let o=i;i&&i.length>n&&(o=i.slice(0,n));const s=a.replace(/(\d)(?=(?:\d{3})+$)/g,"$1,");return o?`${s}.${o}`:`${s}`},bb=(e,t=!1)=>{const r=typeof e=="string"?Number(e):e;return r===null||r===0||isNaN(r)?"":t?r>0?"var(--theme-red-primary)":"var(--theme-green-primary)":r>0?"var(--theme-green-primary)":"var(--theme-red-primary)"},pee=e=>{if(vo(e))return 0;const r=e||0;return Math.abs(r)>=1e10?(r/1e10).toFixed(2)+"B":Math.abs(r)>=1e6?(r/1e6).toFixed(2)+"M":Math.abs(r)>=1e3?(r/1e3).toFixed(2)+"K":Math.abs(r)>=10?r.toFixed(2):r.toFixed(4)},Sb=Symbol(),n6=gr();function Y0(e,t=void 0){const r=N8()?Tl(Sb,n6):n6;return e?ne(()=>{var n,a;return(a=(n=r.value)==null?void 0:n[e])!=null?a:t}):r}const Ab=(e,t,r=!1)=>{var n;const a=!!N8(),i=a?Y0():void 0,o=(n=t==null?void 0:t.provide)!=null?n:a?im:void 0;if(!o)return;const s=ne(()=>{const l=z(e);return i!=null&&i.value?gee(i.value,l):l});return o(Sb,s),(r||!n6.value)&&(n6.value=s.value),s},gee=(e,t)=>{var r;const n=[...new Set([...qx(e),...qx(t)])],a={};for(const i of n)a[i]=(r=t[i])!=null?r:e[i];return a};var mee={name:"zh-cn",message:{gex:"Gamma \u655E\u53E3",gexTips:"<p>Gamma \u655E\u53E3</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u671F\u6743\u505A\u5E02\u5546\u5728\u5404\u884C\u6743\u4EF7\u4E0A\u7684\u51C0 Gamma \u655E\u53E3\u6C47\u603B\u3002\u6B63 Gamma\uFF08\u7EFF\u8272\uFF09\u8868\u793A\u505A\u5E02\u5546\u5BF9\u51B2\u5C06\u6291\u5236\u4EF7\u683C\u6CE2\u52A8\uFF1B\u8D1F Gamma\uFF08\u7EA2\u8272\uFF09\u8868\u793A\u505A\u5E02\u5546\u5BF9\u51B2\u5C06\u653E\u5927\u4EF7\u683C\u6CE2\u52A8\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AGEX = \u03A3\uFF08\u671F\u6743 Gamma \xD7 \u6301\u4ED3\u91CF \xD7 \u5408\u7EA6\u4E58\u6570 \xD7 \u73B0\u8D27\u4EF7\u683C\uFF09\uFF0C\u5355\u4F4D\u4E3A\u6BCF $1 \u53D8\u52A8\u5BF9\u5E94\u7684\u5408\u7EA6\u6570</p>",gexByExpiry:"Gamma \u655E\u53E3\uFF08\u6309\u5230\u671F\u65E5\uFF09",gexByExpiryTips:"<p>Gamma \u655E\u53E3\uFF08\u6309\u5230\u671F\u65E5\uFF09</p><p>\u6B64\u56FE\u8868\u6309\u5230\u671F\u65E5\u62C6\u5206\u5404\u884C\u6743\u4EF7\u4E0A\u7684 Gamma \u655E\u53E3\u3002\u6BCF\u79CD\u989C\u8272\u4EE3\u8868\u4E00\u4E2A\u5230\u671F\u65E5\uFF0C\u5E2E\u52A9\u7528\u6237\u8BC6\u522B\u5728\u7279\u5B9A\u884C\u6743\u4EF7\u4E0A\u54EA\u4E9B\u5230\u671F\u65E5\u8D21\u732E\u4E86\u6700\u591A\u7684 Gamma \u655E\u53E3\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AGEX per Expiry = \u03A3\uFF08\u671F\u6743 Gamma \xD7 \u6301\u4ED3\u91CF \xD7 \u5408\u7EA6\u4E58\u6570 \xD7 \u73B0\u8D27\u4EF7\u683C\uFF09\uFF0C\u6309\u5355\u4E00\u5230\u671F\u65E5\u6C47\u603B</p>",strike:"\u884C\u6743\u4EF7",contractsPer1Move:"\u6807\u7684\u6BCF\u53D8\u52A8 $1 \u5BF9\u5E94\u7684\u5408\u7EA6\u6570\u91CF",atmIVTips:"<p>ATM IV\uFF08\u5E73\u503C\u9690\u542B\u6CE2\u52A8\u7387\uFF09</p><p>\u6B64\u56FE\u8868\u663E\u793A\u5E73\u503C\u671F\u6743\u9690\u542B\u6CE2\u52A8\u7387\uFF08IV\uFF09\u968F\u65F6\u95F4\u7684\u53D8\u5316\u3002\u540C\u65F6\u53E0\u52A0\u663E\u793A\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF08RV\uFF09\u4EE5\u4F9B\u6BD4\u8F83\u3002</p><p>\u9ED8\u8BA4\u663E\u793A1\u4E2A\u6708\u30013\u4E2A\u6708\u548C6\u4E2A\u6708\u7684\u9690\u542B\u6CE2\u52A8\u7387\uFF0C\u4EE5\u53CA7\u5929\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u3002\u60A8\u4E5F\u53EF\u4EE5\u901A\u8FC7\u53F3\u4E0A\u89D2\u5217\u7BA1\u7406\u6765\u9009\u62E9\u53E0\u52A0\u4E0D\u540C\u5929\u6570\u7684\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u3002</p>",deltaSkewTips:"<p>25\u0394 Skew\uFF08\u5373 25-Delta Skew\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u540C\u4E3A Delta 0.25 \u7684 Call \u4E0E Put \u4E4B\u95F4\u7684\u6CE2\u52A8\u7387\u504F\u659C\u7A0B\u5EA6\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1A25\u0394 Skew = 25d Call IV - 25d Put IV</p>",volFly:"25\u0394 Fly",volFlyTips:"<p>25\u0394 Fly\uFF08\u5373 25 Delta Fly\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u6CE2\u52A8\u7387\u66F2\u9762\u51F8\u5EA6\uFF0C\u8861\u91CF\u5E02\u573A\u5BF9\u6781\u7AEF\u884C\u60C5\u7684\u5B9A\u4EF7\u5DEE\u5F02\u3002</p><p>\u516C\u5F0F\u4E3A\uFF1AFly = Avg(25\u0394 Call IV, 25\u0394 Put IV) - 50\u0394 Call IV</p>",realizedVolatilityTips:"<p>Realized Volatility\uFF08\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF0CRV\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u4E0D\u540C\u671F\u9650\u7684\u671F\u6743\u7684\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\u6570\u503C\uFF0C\u540C\u65F6\u60A8\u53EF\u4EE5\u5728\u53F3\u4E0A\u89D2\u8BA1\u7B97\u5668\u89C6\u56FE\u4F7F\u7528\u81EA\u5B9A\u4E49\u9897\u7C92\u5EA6\u548C\u5468\u671F\u8FDB\u884C\u8BA1\u7B97\u3002</p><p>\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF08Realized Volatility\uFF09\uFF0C\u4E5F\u79F0\u4E3A\u5386\u53F2\u6CE2\u52A8\u7387\uFF08Historical Volatility\uFF0CHV\uFF09\u3002</p>",atmVolatilityTermStructure:"\u5E73\u503C\u671F\u6743\u6CE2\u52A8\u7387\u671F\u9650\u7ED3\u6784",atmVolatilityTermStructureTips:'<p>ATM Volatility Term Structure\uFF08\u5E73\u503C\u671F\u6743\u6CE2\u52A8\u7387\u671F\u9650\u7ED3\u6784\uFF09</p><p>\u6B64\u56FE\u8868\u540C\u65F6\u5C55\u2F70\u4E0D\u540C\u5230\u671F\u2F47\u5E73\u503C\u671F\u6743\u7684\u9690\u542B\u6CE2\u52A8\u7387\uFF08ATM IV\uFF09\u548C\u8FDC\u671F\u6CE2\u52A8\u7387\uFF08FWD IV\uFF09\u3002</p><p>FWD IV \u5373 Forward IV\uFF0C\u5C06\u65F6\u95F4\u6BB5\u5206\u4E3A\u8FD1\u671F\u548C\u8FDC\u671F\uFF0C\u5228\u9664\u8FD1\u671F\u671F\u9650IV\u4FEE\u6B63\u540E\u7684IV\u5373\u4E3A\u8FDC\u671F\u6CE2\u52A8\u7387\uFF08\u7C7B\u4F3C\u8FDC\u671F\u5229\u7387\uFF09\u3002</p><p>\u4E86\u89E3\u66F4\u591A: <a href="https://en.wikipedia.org/wiki/Forward_volatility" target="_blank">\u8FDC\u671F\u6CE2\u52A8\u7387 - \u7EF4\u57FA\u767E\u79D1</a></p>',optionFlow:"\u671F\u6743\u6210\u4EA4\u5360\u6BD4",optionFlowTips:"<p>Option Flow\uFF08\u671F\u6743\u6210\u4EA4\u5360\u6BD4\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u2F70\u6700\u8FD11\u2F29\u65F6\u53CA\u6700\u8FD124\u2F29\u65F6\u770B\u6DA8\u671F\u6743\u548C\u770B\u8DCC\u671F\u6743\u7684\u4E70\u5355\u3001\u5356\u5355\u548C\u2F24\u5B97\u6210\u4EA4\u5355\u7684\u6210\u4EA4\u91CF\u548C\u5360\u2F50\u3002\u60A8\u53EF\u5728\u53F3\u4E0A\u89D2\u5207\u6362\u4E0D\u540C\u7684\u65F6\u6BB5\u3002</p>",upto:"\u622A\u6B62\uFF1A",total:"\u603B\u8BA2\u5355\u6570\u91CF\uFF1A",optionsOpenInterest:"\u671F\u6743\u6301\u4ED3\u91CF",optionsOpenInterestTips:"<p>Options Open Interest\uFF08\u671F\u6743\u6301\u4ED3\u91CF\uFF09</p><p>\u5C55\u2F70\u4E0D\u540C\u2F8F\u6743\u4EF7\u6216\u4E0D\u540C\u5230\u671F\u2F47\u7684\u671F\u6743\u6301\u4ED3\u91CF\u3002</p>",cprTips:"<p>PCR = PUT\u603B\u6570 / CALL\u603B\u6570</p>",historicalDeliveryPrice:"\u5386\u53F2\u4EA4\u5272\u4EF7\u683C",historicalDeliveryPriceTips:"<p>Historical Delivery Price\uFF08\u5386\u53F2\u4EA4\u5272\u4EF7\u683C\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u6700\u8FD1\u4E00\u6BB5\u65F6\u95F4\u7684\u6BCF\u65E5\u5386\u53F2\u4EA4\u5272\u4EF7\u683C\u3002</p>",maxPainPrice:"\u6700\u5927\u75DB\u70B9",maxPainPriceTips:"<p>Max Pain Price\uFF08\u6700\u5927\u75DB\u70B9\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u5F53\u524D\u65F6\u95F4\u4E0B\uFF0C\u4E0D\u540C\u5230\u671F\u65E5\u6301\u4ED3\u6700\u96C6\u4E2D\u7684\u884C\u6743\u4EF7\uFF0C\u4E5F\u79F0\u4E3A\u201C\u6700\u5927\u75DB\u70B9\u201D\u3002</p>",ivSkew:"\u9690\u542B\u6CE2\u52A8\u7387\u503E\u659C\u66F2\u7EBF",iVSkewTips:"<p>IV Skew\uFF08\u9690\u542B\u6CE2\u52A8\u7387\u503E\u659C\u66F2\u7EBF\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u2F70\u6700\u8FD1\u4E24\u4E2A\u2F49\u5EA6\u6216\u5B63\u5EA6\u671F\u6743\uFF0C\u6309\u4E0D\u540C\u2F8F\u6743\u4EF7\u5212\u5206\u7684IV\u5F62\u6210\u7684skew\u66F2\u7EBF\u3002</p>",optionTradeVolume:"\u671F\u6743\u6210\u4EA4\u91CF",optionTradeVolumeTips:"<p>Option Trade Volume\uFF08\u671F\u6743\u6210\u4EA4\u91CF\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u968F\u7740\u65F6\u95F4\u5206\u5E03\u7684\u671F\u6743\u4EA4\u6613\u91CF\u56FE\u8868\uFF0C\u5177\u4F53\u5206\u4E3A Buy \u548C Sell \u4E24\u4E2A\u65B9\u5411\uFF0C\u540C\u65F6\u53F3\u4E0A\u89D2\u652F\u6301\u5207\u6362\u4E0D\u540C\u7684\u65F6\u95F4\u9897\u7C92\u5EA6\u3002</p>",periodLabel:"\u7C92\u5EA6\uFF1A",vrp:"\u6CE2\u52A8\u7387\u98CE\u9669\u6EA2\u4EF7",vrpTips:"<p>VRP\uFF08\u6CE2\u52A8\u7387\u98CE\u9669\u6EA2\u4EF7\uFF09</p><p>VRP \u5373 Volatility Risk Premium\uFF0C\u5373\u9690\u542B\u6CE2\u52A8\u7387\u4E0E\u5B9E\u73B0\u6CE2\u52A8\u7387\u4E4B\u5DEE\uFF0CVRP = IV - RV\u3002</p><p>\u6CE2\u52A8\u7387\u4EA4\u6613\u8005\u9664\u4E86\u5173\u6CE8\u9884\u671F\u7684\u6CE2\u52A8\u7387\uFF08\u9690\u542B\u6CE2\u52A8\u7387\uFF0CIV\uFF09\u4E4B\u5916\uFF0C\u4E5F\u5173\u6CE8\u5B9E\u9645\u53D1\u751F\u7684\u60C5\u51B5\uFF08\u5B9E\u73B0\u6CE2\u52A8\u7387\uFF0CRV\uFF09\u3002VRP \u5C31\u662F\u8861\u91CF\u4E8C\u8005\u4E4B\u95F4\u7684\u5DEE\u503C\u53D8\u52A8\u7684\u6307\u6807\u3002</p>",volTenor:"\u6CE2\u52A8\u7387\u5468\u671F\uFF1A",samplePeriod:"\u6570\u636E\u6837\u672C\u5468\u671F\uFF1A",ivSurface:"\u9690\u542B\u6CE2\u52A8\u7387\u66F2\u9762",impliedVolatilitySurfaceTips:"<p>Implied Volatility Surface\uFF08\u9690\u542B\u6CE2\u52A8\u7387\u66F2\u9762\uFF09</p><p>\u6B64 3D \u56FE\u8868\u5C55\u793A\u7531\u4E0D\u540C\u5230\u671F\u65E5\u3001\u4E0D\u540C\u6267\u884C\u4EF7\u7684\u671F\u6743IV\u8FDE\u6210\u7684\u66F2\u9762\uFF0C\u652F\u6301\u9F20\u6807 360 \u5EA6\u62D6\u52A8\uFF0C\u4EE5\u53CA\u6EDA\u8F6E\u653E\u5927\u548C\u7F29\u5C0F\u3002</p>",tradeScatterPlot:"\u6210\u4EA4\u6563\u70B9",tradeScatterPlotTips:"<p>Trade Scatter Plot\uFF08\u6210\u4EA4\u6563\u70B9\uFF09</p><p>\u6B64\u8868\u683C\u5C55\u2F70\u6BCF\u7B14\u4EA4\u6613\u5728\u65F6\u95F4\u7EF4\u5EA6\u3001\u4E0E\u6807\u8BB0\u4EF7\u683C\u4EF7\u5DEE\uFF08SFM\uFF09\u7684\u6563\u70B9\u5206\u5E03\uFF0C\u70B9\u7684\u5927\u5C0F\u4EE3\u8868\u4EA4\u6613\u89C4\u6A21\u3002</p>",contracts:"\u4EA4\u6613\u5F20\u6570",spotsEtfNetInflow:"\u73B0\u8D27 ETF \u51C0\u6D41\u5165",spotsEtfNetInflowTips:"<p>Spots ETF Net Inflow\uFF08\u73B0\u8D27 ETF \u51C0\u6D41\u5165\uFF09</p><p>\u6B64\u56FE\u8868\u5C55\u793A\u5E02\u573A\u73B0\u8D27 ETF \u51C0\u6D41\u5165\u4E0E\u51C0\u8D44\u4EA7\u60C5\u51B5\u3002</p>",optionSkewTable:"\u671F\u6743\u504F\u659C\u8868",optionSkewTableTips:"<p>Option Skew Table\uFF08\u671F\u6743\u504F\u659C\u8868\uFF09</p><p>\u6B64\u8868\u683C\u5C55\u793A\u4E0D\u540C\u5230\u671F\u65E5\u5408\u7EA6\u5728\u4E0D\u540C Delta \u503C\u7684\u6CE2\u52A8\u7387\u504F\u659C\u503C\u3002</p>",expiryIn:"\u5230\u671F",chg1dTips:"\u6700\u8FD11\u5929\u7684\u53D8\u5316\u503C",chg2dTips:"\u6700\u8FD12\u5929\u7684\u53D8\u5316\u503C",chg1wTips:"\u6700\u8FD11\u5468\u7684\u53D8\u5316\u503C",chg2wTips:"\u6700\u8FD12\u5468\u7684\u53D8\u5316\u503C",chg1mTips:"\u6700\u8FD11\u6708\u7684\u53D8\u5316\u503C",colon:"\uFF1A",algorithm:"\u7B97\u6CD5",day:"\u5929",rv:"\u5DF2\u5B9E\u73B0\u6CE2\u52A8\u7387",unbiasedHv:"\u6CE2\u52A8\u7387\u65E0\u504F\u4F30\u8BA1",parkinsonHv:"Parkinson\u4F30\u8BA1\u91CF",klineResolution:"\u9897\u7C92\u5EA6",period:"\u5468\u671F",hour:"\u5C0F\u65F6",minute:"\u5206",calc:"\u8BA1\u7B97",kLinePeriodStatement:"* \u6700\u591A1000\u4E2A\u5468\u671F\u3002",tooManyRequest:"\u8BF7\u6C42\u6B21\u6570\u592A\u591A",tips:"\u63D0\u793A",buy:"\u4E70\u5165",sell:"\u5356\u51FA",long:"\u505A\u591A",short:"\u505A\u7A7A",range:"\u8303\u56F4\uFF1A",time:"\u65F6\u95F4\u70B9\uFF1A",contractsLabel:"\u5408\u7EA6\uFF1A",mode:"\u6A21\u5F0F\uFF1A",natural:"\u81EA\u7136\u65F6",settlement:"\u4EA4\u5272\u65F6",naturalModeTips:"<p>\u81EA\u7136\u65F6\u5BF9\u6BD4\u6A21\u5F0F\uFF0C\u663E\u793A\u7684\u662F\u5F53\u524D\u65F6\u95F4\u4E0E\u8FC7\u53BB\u6307\u5B9A\u81EA\u7136\u65F6\u95F4\uFF081 \u5929 /2 \u5929 /1 \u5468\u7B49\uFF09\u4E4B\u524D\u6570\u503C\u7684\u53D8\u5316\uFF0C\u5982 Chg-1D \u663E\u793A\u5F53\u524D\u65F6\u95F4\u6570\u503C\u4E0E 24 \u5C0F\u65F6\u524D\u6570\u503C\u7684\u53D8\u5316\u3002</p>",settlementModeTips:"<p>\u4EA4\u5272\u65F6\u5BF9\u6BD4\u6A21\u5F0F\uFF0C\u663E\u793A\u7684\u662F\u5F53\u524D\u65F6\u95F4\u4E0E\u6700\u8FD1\u4EA4\u5272\u65F6\u95F4\u70B9\u7684\u6570\u503C\u53D8\u5316\uFF0C\u5982 Chg-1D \u663E\u793A\u5F53\u524D\u65F6\u95F4\u6570\u503C\u4E0E\u4E0A\u4E00\u4E2A\u4EA4\u5272\u65F6\u95F4\u70B9\u7684\u6570\u503C\u7684\u53D8\u5316\u3002\u9002\u7528\u4E8E\u5206\u6790\u4EA4\u5272\u5468\u671F\u5185\u7684\u6570\u503C\u53D8\u5316\u3002</p>",deltaTotal:"Delta \u603B\u503C",optionsDelta:"\u671F\u6743 Delta"}};function yee(e){return(t,r)=>_ee(t,r,z(e))}function _ee(e,t,r){return C3(r,e,e).replace(/\{(\w+)\}/g,(n,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`})}function xee(e){const t=ne(()=>z(e).name),r=ht(e)?e:gr(e);return{lang:t,locale:r,t:yee(e)}}function dr(){const e=Y0("locale");return xee(ne(()=>e.value||mee))}const bee="greeks",See="is-",r1=(e,t,r,n,a)=>{let i=`${e}-${t}`;return r&&(i+=`-${r}`),n&&(i+=`__${n}`),a&&(i+=`--${a}`),i},Ze=e=>{const t=Y0("namespace",bee);return{namespace:t,b:(d="")=>r1(t.value,e,d,"",""),e:d=>d?r1(t.value,e,"",d,""):"",m:d=>d?r1(t.value,e,"","",d):"",be:(d,p)=>d&&p?r1(t.value,e,d,p,""):"",em:(d,p)=>d&&p?r1(t.value,e,"",d,p):"",bm:(d,p)=>d&&p?r1(t.value,e,d,"",p):"",bem:(d,p,g)=>d&&p&&g?r1(t.value,e,d,p,g):"",is:(d,...p)=>{const g=p.length>=1?p[0]:!0;return d&&g?`${See}${d}`:""},cssVar:d=>{const p={};for(const g in d)d[g]&&(p[`--${t.value}-${g}`]=d[g]);return p},cssVarName:d=>`--${t.value}-${d}`,cssVarBlock:d=>{const p={};for(const g in d)d[g]&&(p[`--${t.value}-${e}-${g}`]=d[g]);return p},cssVarBlockName:d=>`--${t.value}-${e}-${d}`}};Qe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200}}),gr(0),Qe({});var wb=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Aee={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(wb,function(){return function(){var r={686:function(i,o,s){s.d(o,{default:function(){return W}});var l=s(279),u=s.n(l),c=s(370),h=s.n(c),f=s(817),v=s.n(f);function d(H){try{return document.execCommand(H)}catch(G){return!1}}var p=function(G){var U=v()(G);return d("cut"),U},g=p;function m(H){var G=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[G?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(Y,"px"),U.setAttribute("readonly",""),U.value=H,U}var y=function(G,U){var Y=m(G);U.container.appendChild(Y);var J=v()(Y);return d("copy"),Y.remove(),J},_=function(G){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof G=="string"?Y=y(G,U):G instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(G==null?void 0:G.type)?Y=y(G.value,U):(Y=v()(G),d("copy")),Y},x=_;function S(H){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(U){return typeof U}:S=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},S(H)}var b=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=G.action,Y=U===void 0?"copy":U,J=G.container,K=G.target,Z=G.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(K!==void 0)if(K&&S(K)==="object"&&K.nodeType===1){if(Y==="copy"&&K.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(K.hasAttribute("readonly")||K.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Z)return x(Z,{container:J});if(K)return Y==="cut"?g(K):x(K,{container:J})},w=b;function A(H){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(U){return typeof U}:A=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},A(H)}function C(H,G){if(!(H instanceof G))throw new TypeError("Cannot call a class as a function")}function M(H,G){for(var U=0;U<G.length;U++){var Y=G[U];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(H,Y.key,Y)}}function T(H,G,U){return G&&M(H.prototype,G),U&&M(H,U),H}function D(H,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(G&&G.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),G&&L(H,G)}function L(H,G){return L=Object.setPrototypeOf||function(Y,J){return Y.__proto__=J,Y},L(H,G)}function E(H){var G=F();return function(){var Y=I(H),J;if(G){var K=I(this).constructor;J=Reflect.construct(Y,arguments,K)}else J=Y.apply(this,arguments);return P(this,J)}}function P(H,G){return G&&(A(G)==="object"||typeof G=="function")?G:R(H)}function R(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}function I(H){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},I(H)}function N(H,G){var U="data-clipboard-".concat(H);if(!!G.hasAttribute(U))return G.getAttribute(U)}var B=function(H){D(U,H);var G=E(U);function U(Y,J){var K;return C(this,U),K=G.call(this),K.resolveOptions(J),K.listenClick(Y),K}return T(U,[{key:"resolveOptions",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof J.action=="function"?J.action:this.defaultAction,this.target=typeof J.target=="function"?J.target:this.defaultTarget,this.text=typeof J.text=="function"?J.text:this.defaultText,this.container=A(J.container)==="object"?J.container:document.body}},{key:"listenClick",value:function(J){var K=this;this.listener=h()(J,"click",function(Z){return K.onClick(Z)})}},{key:"onClick",value:function(J){var K=J.delegateTarget||J.currentTarget,Z=this.action(K)||"copy",$=w({action:Z,container:this.container,target:this.target(K),text:this.text(K)});this.emit($?"success":"error",{action:Z,text:$,trigger:K,clearSelection:function(){K&&K.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(J){return N("action",J)}},{key:"defaultTarget",value:function(J){var K=N("target",J);if(K)return document.querySelector(K)}},{key:"defaultText",value:function(J){return N("text",J)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(J){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(J,K)}},{key:"cut",value:function(J){return g(J)}},{key:"isSupported",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],K=typeof J=="string"?[J]:J,Z=!!document.queryCommandSupported;return K.forEach(function($){Z=Z&&!!document.queryCommandSupported($)}),Z}}]),U}(u()),W=B},828:function(i){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(u,c){for(;u&&u.nodeType!==o;){if(typeof u.matches=="function"&&u.matches(c))return u;u=u.parentNode}}i.exports=l},438:function(i,o,s){var l=s(828);function u(f,v,d,p,g){var m=h.apply(this,arguments);return f.addEventListener(d,m,g),{destroy:function(){f.removeEventListener(d,m,g)}}}function c(f,v,d,p,g){return typeof f.addEventListener=="function"?u.apply(null,arguments):typeof d=="function"?u.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(m){return u(m,v,d,p,g)}))}function h(f,v,d,p){return function(g){g.delegateTarget=l(g.target,v),g.delegateTarget&&p.call(f,g)}}i.exports=c},879:function(i,o){o.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},o.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||o.node(s[0]))},o.string=function(s){return typeof s=="string"||s instanceof String},o.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,o,s){var l=s(879),u=s(438);function c(d,p,g){if(!d&&!p&&!g)throw new Error("Missing required arguments");if(!l.string(p))throw new TypeError("Second argument must be a String");if(!l.fn(g))throw new TypeError("Third argument must be a Function");if(l.node(d))return h(d,p,g);if(l.nodeList(d))return f(d,p,g);if(l.string(d))return v(d,p,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function h(d,p,g){return d.addEventListener(p,g),{destroy:function(){d.removeEventListener(p,g)}}}function f(d,p,g){return Array.prototype.forEach.call(d,function(m){m.addEventListener(p,g)}),{destroy:function(){Array.prototype.forEach.call(d,function(m){m.removeEventListener(p,g)})}}}function v(d,p,g){return u(document.body,d,p,g)}i.exports=c},817:function(i){function o(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var c=window.getSelection(),h=document.createRange();h.selectNodeContents(s),c.removeAllRanges(),c.addRange(h),l=c.toString()}return l}i.exports=o},279:function(i){function o(){}o.prototype={on:function(s,l,u){var c=this.e||(this.e={});return(c[s]||(c[s]=[])).push({fn:l,ctx:u}),this},once:function(s,l,u){var c=this;function h(){c.off(s,h),l.apply(u,arguments)}return h._=l,this.on(s,h,u)},emit:function(s){var l=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),c=0,h=u.length;for(c;c<h;c++)u[c].fn.apply(u[c].ctx,l);return this},off:function(s,l){var u=this.e||(this.e={}),c=u[s],h=[];if(c&&l)for(var f=0,v=c.length;f<v;f++)c[f].fn!==l&&c[f].fn._!==l&&h.push(c[f]);return h.length?u[s]=h:delete u[s],this}},i.exports=o,i.exports.TinyEmitter=o}},n={};function a(i){if(n[i])return n[i].exports;var o=n[i]={exports:{}};return r[i](o,o.exports,a),o.exports}return function(){a.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(o,{a:o}),o}}(),function(){a.d=function(i,o){for(var s in o)a.o(o,s)&&!a.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})}}(),function(){a.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)}}(),a(686)}().default})})(Aee);/*!
|
|
58
58
|
* clipboard.js v2.0.11
|
|
59
59
|
* https://clipboardjs.com/
|
|
60
60
|
*
|