(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[30],{

/***/ "../../node_modules/office-ui-fabric-react/lib/Image.js":
/*!**********************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/Image.js ***!
  \**********************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
tslib_1.__exportStar(__webpack_require__(/*! ./components/Image/index */ "../../node_modules/office-ui-fabric-react/lib/components/Image/index.js"), exports);
//# sourceMappingURL=Image.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/MessageBar.js":
/*!***************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/MessageBar.js ***!
  \***************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
tslib_1.__exportStar(__webpack_require__(/*! ./components/MessageBar/index */ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/index.js"), exports);
//# sourceMappingURL=MessageBar.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/components/Image/index.js":
/*!***************************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/components/Image/index.js ***!
  \***************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
tslib_1.__exportStar(__webpack_require__(/*! ./Image */ "../../node_modules/office-ui-fabric-react/lib/components/Image/Image.js"), exports);
tslib_1.__exportStar(__webpack_require__(/*! ./Image.base */ "../../node_modules/office-ui-fabric-react/lib/components/Image/Image.base.js"), exports);
tslib_1.__exportStar(__webpack_require__(/*! ./Image.types */ "../../node_modules/office-ui-fabric-react/lib/components/Image/Image.types.js"), exports);
//# sourceMappingURL=index.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js":
/*!*************************************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js ***!
  \*************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var Utilities_1 = __webpack_require__(/*! ../../Utilities */ "../../node_modules/office-ui-fabric-react/lib/Utilities.js");
var Button_1 = __webpack_require__(/*! ../../Button */ "../../node_modules/office-ui-fabric-react/lib/Button.js");
var Icon_1 = __webpack_require__(/*! ../../Icon */ "../../node_modules/office-ui-fabric-react/lib/Icon.js");
var MessageBar_types_1 = __webpack_require__(/*! ./MessageBar.types */ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.types.js");
var stylesImport = __webpack_require__(/*! ./MessageBar.scss */ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js");
var styles = stylesImport;
var MessageBar = /** @class */ (function (_super) {
    tslib_1.__extends(MessageBar, _super);
    function MessageBar(props) {
        var _this = _super.call(this, props) || this;
        _this.ICON_MAP = (_a = {},
            _a[MessageBar_types_1.MessageBarType.info] = 'Info',
            _a[MessageBar_types_1.MessageBarType.warning] = 'Info',
            _a[MessageBar_types_1.MessageBarType.error] = 'ErrorBadge',
            _a[MessageBar_types_1.MessageBarType.blocked] = 'Blocked2',
            _a[MessageBar_types_1.MessageBarType.remove] = 'Blocked',
            _a[MessageBar_types_1.MessageBarType.severeWarning] = 'Warning',
            _a[MessageBar_types_1.MessageBarType.success] = 'Completed',
            _a);
        _this._onClick = function (ev) {
            _this.setState({ expandSingleLine: !_this.state.expandSingleLine });
        };
        _this.state = {
            labelId: Utilities_1.getId('MessageBar'),
            showContent: false,
            expandSingleLine: false,
        };
        return _this;
        var _a;
    }
    MessageBar.prototype.render = function () {
        var isMultiline = this.props.isMultiline;
        return isMultiline ? this._renderMultiLine() : this._renderSingleLine();
    };
    MessageBar.prototype._getActionsDiv = function () {
        if (this.props.actions) {
            return (React.createElement("div", { className: this.props.isMultiline ?
                    ('ms-MessageBar-actions ' + styles.actions) :
                    ('ms-MessageBar-actionsSingleLine ' + styles.actionsSingleLine) }, this.props.actions));
        }
        return null;
    };
    MessageBar.prototype._getClassName = function () {
        return Utilities_1.css(this.props.className, 'ms-MessageBar', styles.root, (_a = {},
            _a['ms-MessageBar ' + styles.root] = this.props.messageBarType === MessageBar_types_1.MessageBarType.info,
            _a['ms-MessageBar--error ' + styles.rootIsError] = this.props.messageBarType === MessageBar_types_1.MessageBarType.error,
            _a['ms-MessageBar--blocked ' + styles.rootIsBlocked] = (this.props.messageBarType === MessageBar_types_1.MessageBarType.blocked) ||
                (this.props.messageBarType === MessageBar_types_1.MessageBarType.remove),
            _a['ms-MessageBar--severeWarning ' + styles.rootIsSevereWarning] = this.props.messageBarType === MessageBar_types_1.MessageBarType.severeWarning,
            _a['ms-MessageBar--success ' + styles.rootIsSuccess] = this.props.messageBarType === MessageBar_types_1.MessageBarType.success,
            _a['ms-MessageBar--warning ' + styles.rootIsWarning] = this.props.messageBarType === MessageBar_types_1.MessageBarType.warning,
            _a));
        var _a;
    };
    MessageBar.prototype._getDismissDiv = function () {
        if (this.props.onDismiss) {
            return (React.createElement(Button_1.IconButton, { disabled: false, className: Utilities_1.css('ms-MessageBar-dismissal', styles.dismissal), onClick: this.props.onDismiss, iconProps: { iconName: 'Clear' }, ariaLabel: this.props.dismissButtonAriaLabel }));
        }
        return null;
    };
    MessageBar.prototype._getDismissSingleLine = function () {
        if (this.props.onDismiss) {
            return (React.createElement("div", { className: Utilities_1.css('ms-MessageBar-dismissSingleLine', styles.dismissSingleLine) }, this._getDismissDiv()));
        }
        return null;
    };
    MessageBar.prototype._getExpandSingleLine = function () {
        if (!this.props.actions && this.props.truncated) {
            return (React.createElement("div", { className: Utilities_1.css('ms-MessageBar-expandSingleLine', styles.expandSingleLine) },
                React.createElement(Button_1.IconButton, { disabled: false, className: Utilities_1.css('ms-MessageBar-expand', styles.expand), onClick: this._onClick, iconProps: { iconName: this.state.expandSingleLine ? 'DoubleChevronUp' : 'DoubleChevronDown' }, ariaLabel: this.props.overflowButtonAriaLabel })));
        }
        return null;
    };
    MessageBar.prototype._getIconSpan = function () {
        return (React.createElement("div", { className: Utilities_1.css('ms-MessageBar-icon', styles.icon) },
            React.createElement(Icon_1.Icon, { iconName: this.ICON_MAP[this.props.messageBarType] })));
    };
    MessageBar.prototype._renderMultiLine = function () {
        return (React.createElement("div", { className: Utilities_1.css(this._getClassName(), 'ms-MessageBar-multiline', styles.multiLine, this.props.onDismiss && styles.dismissalMultiLine), role: 'status', "aria-live": this._getAnnouncementPriority() },
            React.createElement("div", { className: Utilities_1.css(styles.content, 'ms-MessageBar-content') },
                this._getIconSpan(),
                this._renderInnerText(),
                this._getDismissDiv()),
            this._getActionsDiv()));
    };
    MessageBar.prototype._renderSingleLine = function () {
        return (React.createElement("div", { className: Utilities_1.css(this._getClassName(), 'ms-MessageBar-singleline', styles.singleLine, this.props.onDismiss && 'ms-MessageBar-dismissalSingleLine', this.props.truncated && 'ms-MessageBar-expandingSingleLine', this.props.truncated && styles.expandingSingleLine) },
            React.createElement("div", { className: Utilities_1.css(styles.content, 'ms-MessageBar-content') },
                this._getIconSpan(),
                this._renderInnerText(),
                this._getExpandSingleLine(),
                this._getActionsDiv(),
                this._getDismissSingleLine())));
    };
    MessageBar.prototype._renderInnerText = function () {
        return (React.createElement("div", { className: Utilities_1.css('ms-MessageBar-text', styles.text, this.props.actions && styles.multiLineWithActions, !this.props.onDismiss && styles.noDismissButton, this.state.expandSingleLine && styles.expandSingleLine), id: this.state.labelId },
            React.createElement("span", { className: Utilities_1.css('ms-MessageBar-innerText ' + styles.innerText), role: 'status', "aria-live": this._getAnnouncementPriority() },
                React.createElement(Utilities_1.DelayedRender, null,
                    React.createElement("span", null, this.props.children)))));
    };
    MessageBar.prototype._getAnnouncementPriority = function () {
        switch (this.props.messageBarType) {
            case MessageBar_types_1.MessageBarType.blocked:
            case MessageBar_types_1.MessageBarType.error:
            case MessageBar_types_1.MessageBarType.severeWarning:
                return 'assertive';
        }
        return 'polite';
    };
    MessageBar.defaultProps = {
        messageBarType: MessageBar_types_1.MessageBarType.info,
        onDismiss: undefined,
        isMultiline: true,
    };
    return MessageBar;
}(Utilities_1.BaseComponent));
exports.MessageBar = MessageBar;
//# sourceMappingURL=MessageBar.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js":
/*!******************************************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.scss.js ***!
  \******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
var load_themed_styles_1 = __webpack_require__(/*! @microsoft/load-themed-styles */ "../../node_modules/@microsoft/load-themed-styles/lib/index.js");
load_themed_styles_1.loadStyles([{ "rawString": ".root_d18144f0{background-color:" }, { "theme": "infoBackground", "defaultValue": "#f4f4f4" }, { "rawString": ";min-height:32px;color:" }, { "theme": "infoText", "defaultValue": "#333333" }, { "rawString": ";width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;word-break:break-word}.root_d18144f0 .ms-Link{font-size:12px;color:" }, { "theme": "themeDark", "defaultValue": "#005a9e" }, { "rawString": "}.icon_d18144f0,.text_d18144f0{display:table-cell;vertical-align:top}.icon_d18144f0{font-size:16px;min-width:16px;min-height:16px;display:-webkit-box;display:-ms-flexbox;display:flex;color:" }, { "theme": "info", "defaultValue": "#666666" }, { "rawString": ";-ms-flex-negative:0;flex-shrink:0;margin:16px 0 16px 16px}html[dir='rtl'] .icon_d18144f0{margin:16px 16px 16px 0}@media screen and (max-width: 479px){.icon_d18144f0{margin:8px 0 8px 8px}html[dir='rtl'] .icon_d18144f0{margin:8px 8px 8px 0}}.text_d18144f0{font-size:12px;font-weight:400;min-width:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:16px 8px 16px 8px}html[dir='rtl'] .text_d18144f0{margin:16px 8px 16px 8px}@media screen and (max-width: 479px){.text_d18144f0{margin:8px 0 8px 8px}html[dir='rtl'] .text_d18144f0{margin:8px 8px 8px 0}html[dir='ltr'] .text_d18144f0.noDismissButton_d18144f0{margin-right:8px}html[dir='rtl'] .text_d18144f0.noDismissButton_d18144f0{margin-left:8px}}html[dir='ltr'] .text_d18144f0.noDismissButton_d18144f0{margin-right:16px}html[dir='rtl'] .text_d18144f0.noDismissButton_d18144f0{margin-left:16px}.innerText_d18144f0{line-height:16px}html[dir='ltr'] .innerText_d18144f0 span a{padding-left:4px}html[dir='rtl'] .innerText_d18144f0 span a{padding-right:4px}.root_d18144f0.rootIsWarning_d18144f0{background-color:" }, { "theme": "warningBackground", "defaultValue": "#fff4ce" }, { "rawString": ";color:" }, { "theme": "warningText", "defaultValue": "#333333" }, { "rawString": "}.root_d18144f0.rootIsSevereWarning_d18144f0{background-color:" }, { "theme": "severeWarningBackground", "defaultValue": "#fed9cc" }, { "rawString": ";color:" }, { "theme": "severeWarningText", "defaultValue": "#333333" }, { "rawString": "}.root_d18144f0.rootIsSevereWarning_d18144f0 .icon_d18144f0{color:" }, { "theme": "severeWarning", "defaultValue": "#a80000" }, { "rawString": "}.root_d18144f0.rootIsError_d18144f0{background-color:" }, { "theme": "errorBackground", "defaultValue": "#fde7e9" }, { "rawString": ";color:" }, { "theme": "errorText", "defaultValue": "#333333" }, { "rawString": "}.root_d18144f0.rootIsError_d18144f0 .icon_d18144f0{color:" }, { "theme": "error", "defaultValue": "#a80000" }, { "rawString": "}.root_d18144f0.rootIsBlocked_d18144f0{background-color:" }, { "theme": "errorBackground", "defaultValue": "#fde7e9" }, { "rawString": ";color:" }, { "theme": "errorText", "defaultValue": "#333333" }, { "rawString": "}.root_d18144f0.rootIsBlocked_d18144f0 .icon_d18144f0{color:" }, { "theme": "error", "defaultValue": "#a80000" }, { "rawString": "}.root_d18144f0.rootIsSuccess_d18144f0{background-color:" }, { "theme": "successBackground", "defaultValue": "#dff6dd" }, { "rawString": ";color:" }, { "theme": "successText", "defaultValue": "#333333" }, { "rawString": "}.root_d18144f0.rootIsSuccess_d18144f0 .icon_d18144f0{color:" }, { "theme": "green", "defaultValue": "#107c10" }, { "rawString": "}.content_d18144f0{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:normal;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.content_d18144f0:before{pointer-events:none;position:absolute;right:0;bottom:0;left:0;top:0;margin:0}@media screen and (-ms-high-contrast: active){.content_d18144f0:before{border:1px solid WindowText;content:' '}}.actions_d18144f0{margin:0 12px 12px 0}html[dir='rtl'] .actions_d18144f0{margin:0 0 12px 12px}html[dir='ltr'] .actions_d18144f0 :nth-child(n+2){margin-left:12px}html[dir='rtl'] .actions_d18144f0 :nth-child(n+2){margin-right:12px}.actionsSingleLine_d18144f0{margin:8px 8px 8px 0}html[dir='rtl'] .actionsSingleLine_d18144f0{margin:8px 0 8px 8px}html[dir='ltr'] .actionsSingleLine_d18144f0 :nth-child(n+2){margin-left:8px}html[dir='rtl'] .actionsSingleLine_d18144f0 :nth-child(n+2){margin-right:8px}.actions_d18144f0,.actionsSingleLine_d18144f0{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media screen and (max-width: 479px){.actions_d18144f0,.actionsSingleLine_d18144f0{margin:0 8px 8px 0}html[dir='rtl'] .actions_d18144f0,html[dir='rtl'] .actionsSingleLine_d18144f0{margin:0 0 8px 8px}html[dir='ltr'] .actions_d18144f0 :nth-child(n+2),html[dir='ltr'] .actionsSingleLine_d18144f0 :nth-child(n+2){margin-left:8px}html[dir='rtl'] .actions_d18144f0 :nth-child(n+2),html[dir='rtl'] .actionsSingleLine_d18144f0 :nth-child(n+2){margin-right:8px}.actions_d18144f0 .ms-Button,.actionsSingleLine_d18144f0 .ms-Button{margin-top:8px}}.dismissal_d18144f0,.expand_d18144f0{-ms-flex-negative:0;flex-shrink:0;margin:8px 8px 8px 0}.dismissal_d18144f0::-moz-focus-inner,.expand_d18144f0::-moz-focus-inner{border:0}.dismissal_d18144f0,.expand_d18144f0{outline:transparent}.dismissal_d18144f0,.expand_d18144f0{position:relative}.ms-Fabric--isFocusVisible .dismissal_d18144f0:focus:after,.ms-Fabric--isFocusVisible .expand_d18144f0:focus:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid " }, { "theme": "focusBorder", "defaultValue": "#000000" }, { "rawString": "}html[dir='rtl'] .dismissal_d18144f0,html[dir='rtl'] .expand_d18144f0{margin:8px 0 8px 8px}@media screen and (max-width: 479px){.dismissal_d18144f0,.expand_d18144f0{margin:0 0 0 8px}html[dir='rtl'] .dismissal_d18144f0,html[dir='rtl'] .expand_d18144f0{margin:0 8px 0 0}}@media screen and (-ms-high-contrast: active){.dismissal_d18144f0,.expand_d18144f0{-ms-high-contrast-adjust:none}}.dismissSingleLine_d18144f0,.expandSingleLine_d18144f0{display:-webkit-box;display:-ms-flexbox;display:flex}.dismissal_d18144f0 .ms-Button-icon,.dismissSingleLine_d18144f0 .ms-Button-icon,.expandSingleLine_d18144f0 .ms-Button-icon{font-size:12px;height:12px;line-height:12px;color:" }, { "theme": "neutralSecondary", "defaultValue": "#666666" }, { "rawString": "}.multiLine_d18144f0{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.multiLine_d18144f0 .content_d18144f0{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.multiLine_d18144f0 .innerText_d18144f0{overflow:visible;white-space:pre-wrap}.multiLine_d18144f0 .text_d18144f0.multiLineWithActions_d18144f0{margin-bottom:8px}@media screen and (max-width: 479px){.multiLine_d18144f0 .text_d18144f0.multiLineWithActions_d18144f0{margin-bottom:0}}.singleLine_d18144f0 .innerText_d18144f0{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.singleLine_d18144f0 .expandSingleLine_d18144f0{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.singleLine_d18144f0 .expandSingleLine_d18144f0 .content_d18144f0{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.singleLine_d18144f0 .expandSingleLine_d18144f0 .innerText_d18144f0{overflow:visible;white-space:pre-wrap}@media screen and (max-width: 479px){.singleLine_d18144f0:not(.expandingSingleLine_d18144f0){-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.singleLine_d18144f0:not(.expandingSingleLine_d18144f0) .content_d18144f0{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.singleLine_d18144f0:not(.expandingSingleLine_d18144f0) .innerText_d18144f0{overflow:visible;white-space:pre-wrap}}@media screen and (max-width: 479px) and (max-width: 479px){.singleLine_d18144f0:not(.expandingSingleLine_d18144f0) .text_d18144f0.multiLineWithActions_d18144f0{margin-bottom:0}}\n" }]);
exports.root = "root_d18144f0";
exports.icon = "icon_d18144f0";
exports.text = "text_d18144f0";
exports.noDismissButton = "noDismissButton_d18144f0";
exports.innerText = "innerText_d18144f0";
exports.rootIsWarning = "rootIsWarning_d18144f0";
exports.rootIsSevereWarning = "rootIsSevereWarning_d18144f0";
exports.rootIsError = "rootIsError_d18144f0";
exports.rootIsBlocked = "rootIsBlocked_d18144f0";
exports.rootIsSuccess = "rootIsSuccess_d18144f0";
exports.content = "content_d18144f0";
exports.actions = "actions_d18144f0";
exports.actionsSingleLine = "actionsSingleLine_d18144f0";
exports.dismissal = "dismissal_d18144f0";
exports.expand = "expand_d18144f0";
exports.dismissSingleLine = "dismissSingleLine_d18144f0";
exports.expandSingleLine = "expandSingleLine_d18144f0";
exports.multiLine = "multiLine_d18144f0";
exports.multiLineWithActions = "multiLineWithActions_d18144f0";
exports.singleLine = "singleLine_d18144f0";
exports.expandingSingleLine = "expandingSingleLine_d18144f0";
//# sourceMappingURL=MessageBar.scss.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.types.js":
/*!*******************************************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.types.js ***!
  \*******************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var MessageBarType;
(function (MessageBarType) {
    /** Info styled MessageBar */
    MessageBarType[MessageBarType["info"] = 0] = "info";
    /** Error styled MessageBar */
    MessageBarType[MessageBarType["error"] = 1] = "error";
    /** Blocked styled MessageBar */
    MessageBarType[MessageBarType["blocked"] = 2] = "blocked";
    /** SevereWarning styled MessageBar */
    MessageBarType[MessageBarType["severeWarning"] = 3] = "severeWarning";
    /** Success styled MessageBar */
    MessageBarType[MessageBarType["success"] = 4] = "success";
    /** Warning styled MessageBar */
    MessageBarType[MessageBarType["warning"] = 5] = "warning";
    /**
     * Deprecated at v0.48.0, to be removed at >= v1.0.0. Use 'blocked' instead.
     * @deprecated
     */
    MessageBarType[MessageBarType["remove"] = 90000] = "remove";
})(MessageBarType = exports.MessageBarType || (exports.MessageBarType = {}));
//# sourceMappingURL=MessageBar.types.js.map

/***/ }),

/***/ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/index.js":
/*!********************************************************************************************************!*\
  !*** C:/workspace/gitfish/twii/node_modules/office-ui-fabric-react/lib/components/MessageBar/index.js ***!
  \********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
tslib_1.__exportStar(__webpack_require__(/*! ./MessageBar */ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.js"), exports);
tslib_1.__exportStar(__webpack_require__(/*! ./MessageBar.types */ "../../node_modules/office-ui-fabric-react/lib/components/MessageBar/MessageBar.types.js"), exports);
//# sourceMappingURL=index.js.map

/***/ }),

/***/ "../ozone/lib/listing/ListingActions.js":
/*!**********************************************!*\
  !*** ../ozone/lib/listing/ListingActions.js ***!
  \**********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var launch = function (host, listing) {
    host.load({ path: "/ozone/listings/" + listing.id + "/launch", params: { id: listing.id, title: listing.title }, replace: true });
    return Promise.resolve();
};
exports.launch = launch;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingBookmarks.js":
/*!**********************************************************!*\
  !*** ../ozone/lib/listing/component/ListingBookmarks.js ***!
  \**********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var mobx_react_1 = __webpack_require__(/*! mobx-react */ "../../node_modules/mobx-react/index.module.js");
var Sync_1 = __webpack_require__(/*! @twii/core-ui-fabric/lib/component/Sync */ "../core-ui-fabric/lib/component/Sync.js");
var ListingList_1 = __webpack_require__(/*! ./ListingList */ "../ozone/lib/listing/component/ListingList.js");
var MessageBar_1 = __webpack_require__(/*! office-ui-fabric-react/lib/MessageBar */ "../../node_modules/office-ui-fabric-react/lib/MessageBar.js");
var ListingBookmarks = /** @class */ (function (_super) {
    __extends(ListingBookmarks, _super);
    function ListingBookmarks() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ListingBookmarks.prototype.render = function () {
        if (this.props.bookmarkList.value && this.props.bookmarkList.value.length > 0) {
            var listings = this.props.bookmarkList.value.map(function (bookmark) { return bookmark.listing; });
            return React.createElement(ListingList_1.ListingList, { listings: listings, onSelectItem: this.props.onSelectListing, compact: true, wrapping: true });
        }
        return this.props.onRenderNoBookmarks ? this.props.onRenderNoBookmarks() :
            (React.createElement(MessageBar_1.MessageBar, { messageBarType: MessageBar_1.MessageBarType.warning }, "You haven't bookmarked anything."));
    };
    ListingBookmarks = __decorate([
        mobx_react_1.observer
    ], ListingBookmarks);
    return ListingBookmarks;
}(React.Component));
exports.ListingBookmarks = ListingBookmarks;
var ListingBookmarksContainer = /** @class */ (function (_super) {
    __extends(ListingBookmarksContainer, _super);
    function ListingBookmarksContainer() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onRenderDone = function () {
            return React.createElement(ListingBookmarks, __assign({}, _this.props));
        };
        return _this;
    }
    ListingBookmarksContainer.prototype.componentWillMount = function () {
        this.props.bookmarkList.load();
    };
    ListingBookmarksContainer.prototype.render = function () {
        return React.createElement(Sync_1.Sync, { sync: this.props.bookmarkList.sync, onRenderDone: this._onRenderDone });
    };
    return ListingBookmarksContainer;
}(React.Component));
exports.ListingBookmarksContainer = ListingBookmarksContainer;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingBookmarksApp.js":
/*!*************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingBookmarksApp.js ***!
  \*************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var ListingBookmarks_1 = __webpack_require__(/*! ./ListingBookmarks */ "../ozone/lib/listing/component/ListingBookmarks.js");
var ListingBookmarkListStore_1 = __webpack_require__(/*! ../model/ListingBookmarkListStore */ "../ozone/lib/listing/model/ListingBookmarkListStore.js");
var ListingActions_1 = __webpack_require__(/*! ../ListingActions */ "../ozone/lib/listing/ListingActions.js");
var MessageBar_1 = __webpack_require__(/*! office-ui-fabric-react/lib/MessageBar */ "../../node_modules/office-ui-fabric-react/lib/MessageBar.js");
var AppLink_1 = __webpack_require__(/*! @twii/core-ui/lib/component/AppLink */ "../core-ui/lib/component/AppLink.js");
var HostAppView_1 = __webpack_require__(/*! @twii/core-ui-fabric/lib/component/HostAppView */ "../core-ui-fabric/lib/component/HostAppView.js");
var ListingMenuHelper_1 = __webpack_require__(/*! ./ListingMenuHelper */ "../ozone/lib/listing/component/ListingMenuHelper.js");
var ListingBookmarksApp = /** @class */ (function (_super) {
    __extends(ListingBookmarksApp, _super);
    function ListingBookmarksApp() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onSelectListing = function (listing) {
            ListingActions_1.launch(_this.host, listing);
        };
        _this._onRenderNoBookmarks = function () {
            return (React.createElement("div", { style: { padding: 8 } },
                React.createElement(MessageBar_1.MessageBar, { messageBarType: MessageBar_1.MessageBarType.info },
                    "You haven't bookmarked anything. ",
                    React.createElement(AppLink_1.AppLink, { host: _this.host, request: { path: "/ozone/store" } }, "Take a look in the Store"),
                    ".")));
        };
        return _this;
    }
    Object.defineProperty(ListingBookmarksApp.prototype, "host", {
        get: function () {
            return this.props.match.host;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(ListingBookmarksApp.prototype, "userProfile", {
        get: function () {
            return this.props.match.userProfile;
        },
        enumerable: true,
        configurable: true
    });
    ListingBookmarksApp.prototype.componentWillMount = function () {
        this.host.setTitle("Bookmarks");
    };
    ListingBookmarksApp.prototype.render = function () {
        var placeItems = ListingMenuHelper_1.createPlaceItems({ host: this.host, userProfile: this.userProfile });
        var checkedItem = placeItems.find(function (item) { return item.checked; });
        var placeMenu = {
            key: "place",
            name: checkedItem.name,
            iconProps: checkedItem.iconProps,
            subMenuProps: {
                items: placeItems
            }
        };
        var items = [
            placeMenu
        ];
        return (React.createElement(HostAppView_1.HostAppView, { host: this.host, commandBarProps: { items: items } },
            React.createElement(ListingBookmarks_1.ListingBookmarksContainer, { bookmarkList: ListingBookmarkListStore_1.ListingBookmarkListStore, onSelectListing: this._onSelectListing, onRenderNoBookmarks: this._onRenderNoBookmarks })));
    };
    return ListingBookmarksApp;
}(React.Component));
exports.ListingBookmarksApp = ListingBookmarksApp;
exports.default = ListingBookmarksApp;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingCard.classNames.js":
/*!****************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingCard.classNames.js ***!
  \****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getClassNames = utilities_1.memoizeFunction(function (styles, className, clickable) {
    return {
        root: styling_1.mergeStyles("listing-card", className, styles.root, clickable && styles.clickableRoot),
        details: styling_1.mergeStyles("listing-card-details", styles.details),
        title: styling_1.mergeStyles("listing-card-title", styles.title),
        shortDescription: styling_1.mergeStyles("listing-card-short-description", styles.shortDescription),
        previewContainer: styling_1.mergeStyles("listing-card-preview-container", styles.previewContainer)
    };
});
exports.getClassNames = getClassNames;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingCard.js":
/*!*****************************************************!*\
  !*** ../ozone/lib/listing/component/ListingCard.js ***!
  \*****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var ListingCard_styles_1 = __webpack_require__(/*! ./ListingCard.styles */ "../ozone/lib/listing/component/ListingCard.styles.js");
var ListingCard_classNames_1 = __webpack_require__(/*! ./ListingCard.classNames */ "../ozone/lib/listing/component/ListingCard.classNames.js");
var ListingPreview_1 = __webpack_require__(/*! ./ListingPreview */ "../ozone/lib/listing/component/ListingPreview.js");
var ListingCardStoreLink = /** @class */ (function (_super) {
    __extends(ListingCardStoreLink, _super);
    function ListingCardStoreLink() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ListingCardStoreLink.prototype.render = function () {
        if (this.props.isBookmark) {
        }
        return null;
    };
    return ListingCardStoreLink;
}(React.Component));
var ListingCard = /** @class */ (function (_super) {
    __extends(ListingCard, _super);
    function ListingCard() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onClick = function () {
            _this.props.onClick(_this.props.listing);
        };
        return _this;
    }
    ListingCard.prototype.render = function () {
        var styles = ListingCard_styles_1.getStyles(undefined, this.props.styles);
        var classNames = ListingCard_classNames_1.getClassNames(styles, this.props.className, this.props.onClick ? true : false);
        return (React.createElement("div", { className: classNames.root, role: this.props.onClick ? "button" : undefined, onClick: this.props.onClick ? this._onClick : undefined, title: this.props.listing.description_short },
            React.createElement("div", { className: classNames.previewContainer },
                React.createElement(ListingPreview_1.ListingPreview, { listing: this.props.listing })),
            React.createElement("div", { className: classNames.details },
                React.createElement("div", { className: classNames.title }, this.props.listing.title),
                React.createElement("div", { className: classNames.shortDescription }, this.props.listing.description_short),
                React.createElement(ListingCardStoreLink, __assign({}, this.props)))));
    };
    return ListingCard;
}(React.Component));
exports.ListingCard = ListingCard;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingCard.styles.js":
/*!************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingCard.styles.js ***!
  \************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getStyles = utilities_1.memoizeFunction(function (theme, customStyles) {
    if (!theme) {
        theme = styling_1.getTheme();
    }
    var DefaultStyles = {
        root: {
            position: "relative",
            width: 228,
            minWidth: 228,
            height: 185,
            margin: 16,
            backgroundColor: theme.palette.white,
            boxShadow: "0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)",
            border: "1px solid transparent",
            selectors: {
                "&:hover": {
                    border: "1px solid " + theme.palette.themeSecondary
                }
            }
        },
        clickableRoot: {
            cursor: "pointer"
        },
        previewContainer: {
            position: "absolute",
            display: "flex",
            justifyContent: "center",
            alignItems: "center",
            top: 0,
            left: 0,
            right: 0,
            height: 145
        },
        details: {
            position: "absolute",
            left: 0,
            bottom: 0,
            right: 0,
            height: 40,
            paddingLeft: 8,
            paddingRight: 8,
            paddingBottom: 8,
            color: theme.palette.neutralDark
        },
        title: {
            fontWeight: styling_1.FontWeights.semibold
        },
        shortDescription: {
            fontWeight: styling_1.FontWeights.light,
            textOverflow: "ellipsis",
            overflow: "hidden",
            whiteSpace: "nowrap"
        }
    };
    return styling_1.concatStyleSets(DefaultStyles, customStyles);
});
exports.getStyles = getStyles;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingList.classNames.js":
/*!****************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingList.classNames.js ***!
  \****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getClassNames = utilities_1.memoizeFunction(function (styles, className, compact, wrapping) {
    return {
        root: styling_1.mergeStyles("listing-list", className, styles.root, compact && styles.compactRoot, wrapping && styles.wrappingRoot)
    };
});
exports.getClassNames = getClassNames;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingList.js":
/*!*****************************************************!*\
  !*** ../ozone/lib/listing/component/ListingList.js ***!
  \*****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var Sync_1 = __webpack_require__(/*! @twii/core-ui-fabric/lib/component/Sync */ "../core-ui-fabric/lib/component/Sync.js");
var ListingCard_1 = __webpack_require__(/*! ./ListingCard */ "../ozone/lib/listing/component/ListingCard.js");
var ListingList_styles_1 = __webpack_require__(/*! ./ListingList.styles */ "../ozone/lib/listing/component/ListingList.styles.js");
var ListingList_classNames_1 = __webpack_require__(/*! ./ListingList.classNames */ "../ozone/lib/listing/component/ListingList.classNames.js");
var defaultListingRenderer = function (listing, index, props) {
    return React.createElement(ListingCard_1.ListingCard, { key: listing.id, listing: listing, onClick: props.onSelectItem });
};
var ListingList = /** @class */ (function (_super) {
    __extends(ListingList, _super);
    function ListingList() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onRenderListing = function (listing, index) {
            var r = _this.props.onRenderListing || defaultListingRenderer;
            return r(listing, index, _this.props);
        };
        return _this;
    }
    ListingList.prototype.render = function () {
        if (this.props.listings && this.props.listings.length > 0) {
            var classNames = ListingList_classNames_1.getClassNames(ListingList_styles_1.getStyles(undefined, this.props.styles), this.props.className, this.props.compact, this.props.wrapping);
            var items = this.props.listings.map(this._onRenderListing);
            return (React.createElement("div", { className: classNames.root }, items));
        }
        return this.props.onRenderEmpty ? this.props.onRenderEmpty() : null;
    };
    return ListingList;
}(React.Component));
exports.ListingList = ListingList;
var ListingListContainer = /** @class */ (function (_super) {
    __extends(ListingListContainer, _super);
    function ListingListContainer() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onRenderDone = function () {
            return React.createElement(ListingList, { listings: _this.props.listings.itemsView, onSelectItem: _this.props.onSelectItem, compact: _this.props.compact, wrapping: _this.props.wrapping });
        };
        return _this;
    }
    ListingListContainer.prototype.componentWillMount = function () {
        this.props.listings.load();
    };
    ListingListContainer.prototype.render = function () {
        return React.createElement(Sync_1.Sync, { sync: this.props.listings.sync, onRenderDone: this._onRenderDone, syncLabel: "Loading Listings..." });
    };
    return ListingListContainer;
}(React.Component));
exports.ListingListContainer = ListingListContainer;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingList.styles.js":
/*!************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingList.styles.js ***!
  \************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getStyles = utilities_1.memoizeFunction(function (theme, customStyles) {
    if (!theme) {
        theme = styling_1.getTheme();
    }
    var DefaultStyles = {
        root: {},
        compactRoot: {
            display: "flex",
            alignItems: "center"
        },
        wrappingRoot: {
            flexWrap: "wrap"
        }
    };
    return styling_1.concatStyleSets(DefaultStyles, customStyles);
});
exports.getStyles = getStyles;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingMenuHelper.js":
/*!***********************************************************!*\
  !*** ../ozone/lib/listing/component/ListingMenuHelper.js ***!
  \***********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var UserAdminContext_1 = __webpack_require__(/*! ../../user/UserAdminContext */ "../ozone/lib/user/UserAdminContext.js");
var Spinner_1 = __webpack_require__(/*! office-ui-fabric-react/lib/Spinner */ "../../node_modules/office-ui-fabric-react/lib/Spinner.js");
var Image_1 = __webpack_require__(/*! office-ui-fabric-react/lib/Image */ "../../node_modules/office-ui-fabric-react/lib/Image.js");
var onClickPlaceItem = function (e, item) {
    item.host.load({ path: item.path });
};
var createPlaceItem = function (host, item) {
    var r = Object.assign({}, item);
    r.host = host;
    r.canCheck = true;
    r.checked = item.hostCheck ? item.hostCheck(host) : host.path === item.path;
    r.active = r.checked;
    r.className = r.active ? "active" : undefined;
    if (!r.onClick) {
        r.onClick = onClickPlaceItem;
    }
    return r;
};
exports.createPlaceItem = createPlaceItem;
var createPlaceItems = function (opts) {
    var r = [
        createPlaceItem(opts.host, {
            key: "bookmarks",
            name: "Bookmarks",
            path: "/ozone/bookmarks",
            iconProps: {
                iconName: "DoubleBookmark"
            }
        }),
        createPlaceItem(opts.host, {
            key: "store",
            name: "Store",
            path: "/ozone/store",
            iconProps: {
                iconName: "Shop"
            }
        })
    ];
    if (UserAdminContext_1.UserAdminContext.value(opts.userProfile)) {
        r.push(createPlaceItem(opts.host, {
            key: "allListings",
            name: "All Listings",
            path: "/ozone/listings",
            iconProps: {
                iconName: "ViewAll"
            }
        }));
    }
    return r;
};
exports.createPlaceItems = createPlaceItems;
var createPlaceMenu = function (opts) {
    var placeItems = opts.placeItems || createPlaceItems(opts);
    if (opts.host.sync.syncing) {
        return {
            key: "place",
            name: "Loading...",
            onRenderIcon: function () {
                return React.createElement(Spinner_1.Spinner, { size: Spinner_1.SpinnerSize.small });
            },
            subMenuProps: {
                items: placeItems
            }
        };
    }
    var checkedItem = placeItems.find(function (item) { return item.checked; });
    if (checkedItem) {
        return {
            key: "place",
            name: checkedItem.name,
            iconProps: checkedItem.iconProps,
            onRenderIcon: checkedItem.onRenderIcon,
            subMenuProps: {
                items: placeItems
            }
        };
    }
    return {
        key: "place",
        name: opts.host.title,
        subMenuProps: {
            items: placeItems
        }
    };
};
exports.createPlaceMenu = createPlaceMenu;
var defaultRenderTitle = function (listingSupplier) {
    return listingSupplier.value.title;
};
var createListingPlaceItem = function (opts) {
    var host = opts.host, listingSupplier = opts.listingSupplier;
    var onRenderTitle = opts.onRenderTitle || defaultRenderTitle;
    return createPlaceItem(host, {
        key: opts.key,
        name: listingSupplier.sync.syncing ? "Loading..." : onRenderTitle(listingSupplier),
        path: opts.path,
        onRenderIcon: function () {
            if (listingSupplier.sync.syncing) {
                return React.createElement(Spinner_1.Spinner, { size: Spinner_1.SpinnerSize.small });
            }
            return listingSupplier.value.small_icon ? React.createElement(Image_1.Image, { src: listingSupplier.value.small_icon.url }) : null;
        }
    });
};
exports.createListingPlaceItem = createListingPlaceItem;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingPreview.classNames.js":
/*!*******************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingPreview.classNames.js ***!
  \*******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getClassNames = utilities_1.memoizeFunction(function (styles, className) {
    return {
        root: styling_1.mergeStyles("listing-preview", className, styles.root),
        fallback: styling_1.mergeStyles("listing-preview-fallback", styles.fallback),
        fallbackIcon: styling_1.mergeStyles("listing-preview-fallback-icon", styles.fallbackIcon)
    };
});
exports.getClassNames = getClassNames;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingPreview.js":
/*!********************************************************!*\
  !*** ../ozone/lib/listing/component/ListingPreview.js ***!
  \********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var mobx_react_1 = __webpack_require__(/*! mobx-react */ "../../node_modules/mobx-react/index.module.js");
var ListingPreview_styles_1 = __webpack_require__(/*! ./ListingPreview.styles */ "../ozone/lib/listing/component/ListingPreview.styles.js");
var ListingPreview_classNames_1 = __webpack_require__(/*! ./ListingPreview.classNames */ "../ozone/lib/listing/component/ListingPreview.classNames.js");
var Image_1 = __webpack_require__(/*! office-ui-fabric-react/lib/Image */ "../../node_modules/office-ui-fabric-react/lib/Image.js");
var Icon_1 = __webpack_require__(/*! office-ui-fabric-react/lib/Icon */ "../../node_modules/office-ui-fabric-react/lib/Icon.js");
var ListingPreview = /** @class */ (function (_super) {
    __extends(ListingPreview, _super);
    function ListingPreview() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ListingPreview.prototype._renderFallback = function () {
        return React.createElement("div", { className: this._classNames.fallback },
            React.createElement(Icon_1.Icon, { className: this._classNames.fallbackIcon, iconName: "Puzzle" }));
    };
    ListingPreview.prototype.render = function () {
        this._classNames = ListingPreview_classNames_1.getClassNames(ListingPreview_styles_1.getStyles(undefined, this.props.styles), this.props.className);
        var fallback;
        var image;
        if (this.props.listing.banner_icon && this.props.listing.banner_icon.url) {
            image = React.createElement(Image_1.Image, { src: this.props.listing.banner_icon.url, alt: this.props.listing.title, width: 220, height: 137 });
        }
        else {
            image = this._renderFallback();
        }
        return (React.createElement("div", { className: this._classNames.root }, image));
    };
    ListingPreview = __decorate([
        mobx_react_1.observer
    ], ListingPreview);
    return ListingPreview;
}(React.Component));
exports.ListingPreview = ListingPreview;


/***/ }),

/***/ "../ozone/lib/listing/component/ListingPreview.styles.js":
/*!***************************************************************!*\
  !*** ../ozone/lib/listing/component/ListingPreview.styles.js ***!
  \***************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var styling_1 = __webpack_require__(/*! @uifabric/styling */ "../../node_modules/@uifabric/styling/lib/index.js");
var utilities_1 = __webpack_require__(/*! @uifabric/utilities */ "../../node_modules/@uifabric/utilities/lib/index.js");
var getStyles = utilities_1.memoizeFunction(function (theme, customStyles) {
    if (!theme) {
        theme = styling_1.getTheme();
    }
    var DefaultStyles = {
        root: {
            display: "flex",
            justifyContent: "center",
            alignItems: "center",
            width: 228,
            height: 145
        },
        fallback: {
            display: "flex",
            justifyContent: "center",
            alignItems: "center",
            width: 220,
            height: 137,
            backgroundColor: theme.palette.neutralLight,
            color: theme.palette.themePrimary
        },
        fallbackIcon: {
            fontSize: styling_1.FontSizes.xxLarge
        }
    };
    return styling_1.concatStyleSets(DefaultStyles, customStyles);
});
exports.getStyles = getStyles;


/***/ }),

/***/ "../ozone/lib/listing/model/ListingBookmarkListModel.js":
/*!**************************************************************!*\
  !*** ../ozone/lib/listing/model/ListingBookmarkListModel.js ***!
  \**************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var mobx_1 = __webpack_require__(/*! mobx */ "../../node_modules/mobx/lib/mobx.module.js");
var ListingServiceContext_1 = __webpack_require__(/*! ../service/ListingServiceContext */ "../ozone/lib/listing/service/ListingServiceContext.js");
var ListModel_1 = __webpack_require__(/*! @twii/core/lib/model/ListModel */ "../core/lib/model/ListModel.js");
var ListingBookmarkListModel = /** @class */ (function (_super) {
    __extends(ListingBookmarkListModel, _super);
    function ListingBookmarkListModel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._addDone = function (bookmark) {
            _this.items.push(bookmark);
            _this.sync.syncEnd();
        };
        _this._addError = function (error) {
            _this.sync.syncError(error);
        };
        _this._removeDone = function (bookmark) {
            var idx = _this._findMatchingIndex(bookmark);
            console.log();
            if (idx >= 0) {
                _this.items.splice(idx, 1);
            }
            _this.sync.syncEnd();
        };
        _this._removeError = function (error) {
            _this.sync.syncError(error);
        };
        return _this;
    }
    ListingBookmarkListModel.prototype._loadImpl = function () {
        return ListingServiceContext_1.ListingServiceContext.value.getBookmarkedListings();
    };
    ListingBookmarkListModel.prototype._findMatchingIndex = function (bookmark) {
        return this.value ? this.value.findIndex(function (item) {
            return item.id === bookmark.id || (item.listing && bookmark.listing ? item.listing.id === bookmark.listing.id : false);
        }) : -1;
    };
    ListingBookmarkListModel.prototype._findMatching = function (bookmark) {
        return this.value ? this.value.find(function (item) {
            return item.id === bookmark.id || (item.listing && bookmark.listing ? item.listing.id === bookmark.listing.id : false);
        }) : undefined;
    };
    ListingBookmarkListModel.prototype.addBookmark = function (bookmark) {
        if (bookmark) {
            var existing = this._findMatching(bookmark);
            if (!existing) {
                this.sync.syncStart({ type: "update" });
                return ListingServiceContext_1.ListingServiceContext.value.addBookmark(bookmark).then(this._addDone).catch(this._addError);
            }
            return Promise.resolve();
        }
        return Promise.reject({ code: "INVALID ARGUMENT", message: "No bookmark specified" });
    };
    ListingBookmarkListModel.prototype.removeBookmark = function (bookmark) {
        if (bookmark) {
            var existing = this._findMatching(bookmark);
            if (existing) {
                this.sync.syncStart({ type: "update" });
                return ListingServiceContext_1.ListingServiceContext.value.removeBookmark(existing).then(this._removeDone).catch(this._removeError);
            }
            return Promise.resolve();
        }
        return Promise.reject({ code: "INVALID ARGUMENT", message: "No bookmark specified" });
    };
    ListingBookmarkListModel.prototype.getBookmarkForListingId = function (listingId) {
        return this.items ? this.items.find(function (b) { return b.listing && b.listing.id === listingId; }) : undefined;
    };
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "_addDone", void 0);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "_addError", void 0);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "addBookmark", null);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "_removeDone", void 0);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "_removeError", void 0);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "removeBookmark", null);
    __decorate([
        mobx_1.action
    ], ListingBookmarkListModel.prototype, "getBookmarkForListingId", null);
    return ListingBookmarkListModel;
}(ListModel_1.ListModel));
exports.ListingBookmarkListModel = ListingBookmarkListModel;


/***/ }),

/***/ "../ozone/lib/listing/model/ListingBookmarkListStore.js":
/*!**************************************************************!*\
  !*** ../ozone/lib/listing/model/ListingBookmarkListStore.js ***!
  \**************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var ListingBookmarkListModel_1 = __webpack_require__(/*! ./ListingBookmarkListModel */ "../ozone/lib/listing/model/ListingBookmarkListModel.js");
var ListingBookmarkListStore = new ListingBookmarkListModel_1.ListingBookmarkListModel();
exports.ListingBookmarkListStore = ListingBookmarkListStore;


/***/ }),

/***/ "../ozone/lib/user/UserAdminContext.js":
/*!*********************************************!*\
  !*** ../ozone/lib/user/UserAdminContext.js ***!
  \*********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var Context_1 = __webpack_require__(/*! @twii/core/lib/Context */ "../core/lib/Context.js");
var StringUtils_1 = __webpack_require__(/*! @twii/core/lib/StringUtils */ "../core/lib/StringUtils.js");
var defaultAdminCheck = function (userProfile) {
    return userProfile.user && userProfile.user.groups && userProfile.user.groups.some(function (g) {
        return StringUtils_1.equalsIgnoreCase(g.name, "admin");
    });
};
var UserAdminContext = new Context_1.Context({
    value: defaultAdminCheck
});
exports.UserAdminContext = UserAdminContext;


/***/ })

}]);
//# sourceMappingURL=30.js.map