System.register(["./index-legacy.d078c348.js"],(function(e,t){"use strict";var n,i,r,u,c,o,d,s;return{setters:[function(e){n=e.i,i=e.ah,r=e.ai,u=e.h,c=e.a5,o=e.M,d=e.aj,s=e.ak}],execute:function(){e({c:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sourceId,s=e.title,h=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n())return i();r({sourceId:t,title:s,usercId:u()}).then((function(e){c(e)?(h(!0),a&&o("收藏成功")):(d(e),h(!1))}))},u:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sourceId,r=arguments.length>1?arguments[1]:void 0,h=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n())return i();s({sourceId:t,usercId:u()}).then((function(e){c(e)?(r(!0),h&&o("取消成功")):(d(e),r(!1))}))}})}}}));
