"use strict";function _typeof(I){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(I){return typeof I}:function(I){return I&&"function"==typeof Symbol&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},_typeof(I)}function ownKeys(I,M){var i=Object.keys(I);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(I);M&&(t=t.filter(function(M){return Object.getOwnPropertyDescriptor(I,M).enumerable})),i.push.apply(i,t)}return i}function _objectSpread(I){for(var M=1;M<arguments.length;M++){var i=null!=arguments[M]?arguments[M]:{};M%2?ownKeys(Object(i),!0).forEach(function(M){_defineProperty(I,M,i[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(M){Object.defineProperty(I,M,Object.getOwnPropertyDescriptor(i,M))})}return I}function _defineProperty(I,M,i){return(M=_toPropertyKey(M))in I?Object.defineProperty(I,M,{value:i,enumerable:!0,configurable:!0,writable:!0}):I[M]=i,I}function _toPropertyKey(I){var M=_toPrimitive(I,"string");return"symbol"===_typeof(M)?M:String(M)}function _toPrimitive(I,M){if("object"!==_typeof(I)||null===I)return I;var i=I[Symbol.toPrimitive];if(void 0!==i){var t=i.call(I,M||"default");if("object"!==_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===M?String:Number)(I)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.withNotificationIconState=exports.BASE_NOTIFICATION_ICON=void 0;var NOTIFICATION_ICON_ON_SRC="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aAogICAgZD0iTTE0Ljg3NDEgMy43MzIxNkMxNS4zODUzIDMuMjk0MzcgMTYuMDU5NiAzIDE2Ljc3MzIgM0MxOS4yMTMgMy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NS43NjE0IDI1Ljc2MTQgMjggMjMgMjhDMjAuMjM4NiAyOCAxOCAyNS43NjE0IDE4IDIzQzE4IDIwLjIzODYgMjAuMjM4NiAxOCAyMyAxOFoiCiAgICBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC45IiBzdHJva2Utd2lkdGg9IjIiIC8+CiAgPHBhdGggZD0iTTIwIDIwTDI2IDI2IiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC45IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgLz4KPC9zdmc+",BASE_NOTIFICATION_ICON={key:"NOTIFICATION_SWITCH",visible:!1,title:"互动特效",style:"width: 70%; height: 70%",onSrc:NOTIFICATION_ICON_ON_SRC,offSrc:NOTIFICATION_ICON_OFF_SRC,iconUrl:NOTIFICATION_ICON_ON_SRC};exports.BASE_NOTIFICATION_ICON=BASE_NOTIFICATION_ICON;var withNotificationIconState=function(I){var M=I.iconList,i=I.isShow,t=I.isOpen;return(Array.isArray(M)?M:[]).map(function(I){return(null==I?void 0:I.key)!==BASE_NOTIFICATION_ICON.key?I:_objectSpread(_objectSpread({},I),{},{visible:Boolean(i),iconUrl:t?I.onSrc||BASE_NOTIFICATION_ICON.onSrc:I.offSrc||BASE_NOTIFICATION_ICON.offSrc})})};exports.withNotificationIconState=withNotificationIconState;